I am planning to make my own button box for sim racing/sim trucking. I currently have an Arduino Leonardo and been playing around with it, I can get a normal toggle switch and rocker switch to work.
I want to now use a rocker switch with LEDs, do I need anything extra for the LED to work with the Arduino? Does it require to run resistors or a relay?
There are variations. Some lighted switches have a built-in resistor for 12V use in a car, etc. And often (but not always) the light is separate from the switch. But with a double-pole switch one pole can be used for the built-in light so the light/LED can work from 5 or 12V and the other part of the switch can be used for something else (like a speaker, or whatever).
My plan is to just use standard automotive switches made for 12v for cars. Yes the switches I'm looking at I’m pretty sure the led wiring is separate from the rest of the switch.
All good, so the Arduino Leonardo will be okay with a 12v switch with built in 12v LEDs no resistors?
Not sure what switch I am going for 100% but one has a light on all the time then another light once switch is turned on - or I might go with a switch that has a LED on all the time doesn’t matter if its off or not.