I have the Arduino Mega and I am hooking up two light up buttons for a flight simulator. It handles the Master Warning light and another one for the Master Caution which usually does not stay illuminated. It only comes on once in a while and is turned off when the button is pressed. Problem is that the lights I have are 6v 35mA. I know the board will only output 5v so that’s not my concern, but I know the recommended working mA should be 20 with a maximum of 40mA (though I know it’s advised to stay 20 or below).
I wanted to ask if there’s any guidance on using a 35mA led bulb for a light that will occasionally illuminate here and there, and not constant, or should I play it safe and drop a 100ohm resistor into the mix.
I would use transistor for each bulb - with R1 between pin and Case, Emitor to the ground and Colector to R2, whitch goes to LED which goes to +6V (or +5V)
pin -- R1 -- Base
Emitor -- Ground
Collector -- R2 -- LED -- PWR
R1 limits current to the transistor (I would use 1 kOhm so max 5mA goes there) .
R2 limits current via LED (so 6V / 35 mA = 172 Ohm or more. Usual 220 Ohm should work too).
Transistor some common small.
At 5V the light would draw less current, how much less depends on the LED fw voltage. What color is your LED?
If light intensity is not a factor for you, drop that 100ohm resistor there and you are good to go.
35mA for indicator LED sounds pretty high for me.
Yeah that may have been my dumbness. I’d have liked it to be a korry button but for now i tried to find a button that could light up, was directed to this light but found out it came with a 161 wedge light (which was no good) then was directed to replace it with a 555 wedge led. Hence the 6v (6.3 actually) .35 amp pinball light. I can source a lower amp led but got stuck with this one for the time being. I’m going to check with the multimeter when the bulb and resistors arrive tomorrow.
It’s a white led bulb
The total operating voltage of the bulb assembly is 6.3V at 35mA because it has a built-in resistor for pinball machines, but the internal white 1206 LED chips themselves have a standard fw of about 3.0V
I don't understand what that has to do with push button..
Anyway, at 5V it would draw ~25mA and 100ohm in series would drop the current to ~half.
But can you trust the description? What if it's 350mA? Do you have multimeter to measure the current?
It’s supposed to fit into this button. You make a good point and at this point I’m not trusting anything. I do have a multimeter and will definitely have to test it before hand
At first I wasn't finding what type of button I wanted that would closely match a Korry switch which is a squared momentary SPST style button that can illuminate. After I picked up these I started to slowly find some alternatives but nothing quite as close to what I need. This setup won't be permanent. My goal is to transition towards the proper buttons as seen here:
These are commonly sold as 12V 1W automotive lights. Since there are 8 LED chips they are probably in 2S arrangement. That would give noticeably lower power at 6V (6.3V), which could be suitable for pinball machine. But probably still too high for button indicator.
However, it might not light at all (or very dimly) at 5V. Did you try it powered directly from 5V source?
Not as of yet. They arrive this afternoon. I will hook them to a 5v source to see what actual amps they are producing before trying the Arduino.
Yes they were supposed to be for a pinball machine, I’m still on the hunt for a replacement. May have found one, still a 555 style wedge like the 161, but uses a single led running 6v 10mA.
I'm still learning all the quarks of LEDs and such. Would you have any you could recommend? I have the space inside the button of a 161 wedge lighbulb so there's some space.
They arrived, hooked them to a 5V supply only to find my multimeter VmA port fuse was blown. Changed the red to 5A Fused, witched the meter to 5 on the A side and registered 0.01 with occasional bounces to 0.02. I am still getting familiar to fully working with a multimeter, so if I had the wrong setting here, please do let me know, but the VmA port below my 5A Fused port is currently not usable