Smart Home Automation Forum
KinCony MB ESP32 Battery Monitor PCB 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: KinCony MB ESP32 Battery Monitor PCB I/O pin define (/showthread.php?tid=3974)



KinCony MB ESP32 Battery Monitor PCB I/O pin define - admin - 12-21-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-a: (U7-U14, SSD1306 display)
SDA-1:15
SCL-1:4

i2c address of chips:
U7:0x40
U8:0x41
U9:0x42
U10:0x43
U11:0x44
U12:0x45
U13:0x46
U14:0x47
SSD1306: 0x3c

----------------------------------
IIC BUS-b: (U15-U22)
SDA-1:5
SCL-1:16

i2c address of chips:
U15:0x40
U16:0x41
U17:0x42
U18:0x43
U19:0x44
U20:0x45
U21:0x46
U22:0x47

----------------------------------
RS485:
RXD: 32
TXD: 33

4G:
RXD:14
TXD:13