I'm working on a LED project which require me to seperate an input1 to two different paths based on input2. I been using SPDT relay and it works ok, but I could like to get rid of the relay. I searched the internet and didn't found anything, so I tried with 1 NPN and 1 PNP and it seems working, but I have two questions hoping experts here can answer:
1. Anything wrong in my circuit which will cause it failed in long run?
2. At the begining, I'm using a small NPN (2n2222, TO-92) from RadioShack instead of the TIP31 but it didn't work. The NPN flow about 4v even input#2 is open. Why?
1. Anything wrong in my circuit which will cause it failed in long run?
2. At the begining, I'm using a small NPN (2n2222, TO-92) from RadioShack instead of the TIP31 but it didn't work. The NPN flow about 4v even input#2 is open. Why?