[Explanatory image of wiring for LED lighting]
When power is connected to LED A, 20mA will flow at 100R.
This is not a problem. It shines brightly.
On the other hand, the output of the MAX7219 draws only 4mA when LED B is lit.
I control the MAX7219 with ESP32 and set it to shine the brightest.
When I measured the current of the MAX7219's ISET resistor, it was 0.28mA.
Apparently, the MAX7219 allows 100 times more current to flow through the LED than the ISET resistor current. In other words, LED B should be able to flow 28mA.
However, only 4mA flows and the light is dim.
why?
How can I get 20mA to flow to LED B?
This is a question about lighting one LED with the MAX7219. It is not an 8x8 dot matrix.
The MAX7219 is stated to be able to flow up to 40mA per segment.
When connected as shown in the attached photo, a maximum of 40mA should be able to flow through one LED.
However, when I measure it, only 4mA flows.
If I use the <MD_MAX72xx.h> library, will only 4mA flow?
#include <MD_MAX72xx.h> library is used to light only one LED at maximum brightness.
#include <MD_MAX72xx.h>
void setup() {
Serial.begin(9600);
mx.begin();
mx.control(0, MD_MAX72XX::INTENSITY, 15);
mx.setColumn(0, 0, 0b10000000);
}
This connects pins 9 and 13 of 1088AS to MAX7219, and only the bottom right one of 1088AS lights up.
In the photo, LED B is connected to GND and pin 9, and 4mA flows.
Similarly, if LED B is connected to pins 9 and 13, 4mA will flow.
Even though the maximum brightness is set to 15, the intervals between pulse outputs are wide. In other words, LEDs don't shine brightly.
Why are the pulse intervals so wide?