0
\$\begingroup\$

I have a bunch of spst-no buttons each with an led inside. I've just hooked them up to a MAX7219 and they are very dim (when hooked up directly to the microcontroller they're fine).

My guess is the buttons all have resistors inside, but they're all sealed up so there's no way to know without destroying them.

If they all have their own individual resistors, can I get away with removing the single resistor before the max7219 (or reduce it down from 10k to a lot less?)

Edit: To clarify, If I remove the resistor before the MAX7219, is it likely to break the chip in some way (considering that there are resistors before each LED)?

Here's a quick and dirty simplified schematic. Is it safe to remove R1 if R2 exists? My understanding is that without a resistor, an LED is likely to burn out. If that's what happens without R1, then the MAX7219 will be fine with a lower resistor value and I can probably play around a bit to try and improve the brightness of the LED. Voltage coming in is I think 5V (from a usb connection)

schematic

simulate this circuit – Schematic created using CircuitLab

This is the datasheet for the button: https://www.tme.eu/Document/9b8f20f491475d99dbf596e24530b068/r13_523.pdf - I'm guessing 100M Ohms "Insulation resistance" is the total of the resistor + led?

\$\endgroup\$
8
  • \$\begingroup\$ You had best show your schematic. 10K sounds like a pullup resistor, not an LED series resistor and the multiplexing scheme will make it dimmer by its very nature. \$\endgroup\$ Commented Feb 25, 2021 at 16:09
  • \$\begingroup\$ For the most part, the design is identical to that listed here: wayoda.github.io/LedControl/pages/hardware My buttons/leds are laid out in a 4x4 matrix \$\endgroup\$ Commented Feb 25, 2021 at 16:11
  • \$\begingroup\$ In my testing with regular LEDs, they were bright \$\endgroup\$ Commented Feb 25, 2021 at 16:17
  • \$\begingroup\$ If you want to test if they have an internal resistor, you can measure the forward voltage at a number of different currents (from a current-limited PSU), and then see if that matches up with the I-V curve of a diode, or a diode with a resistor in series. \$\endgroup\$
    – Hearth
    Commented Feb 25, 2021 at 16:50
  • \$\begingroup\$ But the question topic does not match the description. Which one you mean, are you asking about ISET pin resistor, or possible resistances inside the chip? \$\endgroup\$
    – Justme
    Commented Feb 25, 2021 at 17:20

1 Answer 1

2
\$\begingroup\$

Those pushbuttons have a LED with resistor, as those are meant to be driven at 12V.

Driving it with the MAX7219 cannot drive the pushbutton LEDs very bright, because it is meant to be used with 5V supply.

As per the question itself, the datasheet does not say what is the minimum resistance, but it does not matter. No matter how much you want current out of it, it still can't drive LEDs that have built-in resistors for 12V use. Usually the LEDs are rated at 12V 20mA.

This is also indicated by the curve "SEGMENT DRIVER OUTPUT CURRENTvs. OUTPUT VOLTAGE" on the datasheet page 4. For all three resistor values, at the output voltage of 5V, current has dropped to about 5mA anyway.

\$\endgroup\$
2
  • \$\begingroup\$ Yes, I know that, but it's not the question I asked \$\endgroup\$ Commented Feb 25, 2021 at 20:47
  • \$\begingroup\$ I updated the answer. Datasheet does not tell that, but even if zero ohms would be allowed, the chip and the LEDs in the button are still incompatible (they should be 20mA LEDs at 12V) \$\endgroup\$
    – Justme
    Commented Feb 25, 2021 at 21:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.