3. Add the slide switch
Finally, I added a slide switch to the circuit so that people can turn off this motion activated light when the room is bright enough.
The slide switch is designed to control inputs of the motion sensor. If the switch slides to the left, the photon can receive the input from the motion sensor so the RBG LED will light up when motion is detected. If the switch slides to the right, the motion sensor is disconnected to the photon, and therefore the RBG LED won't be activated by motion in this case.
Content Rating
Is this a good/useful/informative piece of content to include in the project? Have your say!
You must login before you can post a comment. .