03-01-2023, 04:52 AM
#define ANALOG_A1 36
#define ANALOG_A2 39
#define ANALOG_A3 34
#define ANALOG_A4 35
IIC SDA:4
IIC SCL:16
Relay_IIC_address 0x24
P0--P3: for relay1-relay4
P4--P7: for DI9--DI12
Input_IIC_address 0x22 for DI1-DI8
PCA9685 IIC address: 0x00
DS18B20/DHT11/DHT21/LED strip -1: 5
DS18B20/DHT11/DHT21/LED strip -2: 14
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
RS485:
RXD:GPIO33
TXD:GPIO32
GSM:
RXD:GPIO13
TXD:GPIO15
#define ANALOG_A2 39
#define ANALOG_A3 34
#define ANALOG_A4 35
IIC SDA:4
IIC SCL:16
Relay_IIC_address 0x24
P0--P3: for relay1-relay4
P4--P7: for DI9--DI12
Input_IIC_address 0x22 for DI1-DI8
PCA9685 IIC address: 0x00
DS18B20/DHT11/DHT21/LED strip -1: 5
DS18B20/DHT11/DHT21/LED strip -2: 14
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
RS485:
RXD:GPIO33
TXD:GPIO32
GSM:
RXD:GPIO13
TXD:GPIO15