If anyone is interested, i build this code with Chat GPT’s help.
if no WiFi is entered it will show up as “MachineSetup” in your WiFi list. Password is 12345678. IP: 192.168.4.1, there are a few config pages that should be self explanatory, i hope. Feel free to use it. worked well during testing. Once it connects to your AOG WiFi the config page is available at 192.168.5.123
I needed 16 relays for my application and be able to invert the relays individually for my case.
My machine has section switches, so that wasn’t a requirement for this project either.
Next problem I can’t seem to get the board to connect to any Wi-Fi.
I’ve loaded the ino and can connect my phone to “machine module” over Wi-Fi but when I enter Wi-Fi details for the board to use it tries to restart but gets stuck.
The only way to recover it is reload the ino and start again.