Comments on: ESP32 Relay Module – Control AC Appliances (Web Server) https://randomnerdtutorials.com/esp32-relay-module-ac-web-server/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Thu, 24 Apr 2025 17:34:05 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Sara Santos https://randomnerdtutorials.com/esp32-relay-module-ac-web-server/#comment-1030440 Thu, 24 Apr 2025 17:34:05 +0000 https://randomnerdtutorials.com/?p=91127#comment-1030440 In reply to Robert Warren.

Hi.
Did you install the required libraries? Did you install the correct versions?

Which versions do you have installed?

Regards,
Sara

]]>
By: Robert Warren https://randomnerdtutorials.com/esp32-relay-module-ac-web-server/#comment-1030403 Thu, 24 Apr 2025 14:58:46 +0000 https://randomnerdtutorials.com/?p=91127#comment-1030403 I get this error when verifying sketch
C:\Users\Administrator\AppData\Local\Temp.arduinoIDE-unsaved2025324-11608-tqtnhf.mwki\sketch_apr24a\sketch_apr24a.ino:121:18: error: no matching function for call to ‘AsyncWebServerRequest::send(int, const char [10], const char [1276], String (&)(const String&))’
121 | request->send(200, “text/html”, index_html, processor);

]]>
By: Renato https://randomnerdtutorials.com/esp32-relay-module-ac-web-server/#comment-1000762 Fri, 17 Jan 2025 22:29:40 +0000 https://randomnerdtutorials.com/?p=91127#comment-1000762 Corrigindo,onde se lê NC leia-se NO

]]>
By: Renato https://randomnerdtutorials.com/esp32-relay-module-ac-web-server/#comment-1000761 Fri, 17 Jan 2025 22:21:00 +0000 https://randomnerdtutorials.com/?p=91127#comment-1000761 Boa noite. Por favor, preciso de um esclarecimento. Preciso desenvolver no arduino um sketch que, faltando energia AC na fase 1 ligue o Relé da Fase 2 para a fase 1. Mas quando faltar energia na fase 2, o mesmo Relé faça a ligação da fase 1 pra fase 2. Pergunto: se eu ligar a fase 1 no NC e a fase 2 no COM funciona, ou queima o Relé ?

]]>
By: Ahmed Samy https://randomnerdtutorials.com/esp32-relay-module-ac-web-server/#comment-982265 Mon, 11 Nov 2024 17:23:58 +0000 https://randomnerdtutorials.com/?p=91127#comment-982265 I have problem when using GPIO 25 with Wi-Fi the relay stays toggling so fast

]]>
By: Roman https://randomnerdtutorials.com/esp32-relay-module-ac-web-server/#comment-979504 Fri, 01 Nov 2024 21:57:46 +0000 https://randomnerdtutorials.com/?p=91127#comment-979504 Hello all!

I’ve created a very customisable easy-2-use firmware for ESP32-based relay boards. It has WEB interface, supports MQTT and Home Assistant integration.
You can either use all-in-one relay board (means that MCU and relays are on the same board) or you can connect relays to any board chosen (e.g., ESP32-DevKit).

Check it out here: github.com/rpavlyuk/ESPRelayBoard

]]>
By: Matt https://randomnerdtutorials.com/esp32-relay-module-ac-web-server/#comment-915528 Wed, 15 May 2024 10:51:22 +0000 https://randomnerdtutorials.com/?p=91127#comment-915528 Hi Sara, first thank you so much for the tutorial.

I’ve bought a 16 relay board with optocouplers, powered on by a 12v separated alimentation.
Then I’ve uploaded your code on my esp32.
My issue is that despite having connected the esp32 nodemcu with a microusb cable to 5v and the vin pin and ground to the relay board pins (vcc and gnd), it doesn’t work at all. The webserver is online, but the relay board seems not to have the right power to work properly.

Have you some suggestions for me please?

]]>
By: Aniruddha https://randomnerdtutorials.com/esp32-relay-module-ac-web-server/#comment-904504 Mon, 08 Apr 2024 10:58:04 +0000 https://randomnerdtutorials.com/?p=91127#comment-904504 Can I connect a relay module with a weighing scale circuit using ESP32, and whenever I get 3 reading constant the relay should turn off automatically?

]]>
By: rod https://randomnerdtutorials.com/esp32-relay-module-ac-web-server/#comment-898546 Fri, 15 Mar 2024 12:46:40 +0000 https://randomnerdtutorials.com/?p=91127#comment-898546 In reply to Sara Santos.

Hi Sara,
I have bought the 12v coil 8 relay module which I intend using with 12v inputs and switching the relays to give 5v inputs to an Arduino.

The opto circuit appears to be only for 5v so presumably I have to use 5v on GND and VCC but what on IN1 etc 12v + or 12v – ?
And which state will the link be?

]]>
By: a s Ali https://randomnerdtutorials.com/esp32-relay-module-ac-web-server/#comment-888347 Mon, 05 Feb 2024 20:13:24 +0000 https://randomnerdtutorials.com/?p=91127#comment-888347 hi all after pressing rest button i got this massage:
23:00:35.365 -> Connecting to WiFi..
can not get ip address .
any one can help ?
thanks

]]>