Switch Mains Devices with a Relay
Toggle a lamp or fan from a digital pin.
Controlling Big Things
Sometimes you want your Arduino to switch a lamp or a fan, not just an LED. For mains-powered gear you reach for a relay. 💡
A Relay Is a Switch
A relay is an electrically controlled switch. A small coil current pulls a metal contact closed, connecting a totally separate, much higher-power circuit.
All lessons in this course
- Why You Need a Driver
- Speed & Direction with an H-Bridge
- Switch Mains Devices with a Relay
- Protect Against Flyback Spikes