how to toggle two LEDS with transistors? Answered
For my electronics class, we had to program an arduino and build a simple circuit. I opted for a traffic light that switches its lights when a bathroom is being occupied. For the real project I used a bipolar relay switch, which I can toggle with just one output from the arduino. This system is now built in in my local coffeeshop. The thing is, I have to do an assessment about this project, and it is not possible for me to use the original system, and I don't have a relay laying around. I do however have multiple transistors. Since these are electronic switches, just like relays, it seems possible to me to use these to turn one LED on and the other off and vice versa, with only one signal.
I can't come up with the proper schematic for this.. can anybody help me?