New Sketch for Uno_Weather Shield for LaCrosse WS3600.

315MHz and 433MHz wireless connections are very commonly used by consumer electronics including weather stations, home automation remote controls, power consumption meters, car alarms, and also many DIY projects.
Post Reply
rachalmers
Posts: 15
Joined: Thu Jul 24, 2014 3:01 pm
Location: Suffolk, England
Contact:

New Sketch for Uno_Weather Shield for LaCrosse WS3600.

Post by rachalmers » Thu Aug 14, 2014 2:11 pm

Working as at 14th August 2014

I put the the at the top - because there is so much old code about the place that simply doesn't work any more.
This does. Thanks to Simon Ratcliffe this works extremely well.
A Freetronics Uno + ASK Weather Receiver, and this code. If you also add a Adafruit BMP180 Breakout to it, you get the Pressure and Indoor temperature as well. Plus a few other things that are on the BMP board. The Freetronics Uno uses 5v. The Sparkfun uses 3.3 volts. Don't mix them up. Not sure about the Arduino Uno it self.

Anyway - the code for the sketch. Simply load it in, and it should go. is here, as is both a GCC compilable c program to read the data through your USB/Serial port and save it to a file, as well as print it to the screen. There is also an XCode Project that uses the same code. Only does it on the Mac inside XCode. I'm working on doing a full on Weather Display in a bit.

Output looks like this

Code: Select all

80,31,31,21.2,54,1018,SSW,51.0,WNW,0.7
80,27,27,21.4,56,-,W  ,3.0,W  ,2.3
80,27,27,21.5,55,-,W  ,2.9,SSW,1.0
80,27,27,21.6,55,-,WSW,3.3,SSW,1.1
80,27,27,21.6,55,-,SSW,4.3,S  ,1.5
80,31,31,21.6,56,1018,SSW,51.0,WSW,0.5
80,27,27,21.6,56,-,SSW,51.0,NNW,1.3
80,27,27,21.3,57,-,SSW,51.0,NNE,1.4
80,27,27,21.3,59,-,SSW,51.0,W  ,0.0
80,27,27,21.1,59,-,SSW,51.0,SW ,1.0
80,31,31,20.5,60,1018,SSW,51.0,SW ,1.0
All three file sets are downloadable from my blog here. DOWNLOAD FILES HERE

They aren't big, but it's all in one place here. On the Home Page, is the code for the weather.c, the data logger for the pc/mac as well. But it's all in the zip files, along with a compiler line called ss.sh

Code: Select all

robert$ cat ss.sh
gcc -o weather -Wall -g weather.c


Post Reply