The hardware used for this project is:
- An arduino – i bought a freeduino (
http://www.nuelectronics.com/estore/index.php?main_page=product_info&cPath=1&products_id=1)
- LCD screen – i used this one (
http://www.nuelectronics.com/estore/index.php?main_page=product_info&cPath=1&products_id=12)
- A number of 1wire sensors - i bought 5 of these (
http://www.nuelectronics.com/estore/index.php?main_page=product_info&cPath=4&products_id=5)
- A resistor around the 4.5-5kOhm range ( i had a couple of 10k that i put in parallel)
I also used a breadboard and some jumper wires with pins to get it set up, but you shouldn’t need to.
Software needed
- The arduino development environment (
http://arduino.cc/en/Main/Software)
- This 3310 LCD library (
http://blog.thiseldo.co.uk/wp-filez/nokia_3310_lcd.zip)
- This dallas 1wire library (
http://download.milesburton.com/Arduino/MaximTemperature/DallasTemperature_350.zip)
- This code example (
http://goldengolf.pwp.blueyonder.co.uk/Temp.rar) - i’ve modified and stripped down the original example code to just show the result from 5 x 1wire (D18B20) sensors
- Install the development environment and extract the libraries to the arduino\libraries folder.
- Extract the code example to the arduino\examples
- Hook the sensors up using post 2 of this thread (
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1233882140)
- Plug the lcd shield onto the arduino
I currently have the sensor wires wedged into the same holes on the arduino headers as the lcd screen but i’m using pins that aren’t used by the screen.
This isn’t my long term solution, i’ll probably snip the unused lcd pins off and use some right-angled header pins to connect my sensors
Open the development environment and import the new libraries, open the code example and upload it to the arduino.
It should reset and run automatically
I’ll try and answer any questions i can!