11-04-2022, 09:00 PM
How can I reference the GPIO and analog pins in ESPHome? Can you provide some example? Thanks.
ESPHome GPIO
|
11-04-2022, 09:00 PM
How can I reference the GPIO and analog pins in ESPHome? Can you provide some example? Thanks.
11-05-2022, 01:05 AM
sure, all our boards support ESPHome. Here is demo config:
# Example configuration entry sensor: - platform: adc pin: 36 name: "analog-1" update_interval: 10s attenuation: 11db - platform: adc pin: 34 name: "analog-2" update_interval: 10s attenuation: 11db - platform: adc pin: 35 name: "analog-3" update_interval: 10s attenuation: 11db - platform: adc pin: 39 name: "analog-4" update_interval: 10s attenuation: 11db
11-05-2022, 02:32 AM
Thank you admin! The board also has 3 GPIO pins, what number are they? Can I use any of them for PWM output?
11-05-2022, 11:53 AM
here is all GPIO define: https://www.kincony.com/forum/showthread.php?tid=1666
sorry, PWM already have used by Ethernet pins.
10-04-2024, 09:31 PM
(This post was last modified: 10-04-2024, 09:41 PM by Andrew Adventure.)
Hi,
Is it possible to integrate Gpio's (HT1, HT2, HT3) in esphome? I'm using kc868-a16 and would like to integrate ds18b20. Thanks in advance
10-05-2024, 12:00 AM
sure, it's ok.
10-05-2024, 04:33 PM
(10-05-2024, 12:00 AM)admin Wrote: sure, it's ok. Hi, could you support me with setup? My curent ymal in esp : Code: - platform: adc Is that ok? Thanks in advance....
10-06-2024, 12:48 AM
no, GPIO pins use for 1-wire sensor, such as DS18B20,DHT11,DHT22 sensor.
A1,A2,A3,A4 is analog input port, use for ADC. |
« Next Oldest | Next Newest »
|
Users browsing this thread: |
1 Guest(s) |