Don’t worry Tom, I’m gonna learn Ruby On Rails during the summer!

This video is processing – it'll appear automatically when it's done.

You betcha I had my Rap Genius shirt on during the presentation!

This video is processing – it'll appear automatically when it's done.

I used a 100 seconds delay just to show a bit of interaction in the demo, the final value is 600 seconds which is 10 minutes.

This video is processing – it'll appear automatically when it's done.

http://www.amazon.com/30-Arduino-Projects-Evil-Genius/dp/007174133X

They show you how to build a lie detector with an Arduino board… C'mon son!

This video is processing – it'll appear automatically when it's done.

You can cop it on Amazon for a fistful of dollars.

http://www.amazon.com/Getting-Started-Arduino-Massimo-Banzi/dp/1449309879

This video is processing – it'll appear automatically when it's done.

“Scientists love lasers!”

And LDCs.

http://instagram.com/p/n0xuCgIA4Z/

This video is processing – it'll appear automatically when it's done.

I also had to convert the temperature from K to C and make an average of the max and the min. It only took 4 lines of code:

read = urlopen('http://api.openweathermap.org/data/2.5/weather?id=4219762')
weather = load(read)
temp = int((weather['main']['temp_max'] + meteo['main']['temp_min'])/2 -- 273.15) 
humidity = weather['main']['humidity']

This video is processing – it'll appear automatically when it's done.

Remember to convert the data to an integer, or it’ll stay as a string and won’t work properly.

if int(data[0:2]) in range(21,26):

This video is processing – it'll appear automatically when it's done.

The bummer here is that you can’t run a script with PySerial while the Arduino serial monitor is open. This means that when you debug the code you need to add a print statement in Python to see if the data you’re getting is in the right format.

This video is processing – it'll appear automatically when it's done.

I decided to record the temperature as an integer rather than a float simply because the decimals don’t have a huge impact on our perception of the weather so it was easier to keep them out.

This video is processing – it'll appear automatically when it's done.