#055 RelayControlTest
Controlling a relay with an Arduino. Here’s a quick demo:
Notes
An equivalent test to RelayModuleTest, however this demonstrates direct control of a Songle SRD-05VDC-SL-C relay (without the benefit of a relay module board).
This uses a simple NPN switching circuit. A flyback diode is added to protect the transistor from back EMF.