DS18B20 added

This commit is contained in:
andreask 2020-06-27 13:47:41 +02:00
parent 59aefd4928
commit 52858f8d18

View file

@ -31,6 +31,10 @@
If you want to use DS18B20 sensors, the Onewire Library requires a clock frequency of 8MHz. If you want to use DS18B20 sensors, the Onewire Library requires a clock frequency of 8MHz.
The value in platformio.ini must be adjusted accordingly The value in platformio.ini must be adjusted accordingly
DS18B20 minimum operating voltage is 3V.
CR2032 may not be sufficient to operate the sensor.
Use a 3.6 V power supply if necessary
#define DS18B20_PIN PIN_A0 - DS18B20 Temperature sensor(s) connected on D10/ATtiny pin13 #define DS18B20_PIN PIN_A0 - DS18B20 Temperature sensor(s) connected on D10/ATtiny pin13
Currently 2 sensors are implemented, for more sensors either copy the lines or improve the code Currently 2 sensors are implemented, for more sensors either copy the lines or improve the code