KC868-AK 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-AK (https://www.kincony.com/forum/forumdisplay.php?fid=37) +--- Thread: KC868-AK ESP32 I/O pin define (/showthread.php?tid=2401) |
KC868-AK ESP32 I/O pin define - admin - 11-20-2022 IIC Bus: SDA:GPIO4 SCL:GPIO5 PCF8574:U14 (DI1-8): 100 100 = 0x24 PCF8574:U31 (DI9-16): 100 101 = 0x25 PCF8574:U56 (DI17-24): 100 001 = 0x21 PCF8574:U57 (DI25-32): 100 010 = 0x22 PCF8574:U58 (DI33-40): 100 110 = 0x26 PCF8574:U32 (DI41-48): 100 011 = 0x23 free GPIO: GPIO35 GPIO39 GPIO34 GPIO36 ----------------- 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:GPIO16 TXD:GPIO14 RS232: RXD:GPIO33 TXD:GPIO32 |