ESP32: control a relay module for switching higher-voltage loads
Use a relay module with an ESP32 to switch mains-powered devices. The hardware safety boundaries and why opto-isolated modules matter.
Tag
2 tutorials
Use a relay module with an ESP32 to switch mains-powered devices. The hardware safety boundaries and why opto-isolated modules matter.
Use a 2N2222 NPN transistor to switch a load that draws too much current for a GPIO pin. Pumps, fans, LED strips, solenoids.