In this quick Arduino tutorial I will explain how you can control a relay using the Arduino Board, one 1K and one 10K resistors, 1 BC547 transistor, one 6V or 12V relay, one 1N4007 diode and a 12V fan ...
* Type "on" or "off" in the Serial Monitor to switch a relay. * Most relay modules are active-low: the relay closes when its input is LOW. The pin is * therefore set HIGH at start-up so that the load ...