Smart Home Automation Forum
M1 board connect with multi DS18B20 temperature sensors by one GPIO - Printable Version

+- Smart Home Automation Forum (https://www.kincony.com/forum)
+-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=20)
+--- Forum: KC868-M16 / M1 / MB / M30 (https://www.kincony.com/forum/forumdisplay.php?fid=50)
+--- Thread: M1 board connect with multi DS18B20 temperature sensors by one GPIO (/showthread.php?tid=5886)



M1 board connect with multi DS18B20 temperature sensors by one GPIO - admin - 06-14-2024

the photo have connect with "SDA" pin on M1 board, actually you can also use "SCL" pin, these two i2c pins both have pull-up resistance on PCB.
then you can config it by ESPHome, after download firmware will found all scaned DS18B20, remember the sensor's address replace in yaml file.
   
   
   
   
ESPHome yaml file download:

.txt   M1-home-assistant-ds18b20-use_SDA_pin.txt (Size: 1.09 KB / Downloads: 80)