1
\$\begingroup\$

I am building an 8x8 led matrix using 5mm LEDs (3.2V, 20mA). I connect it to the arduino UNO through the I2C using the GPIO expander MCP23017. The circuit is as follows:

enter image description here

A matrix column is made up of 8 LEDs connected in series (am I right? are they not in series?). The forward current of an Led is 20mA and its forward voltage is 3.2V. I connect the VDD pin of the MCP23017 to the 5V pin of the arduino uno.

So, the resistor value I need to connect to a column so that the LEDs don't die out is (5V-(3.2V*8))/0.02, which is a negative value! Shouldn't I multiply 3.2V by 8? if not, why?

\$\endgroup\$
8
  • 2
    \$\begingroup\$ See if lednique.com/display-technology/multiplexed-display helps regarding whether they're in series or not. (They're not.) \$\endgroup\$
    – Transistor
    Mar 13 '21 at 22:00
  • 4
    \$\begingroup\$ something is wrong ... the leds appear to have three terminals ... two of the terminals are shorted for some reason \$\endgroup\$
    – jsotola
    Mar 13 '21 at 22:13
  • \$\begingroup\$ @jsotola if you're talking about the blue lines, I've just realized I didn't draw them correctly. The anodes of the leds of one column are wired in series (column wise), and the cathodes of the leds of one row are wired in series (row wise) \$\endgroup\$
    – S.E.K.
    Mar 13 '21 at 22:24
  • 2
    \$\begingroup\$ that description is unclear ... google led matrix schematic \$\endgroup\$
    – jsotola
    Mar 13 '21 at 22:58
  • 2
    \$\begingroup\$ You should draw a proper, correct schematic and delete the existing one. \$\endgroup\$ Mar 13 '21 at 23:36
0
\$\begingroup\$

The typical approach is Common Anode Mux with fixed V and Cathode current limited somehow either CC or using an R.

\$\endgroup\$
2
  • \$\begingroup\$ I thank you for your answer, but I honestly have no idea what you're talking about, my electronics knowledge is very limited. Could you suggest links to tutorials or articles that explain the notions you're suggesting in your answer, or at least names of laws-components-principles I can investigate? \$\endgroup\$
    – S.E.K.
    Mar 14 '21 at 20:33
  • \$\begingroup\$ I have nothing handier than you with the web search engine and my key words with an LED matrix design tinyurl.com/ygvmj67f \$\endgroup\$ Mar 14 '21 at 20:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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