Arduino code to open a motorized door using a relay, over Wi-Fi. When you send a signal to open, relay will turn on for 2 seconds and then turn off
-
Replace Wi-Fi SSID and password in lines 9 and 10
-
Connect ESP (must be compatible with AT commands): A5 to TX, A4 to RX
-
Connect Relay 1 to Pin D6
-
Connect Relay 2 to Pin D7
-
Check serial monitor for device IP
-
Go to device IP to test it
Contact me on Telegram as @b4sicallyf0x