For positive temperature values one can have 1 decimal place step size i. e. 0.1°C (however only 0.5°C measurement accuracy is guaranteed)
For negative temperature values the step size is 0.5°C
The return value of the ds1820_read_temp(uint8_t DS1820_pin) is float. This is not the most efficient way on a 8bit MCU but I think this is an easy way to get started.
Only one sensor per ATMEGA Pin can be used
For short wire length (less than one meter) from DS18x20 to ATMEGA MCU the internal pullup resistors work. For longer wires you need an external 4.7k pullup resistor
Submitted By:
Stefan Sicklinger (ssicklinger)
Submitted On:
04 Sep 2010
File Size:
69.59 Kb
Downloads:
2000
File Version:
0.97
File Date:
04 Sep 2010
Rating:
Total Votes:0
Be the first to comment! Please sign in or register.