How to wire an LED switch based on rated voltage and current

In summary: recommendations.According to the information you linked those switches are rated for 1A @12V into an inductive load (like a motor). You either need a bigger switch, a relay or a fire extinguisher.Pbuk thank you so much. This is the first time I am contemplating something like this. From what you're saying I gather the led isn't really my biggest problem here. The switch itself isn't made for direct connection to a powerful motor. Especially one that can pull 16 A. I don't really know anything about relays. Can you explain further on what they are and how to go about choosing oneUpdate. A relay is used as a means for a low current circuit to control a
  • #1
Rayhaan
30
8
TL;DR Summary
how to wire an led switch based on rated voltage and current
Could someone please help.

i need to connect a 12vdc motor which can draw 16 amps
to a switch that has an led on it. the led is rated at 3v 20mA.
The power supply i am using is rated to put out 12vdc at 30A

I thought of the possibility of adding a resistor to the positive pole of the led.
In this case i saw people using ohms Law
R=(Vsource-Vrequired)/ required amps.

In this case i get(12-3)/0.02= 450 ohms
is this right?
because the amperes of the power source is not factored in at all with this calculation will i then use a 450 ohm resistor for any 12v source regardless of the rated current output of the power source? IE. whether the power supply is 20A 30A or 100A will i still simply attach a 450 ohm resistor to the positive terminal of the led?
 
Physics news on Phys.org
  • #2
Rayhaan said:
Summary:: how to wire an led switch based on rated voltage and current

Could someone please help.

i need to connect a 12vdc motor which can draw 16 amps
to a switch that has an led on it. the led is rated at 3v 20mA.
The power supply i am using is rated to put out 12vdc at 30A

I thought of the possibility of adding a resistor to the positive pole of the led.
In this case i saw people using ohms Law
R=(Vsource-Vrequired)/ required amps.

In this case i get(12-3)/0.02= 450 ohms
is this right?
because the amperes of the power source is not factored in at all with this calculation will i then use a 450 ohm resistor for any 12v source regardless of the rated current output of the power source? IE. whether the power supply is 20A 30A or 100A will i still simply attach a 450 ohm resistor to the positive terminal of the led?
Welcome to the PF.

The LED has different leads from the switch, correct? It cannot be in series with the switch. Can you post a datasheet?
 
  • #3
The LED indeed has different leads from the switch. in total there are 5 terminals. (COM) (NO) (NC) (+(led))(-(led)).I assume the led and switch itself are in parallel. this is a link to the switch and the relevant data specifications. from here i deduced that the led requires 3v 20mA

i will be wiring the switch in such a way that the led is only activated when the circuit is closed. the switch should be normally open
https://www.aliexpress.com/item/4000027999336.html
 
  • Like
Likes berkeman
  • #4
Does your component have 3 leads like this?
Rayhaan said:
The LED indeed has different leads from the switch. in total there are 5 terminals. (COM) (NO) (NC) (+(led))(-(led)).I assume the led and switch itself are in parallel. this is a link to the switch and the relevant data specifications. from here i deduced that the led requires 3v 20mA

i will be wiring the switch in such a way that the led is only activated when the circuit is closed. the switch should be normally open
https://www.aliexpress.com/item/4000027999336.html
Okay, then yes, put the 450 Ohm resistor in series with the LED so that 9V is dropped across the resistor when 20mA is drawn. That will give the 3V @ 20mA to the LED. The resistor+LED are wired basically in parallel with the motor.

So then the 12V power supply will be providing 16A + 20mA when the motor is drawing the full 16A.
 
  • #5
So it won't matter whether I use a power supply of any current output. The end result will still be to add a 450 ohm resistor in series with the led?
 
  • #6
STOP.

According to the information you linked those switches are rated for 1A @12V into an inductive load (like a motor). You either need a bigger switch, a relay or a fire extinguisher.
 
  • Like
  • Informative
Likes Rayhaan, hutchphd and berkeman
  • #7
Pbuk thank you so much. This is the first time I am contemplating something like this. From what you're saying I gather the led isn't really my biggest problem here. The switch itself isn't made for direct connection to a powerful motor. Especially one that can pull 16 A. I don't really know anything about relays. Can you explain further on what they are and how to go about choosing one
 
  • #8
Update. A relay is used as a means for a low current circuit to control a high current one. It does this by activating a switch when the small circuit is closed. This switch then activates the circuit with higher current. It is electrically safer. Less energy demanding and more economical because you can use thin gauge cable for your control buttons which is generally far from your component.

Relays have a voltage required by the coil which connects the low demand circuit and a current and voltage rating for the high current circuit
 
  • #9
Designing control circuits for high power inductive loads is not for the layman. I suggest you contact the motor supplier and/or manufacturer for their recommendations.
 
  • #10
Rayhaan said:
Relays have a voltage required by the coil which connects the low demand circuit and a current and voltage rating for the high current circuit
You can also look into "Contactors" -- you may not need one at your power level, but they are purpose-built for handling inductive power loads like motors (although usually at AC Mains voltage levels):

https://en.wikipedia.org/wiki/Contactor
 
  • #11
Pbuk. I will contact the motor manufacturer for guidelines but I would feel much more comfortable also discussing it with people who understand components like this. I am learning after all and wanted to discuss this matter over a forum as a means to help others with a similar problem.

Berkeman thanks for suggesting contactors or breaker switches but I really would like to use these attractive light up buttons and I'm sure others would also like to as well. Please entertain my problem. I want to learn
 
  • #12
please see my attached circuit diagram. i look forward to your criticism. this circuit has 2 push buttons for moving the motor in opposite directions by having opposing polarity from one button circuit to the other
actuator circuit.jpg
 
  • #13
Rayhaan said:
Berkeman thanks for suggesting contactors or breaker switches but I really would like to use these attractive light up buttons and I'm sure others would also like to as well. Please entertain my problem. I want to learn
You're missing the point. Using a switch instead of a contactor or a breaker could result in a very short lifetime for the switch or even a fire.
 
Last edited by a moderator:
  • Like
Likes berkeman and pbuk
  • #14
Rayhaan said:
Berkeman thanks for suggesting contactors or breaker switches but I really would like to use these attractive light up buttons and I'm sure others would also like to as well.
You use the low-power switches to turn on the contactor. It's done all the time.
Rayhaan said:
please see my attached circuit diagram. i look forward to your criticism. this circuit has 2 push buttons for moving the motor in opposite directions by having opposing polarity from one button circuit to the other
Sorry, I'm not able to understand your drawing yet. And be careful with direction/polarity reversals -- you need to ensure that both directions can't be on at the same time.
 
  • #15
berkeman said:
You use the low-power switches to turn on the contactor. It's done all the time.

Sorry, I'm not able to understand your drawing yet. And be careful with direction/polarity reversals -- you need to ensure that both directions can't be on at the same time.
My diagram is incorrect. This would short circuit my power supply everytime current is run to the motor. Thanks for spotting this. I think I'll have to look at some way to switch both poles on and off. Maybe something like a dpst relay could work?
 
  • #16
Rayhaan said:
My diagram is incorrect. This would short circuit my power supply everytime current is run to the motor. Thanks for spotting this. I think I'll have to look at some way to switch both poles on and off. Maybe something like a dpst relay could work?
Yes, and you can probably find a contactor that has the configuration you want (DP3T, Break-Before-Make).
 
  • Skeptical
Likes pbuk
  • #17
So now you have introduced another requirement: switching from forward to reverse. How are you going to deal with the back EMF when you do that?
 
  • #18
pbuk said:
So now you have introduced another requirement: switching from forward to reverse. How are you going to deal with the back EMF when you do that?
He'd need to include transorbs, I would think. Unless he can find a contactor that already has them built-in.
 
  • #19
I like how complex a seemingly simple solution can be. Are relays and contactors the same thing? I thought contactors were trip switches. Going to Google back emf
 
  • #21
Thread is re-opened after a bit of cleanup. We will keep a close eye on the safety aspects of this DC motor project.
 
  • #22
I will start another thread for this. I'm happy to conclude this thread by saying if you need to use an led switch to control a high demand circuit. You should have the switch on a separate circuit and it should have it's own power source. You do this with contactors and relays
 
  • Like
Likes Tom.G and berkeman
  • #24
Rayhaan said:
New thread here
That's a much better way to get appropriate answers - the information that you are driving a linear actuator is very important (this is much easier than switching, say, a high speed drill).
 
  • #25
Thanks pbuk. I didn't realize the considerations would be different. I'm sure everyone isn't thinking this is as dangerous as before
 
  • #26
Rayhaan said:
Summary:: how to wire an led switch based on rated voltage and current

Could someone please help.

i need to connect a 12vdc motor which can draw 16 amps
to a switch that has an led on it. the led is rated at 3v 20mA.
The power supply i am using is rated to put out 12vdc at 30A

I thought of the possibility of adding a resistor to the positive pole of the led.
In this case i saw people using ohms Law
R=(Vsource-Vrequired)/ required amps.

In this case i get(12-3)/0.02= 450 ohms
is this right?
because the amperes of the power source is not factored in at all with this calculation will i then use a 450 ohm resistor for any 12v source regardless of the rated current output of the power source? IE. whether the power supply is 20A 30A or 100A will i still simply attach a 450 ohm resistor to the positive terminal of the led?

You need a resistor to drop voltage to 3 volts.
 
  • #27
Voltage drops and current stays the same in a series circuit. Resistor in series has to drop 9 volts at 20 ma. 9/.02=450 ohms. If the LED max voltage is 3v you should drop voltage to less than 3v to be safe. I work with LEDs all the time 2.5v will light up the LED fine. 9.5v/.02a= 475ohms. 475 ohms is not common but 480 & 470 is. Use a 1% resistor NOT 5% or 10% or 20%. Most film resistors these days are very accurate 1% will keep your voltage safe for your LED. BE SURE to test your resistor with a good ohm meter before you use it make 100% sure a 480 ohm resistor really is 480 ohms, plus or minus 4.8 ohms.

[Mentor Note -- errors in this post have been dealt with below]
 
Last edited by a moderator:
  • #28
gary350 said:
If the LED max voltage is 3v you should drop voltage to less than 3v to be safe.
LEDs do not have a 'max voltage'. There were a number of confusions in this thread, including the fact that the illuminated switch the OP was looking at has an inbuilt resistor to supply the correct current to the LED at a supply voltage of 3V.

For this and other reasons, the OP has started a new thread and it will only add to the confusion to carry on with this one.

gary350 said:
Use a 1% resistor NOT 5% or 10% or 20%. Most film resistors these days are very accurate 1% will keep your voltage safe for your LED.
There is no need to use a 1% resistor, the working CURRENT (not voltage) for the LED, has plenty of headroom for a normal 5% resistor, and if the closest value you have to hand is 10% out then (+ potentially 5% tolerance) then this would be fine too.

gary350 said:
475 ohms is not common but 480 & 470 is.
I'll offer a prize for the first person to post a verified photograph of a 480 ohm resistor in their posession.
 
  • Like
Likes berkeman
  • #29
pbuk said:
For this and other reasons, the OP has started a new thread and it will only add to the confusion to carry on with this one.
Good point; this thread is now closed.
pbuk said:
I'll offer a prize for the first person to post a verified photograph of a 480 ohm resistor in their posession.
Yay! I win a prize! What did I win? Oh wait, you can't reply in a locked thread. Sigh, I not win the prize... o0)

1600545080527.png
 
  • Haha
  • Like
Likes Wrichik Basu, Rayhaan, Tom.G and 1 other person

1. What is the difference between rated voltage and current for an LED switch?

The rated voltage for an LED switch refers to the amount of voltage that the switch can handle without causing damage or malfunction. The rated current, on the other hand, is the maximum amount of current that the switch is designed to handle. It is important to match the rated voltage and current of the switch with the LED to ensure safe and proper operation.

2. How do I determine the rated voltage and current for my LED switch?

The rated voltage and current for an LED switch can usually be found on the product label or in the product specifications. If this information is not available, you can refer to the datasheet provided by the manufacturer. It is important to use the correct values to avoid damaging the switch or the LED.

3. Can I use a switch with a higher rated voltage or current for my LED?

No, it is not recommended to use a switch with a higher rated voltage or current for your LED. This can cause the LED to overheat and potentially damage it. It is best to use a switch with the same or slightly higher rated voltage and current as the LED.

4. Can I wire multiple LEDs to one switch?

Yes, it is possible to wire multiple LEDs to one switch. However, it is important to calculate the total voltage and current requirements of all the LEDs and make sure they do not exceed the rated voltage and current of the switch. It is also recommended to use resistors to regulate the voltage and prevent overloading the switch.

5. What precautions should I take when wiring an LED switch?

When wiring an LED switch, it is important to make sure all connections are secure and there are no exposed wires. It is also recommended to use a multimeter to test the voltage and current before connecting the LED to the switch. It is also important to follow the wiring diagram provided by the manufacturer to ensure proper installation.

Similar threads

  • Electrical Engineering
Replies
12
Views
721
  • Engineering and Comp Sci Homework Help
Replies
13
Views
277
  • Electrical Engineering
Replies
4
Views
724
  • Electrical Engineering
Replies
2
Views
1K
  • Electrical Engineering
Replies
26
Views
4K
Replies
4
Views
2K
  • DIY Projects
Replies
32
Views
6K
  • Electrical Engineering
Replies
8
Views
2K
  • Introductory Physics Homework Help
Replies
3
Views
770
  • Electrical Engineering
Replies
5
Views
2K
Back
Top