09-27-2024, 02:13 AM
IIC Bus:
SDA:GPIO38
SCL:GPIO39
PCF8575:U57 (relay1-16): i2c address:0x25
PCF8575:U58 (input1-16): i2c address:0x24
DS3231 RTC i2c address: 0x68
SSD1306 display: i2c address:0x3c
ADS1115 (4CH ADC): i2c address:0x48
-----------------
1-wire (pull-up resistance on PCB):
1-wire1:GPIO40
1-wire2:GPIO15
1-wire3:GPIO48
1-wire4:GPIO47
free GPIOs (without pull-up resistance on PCB):
free gpio-1:GPIO13
free gpio-2:GPIO14
free gpio-3:GPIO21
-----------------
Ethernet (W5500) I/O define:
clk_pin: GPIO42
mosi_pin: GPIO43
miso_pin: GPIO44
cs_pin: GPIO41
interrupt_pin: GPIO2
reset_pin: GPIO1
--------------------
RS485:
RXD:GPIO8
TXD:GPIO18
Tuya module:
RXD:GPIO17
TXD:GPIO16
Tuya network button: Tuya module's P28
Tuya network LED: Tuya module's P16
--------------------
SD Card:
SPI-MOSI:GPIO10
SPI-SCK:GPIO11
SPI-MISO:GPIO12
SPI-CS:GPIO9
SDA:GPIO38
SCL:GPIO39
PCF8575:U57 (relay1-16): i2c address:0x25
PCF8575:U58 (input1-16): i2c address:0x24
DS3231 RTC i2c address: 0x68
SSD1306 display: i2c address:0x3c
ADS1115 (4CH ADC): i2c address:0x48
-----------------
1-wire (pull-up resistance on PCB):
1-wire1:GPIO40
1-wire2:GPIO15
1-wire3:GPIO48
1-wire4:GPIO47
free GPIOs (without pull-up resistance on PCB):
free gpio-1:GPIO13
free gpio-2:GPIO14
free gpio-3:GPIO21
-----------------
Ethernet (W5500) I/O define:
clk_pin: GPIO42
mosi_pin: GPIO43
miso_pin: GPIO44
cs_pin: GPIO41
interrupt_pin: GPIO2
reset_pin: GPIO1
--------------------
RS485:
RXD:GPIO8
TXD:GPIO18
Tuya module:
RXD:GPIO17
TXD:GPIO16
Tuya network button: Tuya module's P28
Tuya network LED: Tuya module's P16
--------------------
SD Card:
SPI-MOSI:GPIO10
SPI-SCK:GPIO11
SPI-MISO:GPIO12
SPI-CS:GPIO9