Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Problem too is the LED duty cycle gets high rather quickly. Remember only 1 LED is on at any given moment so it'll be hard pressed to be bright with more than 20 LEDs
https://www.youtube.com/watch?v=4MGKhFIujM4&feature=related
check this out. What kinda power you think it's using? all the LEDs look bright.
Did you mean trying to light 20 in a fast frame?
Charlieplexing is a matrix where only one LED is on at a time, so 20LEDs would each have a 1/20 duty.
No, you can give each LED it's own resistor. You can also have 1 resistor on each return leg therefore only needing n resistors. These return resistors would be on the left in Mike's diagram.Problem with turning on more than one LED at a time is even brightness as you're sharing one resistor for many LEDs.
Look again, if RB0 is high and RB1 is low then one LED lights. RB0 low and RB1 high and a different LED lights. It is true charlieplexing but drawn in a way that clearly shows you can light multiple LEDs at the same time. Note, there are only 42 LEDs shown but if transistors are added for B6 and B7 then the full 56 would be there from 8 outputs. And, if you think the transistors somehow change things just pretend they aren't there and B0 connects straight to column zero etc.PS Mike K8LH's clock is not true charlieplexing but more an advanced mux. Charlieplexing uses both forward and reverse biased LEDs (It also doesn't work very well for blue or white LEDs as they still glow with very little current when charlieplexed)