-1

I have a raspberry pi 2 model b and I am trying to build a digital on of switch, which means that I would like to get rid of this physical one ( Currently it controls a police type flashing light)

ofOff

and Id like the light to switched on/off using software and GPIO pins. I have a breadboard with all the necessary equipment (wires, resistor and etc) . Could anyone please draw or show me basic circuit of how I could build it?

The power comes from a battery pack inside the light itself

0

How are you planing on powering the "police like flashing light"? If the power from the raspberry is enough you could write a simple python script that powers on and off the light.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.