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



KC868-A8M ESP32 I/O pin define - admin - 04-14-2023

#define ANALOG_A1  34
#define ANALOG_A2  35
#define ANALOG_A3  36
#define ANALOG_A4  39

IIC SDA:5
IIC SCL:4

Relay_IIC_address 0x24

Input_IIC_address 0x22

DS18B20/DHT11/DHT21/LED strip -2: 14

RF433MHz wireless receiver: 16


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


GSM/RS485:
RXD:GPIO15
TXD:GPIO13

CAN bus:
TXD:GPIO32
RXD:GPIO33