Re: Simple inverter switch transistor circuit help needed



On Jul 25, 9:47 pm, ferrari.secret.sa...@xxxxxxxxx wrote:
I am experiencing brain freeze or something, but I cannot figure out
the following...

Lets say I have three wires, power, ground, and switch. Power is
always on, ground is always connected to ground. I selectively apply
power to the switch wire. I have two LED's. LED 1 is on whenever
there is power on the power wire and ground is connected and LED 2 is
off.

Using transistor(s), how can I make it so that when power is applied
to the switch wire, LED 1 turns off, and LED 2 turns on instead.

This isnt a school assignment or anything - I'm just learning as I go
and this particular problem has me a bit stumped. I was thinking of
using a NPN driving a PNP on LED1 and an NPN on LED 2, and connecting
the switch wire to the base of the NPN on LED two, as well as the base
of the PNP on LED 1 (through a diode to prevent backflow of current),
so that when power is applied it pulls the base of the NPN on LED 2
high, and also pulls the base on the PNP on LED1 high, turning off the
transistor and therefore turning off the LED.

Or is there a better/simpler way?


Consider this:

D2 D1
+V -----+-----/\/\--->!-----+-----/\/\---->!-----GND
! !
----/\/\-----------+------/0------------GND
R1 SW1

I R1 has a low value, When SW1 is off, only D1 is on. When SW1 is on,
only D2 is on.

SW1 cna be a transistor.

.



Relevant Pages

  • Re: Really stumped: PS inoperative
    ... When the front panel switch is depressed, the voltage drops to ... The grey PWR_OK wire on the main power connector reads zero after the PS ...
    (comp.sys.ibm.pc.hardware.misc)
  • Re: What can I replace this latching relay system with?
    ... Retrofitting a modern AC switch box if necessary would be ... The power wire is daisy chained. ... remote rotary controller. ...
    (comp.home.automation)
  • Re: Should I PID my Heat Exchanger?
    ... how did you bring power into the PID (a separate line ... I stole the power off the rotary power switch which is ... 16 gauge unstranded copper wire for the power to the controller and the ...
    (alt.coffee)
  • Re: Electrical Switch Question
    ... On a "normal" Leviton 15 amp switch there are "secondary" attachments for power on the back via a "push in port". ... So the line side has both screw terminals and this additional port (I presume to do what I want to do - bring one power line feed into a box to power 3 separately switched circuits). ... The problem is that the push in port only accepts 14 gauge wire and I have 12 gauge wire as this is a 20 amp circuit. ...
    (alt.home.repair)
  • Re: Installing dimmer switch in old house
    ...  One wire connected to the top of lightwitch ... without having to make an electical connection. ... Switch off the light. ... Disconnect the power at you main breaker / or remove the main fuse ...
    (alt.home.repair)