The objective of this experiment is to use a PIR motion sensor to control a fan as a on/off switch. The PIR sensor will be used to detect if there is someone in front of the fan where then the raw ...
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 ...