Help with wiring a diode to a dpdt switch...

Frequent question abouts LED and other types of diodes.

Moderators: Greg, RnFR, moderators

Help with wiring a diode to a dpdt switch...

Postby perro5151 » 09 May 2011, 07:49

Hello everybody,

I'm working on another diy project,and I wanted to use a dpdt footswitch (on-on) to switch between two different resistor values. This is not the problem. The problem is that I want to wire an LED indicator to the one side so when I switch from 'normal' to 'other' I can indicate this transition with an LED. Alas, I am not well-versed enough to do such a thing on my own. Anyone have any idea how this could be done? I'd greatly appreciate the assistance!

Thanks!
perro5151
 
Posts: 10
Joined: 14 Apr 2011, 05:26
Has thanked: 0 time
Have thanks: 0 time

Re: Help with wiring a diode to a dpdt switch...

Postby mysticwhiskey » 09 May 2011, 10:23

Hopefully this will do what you want:

DPDT_2LEDS.png


This uses one side of the DPDT to switch the either of the 2 LED's on. They share a common current-limiting resistor, whose nominal value is 4.7K but you can vary this depending on the brightness of the LED's you want.
You do not have the required permissions to view the files attached to this post.
User avatar
mysticwhiskey
Solder Soldier
 
Posts: 224
Joined: 03 Jul 2010, 10:55
Location: Adelaide, Australia
Has thanked: 47 times
Have thanks: 156 times

Re: Help with wiring a diode to a dpdt switch...

Postby mysticwhiskey » 09 May 2011, 10:33

Oops, I think I misread your question - the previous diagram assumes you wanted 2 LED's, when I think you actually asked for 1 LED. :oops:

This should do what you want:

DPDT_1LED.png


You will need to check that the other side of the switch is wired such that the LED comes on in the proper position, or if it's wired opposite to how you want it to work you can just move the LED's anode to the other lug of the switch (the lower rightmost lug in the diagram above).
You do not have the required permissions to view the files attached to this post.
User avatar
mysticwhiskey
Solder Soldier
 
Posts: 224
Joined: 03 Jul 2010, 10:55
Location: Adelaide, Australia
Has thanked: 47 times
Have thanks: 156 times

Re: Help with wiring a diode to a dpdt switch...

Postby perro5151 » 10 May 2011, 00:51

Hmmm, maybe I'm just lacking in knowledge (which is usually the case here), but the only way I understood to do a basic parts switch with a dpdt was something like this...

Part A >>>>>>>>>>>>>>> * * < Part A
Original spot on board #1 >>> * * <Original spot on board #2
Part B >>>>>>>>>>>>>>> * * < Part B


I'm using a dpdt on-on footswitch (which was kind of difficult to come by) instead of a toggle. Sorry if I didn't explain well enough :(
perro5151
 
Posts: 10
Joined: 14 Apr 2011, 05:26
Has thanked: 0 time
Have thanks: 0 time

Re: Help with wiring a diode to a dpdt switch...

Postby mysticwhiskey » 10 May 2011, 01:10

OK, so you're already using both sides of the DPDT switch - from your question it sounded like you had one side of the switch free to use.

To include LED indication as well as your part switching, you'll need to use a 3PDT switch. I don't think that a DPDT is suitable.
User avatar
mysticwhiskey
Solder Soldier
 
Posts: 224
Joined: 03 Jul 2010, 10:55
Location: Adelaide, Australia
Has thanked: 47 times
Have thanks: 156 times

Re: Help with wiring a diode to a dpdt switch...

Postby mysticwhiskey » 10 May 2011, 01:46

Come to think of it, there is a way you can switch in another resistor with an indicator LED using a DPDT:

DPDT_ResistorSubstituteWithLED.png


In the diagram shown, the LED will light when the modified resistor is switched in (Rmod) - the LED doesn't light when the original resistor is selected (Roriginal).
You do not have the required permissions to view the files attached to this post.
User avatar
mysticwhiskey
Solder Soldier
 
Posts: 224
Joined: 03 Jul 2010, 10:55
Location: Adelaide, Australia
Has thanked: 47 times
Have thanks: 156 times

Re: Help with wiring a diode to a dpdt switch...

Postby perro5151 » 13 May 2011, 02:11

Hooray! Thank you so much! I'm just about to do the wiring, so I'll test this out. Thanks again!
perro5151
 
Posts: 10
Joined: 14 Apr 2011, 05:26
Has thanked: 0 time
Have thanks: 0 time


Return to Diodes & LEDs

Who is online

Users browsing this forum: No registered users and 1 guest

cron