Clear all

Adding??? Resistor to LED Switch

2 Posts
2 Users
0 Reactions
Joined: 2 years ago
Posts: 1903
Topic starter  

I have a bunch of these type toggle switches.  They say they're for 12VDC.  I'm guessing they have a current limiting resistor in them that keeps 12V from frying them.  The LED won't light up with a 1.5V AA, but will light up with a single LiIon 3.7V.  I'll be switching either 4S = 16.8V or 6S = 25.2V.  Do I need to add another resistor say in-line with the ground wire going to the switch?  And what resistance should I use?  And if it makes a difference I have different color LED's... red, blue, yellow, green.




3 lines of code = InqPortal = Complete IoT, App, Web Server w/ GUI Admin Client, WiFi Manager, Drag & Drop File Manager, OTA, Performance Metrics, Web Socket Comms, Easy App API, All running on ESP8266...
Even usable on ESP-01S - Quickest Start Guide

Father of a miniature Wookie
Joined: 4 years ago
Posts: 7402

@Inq I am sure you will get lots of answers, but I did some googling and found online calculators that are different. I don't know why people recommend what they do and don't know why the on-line calculations are different. Maybe you can figure out a straight answer.

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.