Smart Home Automation Forum
How to connect DS18B20 in KC868-A64? - 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-A64 (https://www.kincony.com/forum/forumdisplay.php?fid=28)
+--- Thread: How to connect DS18B20 in KC868-A64? (/showthread.php?tid=2456)



How to connect DS18B20 in KC868-A64? - maro1977pl - 12-15-2022

Hi, how to read temperature from DS18B20 in KC868-A64 using ESPHome?
Please show an example with a pin?



# Example configuration entry
dallas:
  - pin: ???????????????????????????????

# Individual sensors
sensor:
  - platform: dallas
    address: 0x1C0000031EDD2A28
    name: "Living Room Temperature"


RE: How to connect DS18B20 in KC868-A64? - admin - 12-15-2022

KC868-A64 have 4 channel analog input port.
DS18B20 is 1-wire sensor, if you must want to use DS18B20, you can use extend "Serial port" on the PCB, just one pin for DATA, find Vcc 5v or 3.3v from PCB and GND. DS18B20 need three wires. then the DATA pin connect one pull up resistance.
the extend serial port use GPIO32 and GPIO33


RE: How to connect DS18B20 in KC868-A64? - Marcinek40 - 08-14-2024

(12-15-2022, 11:12 PM)admin Wrote: KC868-A64 have 4 channel analog input port.
DS18B20 is 1-wire sensor, if you must want to use DS18B20, you can use extend "Serial port" on the PCB, just one pin for DATA, find Vcc 5v or 3.3v from PCB and GND. DS18B20 need three wires. then the DATA pin connect one pull up resistance.
the extend serial port use GPIO32 and GPIO33

Hello, I have a problem with the ds18b20 connection and configuring esphome, please help


RE: How to connect DS18B20 in KC868-A64? - admin - 08-14-2024

chose a board's free 1-wire GPIO, connect to DS18B20.
then config by esphome as this guide: https://esphome.io/components/sensor/dallas_temp.html