Smart Home Automation Forum
KC868-M16v2 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-M16v2 ESP32 I/O pin define (/showthread.php?tid=3087)



KC868-M16v2 ESP32 I/O pin define - admin - 07-18-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

AC voltage-detect-1: 34
AC voltage-detect-2: 39
AC voltage-detect-3: 36

analog input1 (for 74HC4067) 35
GPIO35 use for 74HC4067 extend 16 channel analog input

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

SHT30 temperature sensor i2c address: 0x44

SSD1306 i2c address: 0x3C