Electronic – LED on and off indicator for solenoid

indicatorled-matrix

I have a circuit with a single momentary on switch that causes a solenoid to change position. I need to be able to see which position the solenoid is in. I've looked at the circuits for motor control LEDs on and off and I don't think that that will work for me.

I need the LEDs to indicate both states of the solenoid. One LED (green) = ON when the solenoid is on (red is off), and the other LED (red) = ON to indicate when the solenoid is off (green is off). I can't get this with a single LED because the off state would not be indicated.

I can't change the switch to a double throw switch I have to use the single pole single throw momentary switch. I can get back 12V indicating the solenoid is on or off from the live terminal. I can't use a relay in the space I have, I would like a diode biased solution if possible. I have 12 volts at the Led position which is remote from the solenoid.

Best Answer

schematic

simulate this circuit – Schematic created using CircuitLab

  • SW2 indexes the solenoid.
  • D3 lights when SW1 is open.
  • When SW1 is closed the forward voltage drop of D1 will be lower than the combined forward voltage drop of D4 and D3 so D1 should light and D3 turn off.

If D3 is still glowing when it should be off then add another diode in series in the D3, D4 branch.