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



KinCony E16P ESP32 I/O pin define - admin - 08-16-2023

ANALOG_A1  GPIO36
ANALOG_A2  GPIO35
ANALOG_A3  GPIO34
ANALOG_A4  GPIO39

IIC SDA:GPIO16
IIC SCL:GPIO15

PCF8574:U27 (relay1-8): 100 001 = 0x21
PCF8574:U28 (relay9-16): 100 101 = 0x25

PCF8574:U23 (DI1-8): 100 010 = 0x22
PCF8574:U24 (DI9-16): 100 100 = 0x24

RF433MHz wireless receiver: GPIO4

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:GPIO13
TXD:GPIO32

Extend serial port (3.3v TTL level):
RXD:GPIO14
TXD:GPIO33