Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

How to light up Alternating LEDs

Status
Not open for further replies.

soulsurfing

New Member
Hey all,

First post here. I am looking for some suggestions on how to do this. I am looking to hook up a set of lights, that will need to give me a visual readout from the room next door. I will not be able to see in the rooms where the lights will be lit up, hence the visual LED readout. The input voltage will be between 12 and 15 volts, and can change at any time in between this range.

First, I will have a Master Arm switch which will activate all other switches which will provide power to the lights and flasher itself (ARM Switch will need to handle about 30 Amps). I would like to outfit this arm switch with 2 LED's. When the ARM switch is off, I would like a red LED to be on, when the ARM switch gets activated, the red LED is to turn off and a green LED is to turn on. When the ARM switch is active (green LED is on, red LED is off), it needs to provide current to my 7 other switches. These toggle switches (1ON-OFF-2ON), 2 total, will be laid out similar but slightly different. I'll describe what I want each switch to have do. When the switch is in the OFF state, a separate from above red LED needs to be active. When in 1ON state, 1 green LED will be active, when in 2ON state, 2 green LEDS need to be active. Each "mini-circuit" will have its own set of 1 red LED and 2 green LEDS (which light up different, depending on the state of the toggle switch). I hope this makes sense. Each circuit needs to be able to handle a current ranging from 5 Amp to 15 Amp continuously. The LEDs are only to indicate the status of the switch, the actual lights will be a separate load on the same switch.


I have a decent understanding of electronics and will be able to figure it out someday when nudged in the right direction. I searched the forums, and found nothing related to the way I want my switches with LEDS to act. I know that I could use a DPDT relay, but would prefer to not needing several relays to accomplish this goal. I would like to keep my project as small as possible.
 
Yes you can do it without relays but think it best to use relays for the heavy current switching, as 15-30 amp will require some heavy switches and large wire.

For your master switch it will need a big wire run between the 2 rooms for 30 amp, where as with a relay it can be a rather light wire controlling the relay in the other room.

It would also make for a much neater control panel of switches.

As for your led indicators that can then be done with a few resistors and some diodes to gate the switch signals.

The red led for the centre off position is a little tricky and would need to have diode gating from bothe sides of the switch ON's to sink the negative of the red led supplied via a resistor.
 
What is diode gating? I have tried searching for it but cannot come up with a satisfying answer. It seems to me that the only way to readout a off state of the toggle switch is to either use a relay or use a NOT port IC.
 
This is not tested but what i was thinking was like this in the schematic.

Not sure if i understood the exact display function wanted, but this should give you a red led when the switch is off, a single green when the switch is on in one position and both green leds when the switch is on in the other position.

Pete.
 

Attachments

  • LED Switch.JPG
    LED Switch.JPG
    15.8 KB · Views: 138
  • LED Switch.pdf
    8.3 KB · Views: 142
Last edited:
SABorn,
I reasoned through this schematic, and it seems that this would work. The minor voltage drops from the diodes can be calculated, and the resistor value can be adjusted to reflect the possible constant change in input voltage so the leds and diodes don't burn up. Thanks a ton for your time and effort, I appreciate it a lot. This saved me a lot of headaches.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top