10-01-2024, 04:36 AM
ANALOG_A1(0-5v) GPIO5
ANALOG_A2(0-5v) GPIO7
ANALOG_A3(4-20mA) GPIO6
ANALOG_A4(4-20mA) GPIO4
IIC SDA:GPIO8
IIC SCL:GPIO18
PCF8575:U27 (relay1-16) i2c address:0x25
PCF8575:U23 (DI1-16) i2c address:0x24
RF433MHz wireless receiver: GPIO40
------------------------
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:GPIO17
TXD:GPIO16
--------------------
Tuya module:
RXD:GPIO38
TXD:GPIO39
Tuya network button: Tuya module's P28
Tuya network LED: Tuya module's P16
---------------------
1-wire (pull-up resistance on PCB):
1-wire1:GPIO48
1-wire2:GPIO47
1-wire3:GPIO21
1-wire4:GPIO15
1-wire (without resistance on PCB):
1-wire1:GPIO13
1-wire2:GPIO14
------------------------
SD Card:
SPI-MOSI:GPIO10
SPI-SCK:GPIO11
SPI-MISO:GPIO12
SPI-CS:GPIO9
------------------------
24C02 EPROM i2c address: 0x50
DS3231 RTC i2c address: 0x68
SSD1306 display: i2c address:0x3c
ANALOG_A2(0-5v) GPIO7
ANALOG_A3(4-20mA) GPIO6
ANALOG_A4(4-20mA) GPIO4
IIC SDA:GPIO8
IIC SCL:GPIO18
PCF8575:U27 (relay1-16) i2c address:0x25
PCF8575:U23 (DI1-16) i2c address:0x24
RF433MHz wireless receiver: GPIO40
------------------------
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:GPIO17
TXD:GPIO16
--------------------
Tuya module:
RXD:GPIO38
TXD:GPIO39
Tuya network button: Tuya module's P28
Tuya network LED: Tuya module's P16
---------------------
1-wire (pull-up resistance on PCB):
1-wire1:GPIO48
1-wire2:GPIO47
1-wire3:GPIO21
1-wire4:GPIO15
1-wire (without resistance on PCB):
1-wire1:GPIO13
1-wire2:GPIO14
------------------------
SD Card:
SPI-MOSI:GPIO10
SPI-SCK:GPIO11
SPI-MISO:GPIO12
SPI-CS:GPIO9
------------------------
24C02 EPROM i2c address: 0x50
DS3231 RTC i2c address: 0x68
SSD1306 display: i2c address:0x3c