BACK TO LABORATORY
EXPERIMENT 014

ESP32 RELAY CONTROL

Hardware / ESP32
COMPLETED

OVERVIEW

Controlled a 5V relay module using ESP32 GPIO pins. Investigated isolation between the low-voltage control circuit and the high-voltage load circuit.

RESULT

Relay successfully switches between HIGH / LOW states via web interface. Measured 12ms switching delay. No significant noise observed on the 3.3V rail during switching.

STACK

ESP32Arduino C++5V Relay ModuleWebSockets

SOURCE

GitHub Repository

EVIDENCE

[ BREADBOARD & RELAY WIRING ]
[ SERIAL LOG ]
[14:32:01.045]> ESP32 Booting...
[14:32:01.120]> Connecting to WiFi...
[14:32:03.450]> Connected! IP: 192.168.1.45
[14:32:03.500]> Init GPIO 4 as OUTPUT
[14:32:05.000]> Relay: HIGH
[14:32:06.000]> Relay: LOW
[14:32:06.012]>