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



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

#define ANALOG_A1  GPIO34
#define ANALOG_A2  GPIO35
#define ANALOG_A3  GPIO39
#define ANALOG_A4  GPIO36

SDA:GPIO4
SCL:GPIO5

PCF8574:U6 (output1-8): 100 011 = 0x23
PCF8574:U12 (output9-16): 100 100 = 0x24
PCF8574:U50 (output17-24): 100 101 = 0x25
PCF8574:U51 (output25-32): 100 110 = 0x26


-----------------

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

GSM:
RXD:GPIO33
TXD:GPIO32

433MHz RF receiver: GPIO14
IR receiver: GPIO16