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



KC868-M16 ESP32 I/O pin define - admin - 04-26-2023

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

IIC BUS:
SDA:4
SCL:5

SD card:
MISO: 2
MOSI: 15
SCK: 14


analog input1 (CH1) 36
analog input1 (CH2) 34
analog input1 (CH3) 39

74HC4067:
S0:32
S1:33
S2:13
S3:16

GPIO35 use for 74HC4067 extend 16 channel analog input