Nanode: Round 1 – Webserver and temperature sensor

September 26, 2011 by
 

First project with the nanode was getting a sensor to display the current temperature, then display it on a self refreshing webpage. Pretty simple, since I have already done this before. Just a few minor differences in how the libraries work. Currently it is pulling the temperature data from a ModernDevice temp sensor, and displaying on this website, which refreshes every second. See it in action here.

My Code:

Nanode_Server [.ZIP FILE!]
Contains: (my simple Arduino Sketch, Libraries for the Nanode compatable ethernet shield and the Lib Temp Sensor )

Code examples:
https://github.com/Nanode/Webserver-Live-Thermistor-Reading/blob/master/Webserver_Live_Thermistor_Reading.pde
http://www.liquidware.com/apps/show/77

Programming help:
http://arduino.cc/en/Reference/Array
http://dereenigne.org/electronics/arduino/arduino-float-to-string

hardware:
http://shop.moderndevice.com/products/tmp421-temperature-sensor   (As seen in my prior post)
http://www.jarenhavell.com/blog/nanodefirstimpressions/

Comments