Smart Home Automation Forum
KC868-AM ESP32 I/O pin define - 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-AM (https://www.kincony.com/forum/forumdisplay.php?fid=45)
+--- Thread: KC868-AM ESP32 I/O pin define (/showthread.php?tid=2693)



KC868-AM ESP32 I/O pin define - admin - 03-16-2023

Relay1:15

1-wire GPIO for DS18B20/DHT11/DHT21/LED strip -1: 5
1-wire GPIO for DS18B20/DHT11/DHT21/LED strip -2: 14
1-wire GPIO for DS18B20/DHT11/DHT21/LED strip -3: 13
1-wire GPIO for DS18B20/DHT11/DHT21/LED strip -4: 33

Ethernet (LAN8720) I/O define:

#define ETH_ADDR        0
#define ETH_POWER_PIN  -1
#define ETH_MDC_PIN    23
#define ETH_MDIO_PIN  18
#define ETH_TYPE      ETH_PHY_LAN8720
#define ETH_CLK_MODE  ETH_CLOCK_GPIO17_OUT

RS485:
RXD:35
TXD:32

IIC BUS:
SDA:4
SCL:16

free GPIOs on PCB hole:
I36
I37
I38
I39
I34