Switching a couple of amps with a Raspberry Pi and a relay

from blog Kevin Boone's website, | ↗ original
↗ original
Switching loads of an amp or two with a Raspberry Pi or a microcontroller can be accomplished using a small number of inexpensive components. Suitable circuits are widely published, but the details of operation are not always described.