Providing modern electronic devices with a diet of healthy power is not straightforward. Small AC-connected equipment often uses a capacitor-input filter following a half- or full-wave rectifier.
For switching high-powered loads from a microcontroller, or for switching AC loads in general, most of us will reach into the parts bin and pull out a generic relay of some sort. Relays are ...