ESP32 Machine board via WiFi

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

It works with these boards:

ESP32_relay_board.ino (35.8 KB)

This ESP32 board code can handle 16 relays in total.

JB

4 Likes

look at this without chat GPT

Nice job from @Daniel

1 Like

Nice setup.

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.

In arduino IDE did you select the correct component “ESP32 Dev Module”

1 Like

Thanks, yes I found the right one in the dev boards.
I didn’t have them in the ide to start with.

1 Like

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.

it should show up as machine board (ip 192.168.4.1)
, password is 12345678, there you can edit the wifi it’s supposed to connect to.

i never tried a wifi with a password, all wifis i was connecting to had no password, maybe that might help

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.