On/Off button + Toggle wiring question

Ask and answer questions, share tips and resources for installing lighting and other electronics in your models.

Moderators: Sparky, Moderators

Post Reply
No_6
Posts: 2205
Joined: Tue Oct 28, 2008 2:11 am
Location: Seattle, WA

On/Off button + Toggle wiring question

Post by No_6 »

Hey all. I was wondering if it was possible to wire something up with simple switches purchased from RadioS---k that will do this:

1 Latching pushbutton on/off
1 Toggle that will switch between a sound activated circuit and a bypass that will supply steady power.

Also, the thing is wired up so that all the LEDs are in series of 4. There are like 16 of these that all are connected to a single deans connector. Now if the above works, how do I calculate the resistor I would need to convert the 12vDC to about 10vDC when I have it switched to the bypass "steady on."

Thanks!
I am not a number.
en'til Zog
Posts: 2405
Joined: Fri Jul 12, 2002 3:03 pm
Location: The Wilds of Northwoods Wisconsin

Post by en'til Zog »

Most suppliers sell "push-ON push-OFF" button switches. NOT "momentary" types.

For the toggle switch, try a "double pole double throw center OFF switch" or "DPDT center OFF" type.

If you don't need the switch to cut power in the middle position leave off the "OFF" part.
Where there's a Will....there's Probate.
No_6
Posts: 2205
Joined: Tue Oct 28, 2008 2:11 am
Location: Seattle, WA

Post by No_6 »

I have a SPDT switch. So that won't work?
I am not a number.
en'til Zog
Posts: 2405
Joined: Fri Jul 12, 2002 3:03 pm
Location: The Wilds of Northwoods Wisconsin

Post by en'til Zog »

SPDT switches should work well. I just like a DPDT switch so I can switch POSITIVE and NEGATIVE at the same time. They give me more options if I change my ideas.

They also make good reversing switches.

Stocking the DPDT keeps down the number of bits I have to keep around.

Good luck!
Where there's a Will....there's Probate.
No_6
Posts: 2205
Joined: Tue Oct 28, 2008 2:11 am
Location: Seattle, WA

Post by No_6 »

Thanks Zog! It all worked out. I wound up getting a 10k Ohm volume switch for the second circuit which allows me to dial it down from 12vDC to about 9ish, really the perfect solution. Now to wire up the TIP31C to the stereo jack to see if I can get that to work...
I am not a number.
Sparky
Moderator
Posts: 2404
Joined: Thu Jun 05, 2003 8:28 am
Location: Are we there yet? (Chicago)
Contact:

Post by Sparky »

just remember that if you have multiple series of 4 leds in parallel and one resistor dropping voltage, the current through the resistor is the current through 1 series of LEDs * the number of 4 LED series loops. So typical new LEDs would be 4loops * 0.020 Asmps per loop = 0.080 Amps total.

Wattage of the resistor is Amps * Volts (the voltage dropped so 12- 9 is the volts the resistor is handling). So 0.24 watts. a 1/4 watt resistor will do in this case.

BTW how did you come up with 10K ohms? Just wondering.
<a href="http://www.kc6sye.com/2_wheresaneatpart.jpg" target="_Sparky">Is this plastic thingy on the counter a neat part?</a> <a href="http://www.kc6sye.com/1_casting_inprogress.jpg" target="_Sparky">Let's cast it.</a>
No_6
Posts: 2205
Joined: Tue Oct 28, 2008 2:11 am
Location: Seattle, WA

Post by No_6 »

Sparky wrote:just remember that if you have multiple series of 4 leds in parallel and one resistor dropping voltage, the current through the resistor is the current through 1 series of LEDs * the number of 4 LED series loops. So typical new LEDs would be 4loops * 0.020 Asmps per loop = 0.080 Amps total.

Wattage of the resistor is Amps * Volts (the voltage dropped so 12- 9 is the volts the resistor is handling). So 0.24 watts. a 1/4 watt resistor will do in this case.

BTW how did you come up with 10K ohms? Just wondering.
It was about the right size. Heh. Tested everything and it works well enough. It won't turn the lights all the way off, but it definitely gets it low enough to get exactly the effect I want. So I took a blind shot and it paid off. :)
I am not a number.
Sparky
Moderator
Posts: 2404
Joined: Thu Jun 05, 2003 8:28 am
Location: Are we there yet? (Chicago)
Contact:

Post by Sparky »

my calculation was 37.5 ohms, a 10k certainty is providing enough voltage drop to protect the LEDs.
<a href="http://www.kc6sye.com/2_wheresaneatpart.jpg" target="_Sparky">Is this plastic thingy on the counter a neat part?</a> <a href="http://www.kc6sye.com/1_casting_inprogress.jpg" target="_Sparky">Let's cast it.</a>
Post Reply