OpenSprinkler ESP32 port on KC868-A8 ? - Printable Version +- Smart Home Automation Forum (https://www.kincony.com/forum) +-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=20) +--- Forum: KC868-A8 (https://www.kincony.com/forum/forumdisplay.php?fid=23) +--- Thread: OpenSprinkler ESP32 port on KC868-A8 ? (/showthread.php?tid=1101) |
OpenSprinkler ESP32 port on KC868-A8 ? - mr.sneezy - 11-11-2021 Is this a possibility to use the open source OpenSprinkler ported firmware ? https://opensprinkler.com/forums/topic/esp32-port-of-2-1-9-firmware/ https://github.com/arijav/AriloSprinkler-Firmware/tree/branch_dev_esp32 If there is no technical barrier, then I guess the I/O of this board needs to be matched on the OpenSprinkler build I/O ? Thanks. RE: OpenSprinkler ESP32 port on KC868-A8 ? - admin - 11-11-2021 we have not used "OpenSprinkler". here is A8 GPIO define: #define ANALOG_A1 32 #define ANALOG_A2 33 IIC SDA:4 IIC SCL:5 Relay_IIC_address 0x24 Relay1 = pcf8574.pinMode(P0, OUTPUT); Relay2 = pcf8574.pinMode(P1, OUTPUT); Relay3 = pcf8574.pinMode(P2, OUTPUT); Relay4 = pcf8574.pinMode(P3, OUTPUT); Relay5 = pcf8574.pinMode(P4, OUTPUT); Relay6 = pcf8574.pinMode(P5, OUTPUT); Relay7 = pcf8574.pinMode(P6, OUTPUT); Relay8 = pcf8574.pinMode(P7, OUTPUT); Input_IIC_address 0x22 Input1 = pcf8574.pinMode(P0, INPUT); Input2 = pcf8574.pinMode(P1, INPUT); Input3 = pcf8574.pinMode(P2, INPUT); Input4 = pcf8574.pinMode(P3, INPUT); Input5 = pcf8574.pinMode(P4, INPUT); Input6 = pcf8574.pinMode(P5, INPUT); Input7 = pcf8574.pinMode(P6, INPUT); Input8 = pcf8574.pinMode(P7, INPUT); DS18B20/DHT11/21-1: 14 DS18B20/DHT11/21-2: 13 const int DI9 = 36 const int DI10 =39 RF433MHz wireless receiver: 15 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 if "OpenSprinkler" can define input and output GPIO, I think will be no problem. |