In this tutorial I'm showing how to use a DS18b20 one wire temperature sensor to display the temperature on an i2c lcd 16X02 display.
From where to buy this sensor:
http://s.click.aliexpress.com/e/3VjAUJA
The sensor works on a 3.0V ~ 5.5V power supply.
Temperature range -55 ° ~ +125 °
single- bus interface
colors of the wire:
Red (VCC), yellow (DATA), black (GND)
The source code is at the end.
links for the arduino libs used:
i2c lcd lib:
https://bitbucket.org/fmalpartida/new...
updated one wire lib:
http://www.pjrc.com/teensy/arduino_li...
the sensor lib:
http://download.milesburton.com/Ardui...
source code:
http://pastebin.com/raw.php?i=zjBFUGEG
feel free to like and share this video
if you like this video please subscribe:
/ @marcoarduinochannel