1
\$\begingroup\$

This question already has an answer here:

I am pretty sure that this should be simple but the answer is eluding me.

Basically I would like a simple 12V DC circuit that lights one LED (red) when a power switch to a pump is off and would light a second LED (green) when the switch is on.

This seems trivial except that I cannot have the wrong LED illuminated in the wrong condition.

\$\endgroup\$

marked as duplicate by Ignacio Vazquez-Abrams, Chetan Bhargava, Matt Young, Daniel Grillo, placeholder Aug 21 '14 at 17:26

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
    \$\begingroup\$ You don't mention what you actually need help with. Do you need help designing the whole thing? Ensuring it is 100% reliable? What is your current experience level? Have you ever built anything similar? \$\endgroup\$ – David Aug 21 '14 at 15:43
1
\$\begingroup\$

This is easy to do if you have dual-pole (SPDT or DPDT) switch. If you do not, a simple relay with normally-closed contact will do the job.

pic

Edit: updated picture

\$\endgroup\$
  • \$\begingroup\$ An SPDT switch would be simpler - connect the supply to the switch common terminal, red LED to one side, and load and green LED to the other. \$\endgroup\$ – Peter Bennett Aug 21 '14 at 16:00
1
\$\begingroup\$
  • RED = Pump switch on
  • GREEN = Pump connected and off
  • BOTH OFF = Pump disconnected

schematic

simulate this circuit – Schematic created using CircuitLab

\$\endgroup\$

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