11-28-2024, 11:39 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 (relay9-24) i2c address:0x25
PCF8575:U23 (DI1-16) i2c address:0x24
PCF8575:U49 i2c address: 0x26
PCF8575(pin number0-7)I17-24
PCF8575(pin number8-11):relay5-8
PCF8575(pin number12-15):relay1-4
if config by ESPHome:
relay1: pcf8575(U49) number:12
relay2: pcf8575(U49) number:13
relay3: pcf8575(U49) number:14
relay4: pcf8575(U49) number:15
relay5: pcf8575(U49) number:8
relay6: pcf8575(U49) number:9
relay7: pcf8575(U49) number:10
relay8: pcf8575(U49) number:11
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 (relay9-24) i2c address:0x25
PCF8575:U23 (DI1-16) i2c address:0x24
PCF8575:U49 i2c address: 0x26
PCF8575(pin number0-7)I17-24
PCF8575(pin number8-11):relay5-8
PCF8575(pin number12-15):relay1-4
if config by ESPHome:
relay1: pcf8575(U49) number:12
relay2: pcf8575(U49) number:13
relay3: pcf8575(U49) number:14
relay4: pcf8575(U49) number:15
relay5: pcf8575(U49) number:8
relay6: pcf8575(U49) number:9
relay7: pcf8575(U49) number:10
relay8: pcf8575(U49) number:11
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