Creative Hardware
Relay Modules: Getting Started With Switching AC and High-Power Loads From a Microcontroller
Relay modules bridge the gap between a microcontroller's low-voltage logic and the AC or high-current DC loads that logic can't touch directly. This tutorial covers how a relay actually works, the difference between NO and NC terminals, active-high versus active-low trigger types, and the safety practices that matter the moment you're switching anything connected to mains power.