Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to connect DS18B20 in KC868-A64?
#1
Bug 
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"
Reply
#2
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
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)