Saturday, June 11, 2011

Silly weather station

In a fairly Rube Goldberg way, I created a "simple" temperature/humidity tracker.

The temperature is measured via a thermistor.  Of course thermistors are not linear devices so I used the B parameter equation to convert it to a usable number.

Naturally, I can't directly connect this to my computer, I need something to read it.  Enter the arduino.  I just hook the thermistor in a voltage divider configuration up to one of the analog pins of the arduino, plugin in the specifications of the thermistor and the value of the voltage dividing resistor into the equation and I have the temperature.

To actually see the data, I need to get it onto a computer.  Now I don't want to leave my computer on 24/7, it'd cost me about $250 a year to monitor it (a calculation for another time).  So instead I attached it to a guruplug.

The weather is outside and the guruplug is inside.  Naturally this calls for some wireless.  I'm using the Xbee.  Currently I'm using the series 1 (because it is easy).  Most likely I'll switch to series 2 when I have more than one arduino to measure.

Now, I have the data.  I run it it through rrdtool to get some pretty graphs and all is good.

I attach the guruplug up to the internet using an ipv6 tunnel.  And now you can see it via an ipv4 to ipv6 gateway from sixxs.net

So without further ado.  What's the weather like in sunnyvale?