04-12-2024, 06:17 AM
#define ANALOG_A1 GPIO7
#define ANALOG_A2 GPIO6
#define ANALOG_A3 GPIO5
#define ANALOG_A4 GPIO4
IIC Bus:
SDA:GPIO11
SCL:GPIO10
XL9535:U57 (relay1-16): address:0x21
XL9535:U60 (relay17-32): address:0x22
XL9535:U58 (input1-16): address:0x24
XL9535:U61 (input17-32): address:0x25
PCF8574:U72(input33-40): address:0x23
GP8403 DAC i2c address: 0x58
SSD1306 display: address:0x3c
-----------------
1-wire:
GPIO1
GPIO2
-----------------
Ethernet (W5500) I/O define:
clk_pin: GPIO42
mosi_pin: GPIO44
miso_pin: GPIO40
cs_pin: GPIO39
interrupt_pin: GPIO41
reset_pin: GPIO43
--------------------
RS485:
RXD:GPIO8
TXD:GPIO9
4G module:
RXD:GPIO17
TXD:GPIO18
Tuya module:
RXD:GPIO16
TXD:GPIO15
--------------------
RF 433M receiver: GPIO38
#define ANALOG_A2 GPIO6
#define ANALOG_A3 GPIO5
#define ANALOG_A4 GPIO4
IIC Bus:
SDA:GPIO11
SCL:GPIO10
XL9535:U57 (relay1-16): address:0x21
XL9535:U60 (relay17-32): address:0x22
XL9535:U58 (input1-16): address:0x24
XL9535:U61 (input17-32): address:0x25
PCF8574:U72(input33-40): address:0x23
GP8403 DAC i2c address: 0x58
SSD1306 display: address:0x3c
-----------------
1-wire:
GPIO1
GPIO2
-----------------
Ethernet (W5500) I/O define:
clk_pin: GPIO42
mosi_pin: GPIO44
miso_pin: GPIO40
cs_pin: GPIO39
interrupt_pin: GPIO41
reset_pin: GPIO43
--------------------
RS485:
RXD:GPIO8
TXD:GPIO9
4G module:
RXD:GPIO17
TXD:GPIO18
Tuya module:
RXD:GPIO16
TXD:GPIO15
--------------------
RF 433M receiver: GPIO38