Temperature reader for the DS18B20
- Read from multiple DS18B20 on a single line (OneWire)
- Scan for devices dynamically
- Read temperature
- Read id
The example uses a DS18B20 powered by 5v and 4,7K pullup resistor between Vcc and the data pin. The data pin is connected to pin 2 on the Arduino.