Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Connect DS18b20 temperature sensor to KC868-AIO
#1
I am trying to connect  DS18b20 temperature sensor to KC868-AIO and get sensor ID from ESPHome logs

My configuration:

one_wire:
  - pin: GPIO01
    platform: gpio



This is what I am getting:

[10:58:55][C][gpio.one_wire:020]: GPIO 1-wire bus:
[10:58:55][C][gpio.one_wire:021]:  Pin: GPIO1
[10:58:55][W][gpio.one_wire:078]:  Found no devices!




   
Reply
#2
you can see esp32 pin define for KC868-AIO: https://www.kincony.com/forum/showthread.php?tid=2735
the 1-wire sensor gpio are:
DS18B20/DHT11/DHT21/LED strip -(TP1): GPIO14
DS18B20/DHT11/DHT21/LED strip -(TP2): GPIO5

so you use gpio14 or gpio5, NOT "gpio1"
Reply
#3
Thanks. It works now with GPIO14.
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)