I had a problem recently where I needed to illuminate an LED indicator light when a relay was switched from +5v to ground potential( relay on state to relay off state) in an overdrive circuit built in to a vacuum tube guitar amplifier.
The solution for me was to use a very common CMOS IC - the CD4069, a hex inverting buffer
The CD4069 has six individual complementary N and P type mosfets, a ground (or negative) pin and a positive ( or ground) pin marked Vdd and Vss respectively (d = drain, s= source).
Okay - connect all the input pins together (1, 3, 5, 9,11,13) and connect all the output pins together (2, 4, 6, 8, 10, 12).
Paralleling the inputs and outputs like this creates a single inverter with six times the switching current capacity.
Now connect pin 14 to the positive voltage source (+5v to +15v dc), and pin 7 to ground.
Now connect a 1k5 resistor (for current limiting - can be higher for a dimmer LED light) to the cathode ( short lead on LED)to the bundled inverter output pins.
Connect the other end of this resistor to ground.
Okay - now when you connect a positive voltage to the bundled inverter input pins, the LED will not light up.
Once this positive voltage is removed or switched to ground, the inverter will reverse the state and output will be at whatever the supply voltage is being used on pin 14 - the LED will light up.
i know this is a very simple project but hopefully some FSB members may find it as useful as I have.
cheers
Steve