4 ms·
Instead of attaching transistors to shift registers there are shift register with open drain outputs and led drivers with shift register like interface designed
by Karliss 5y ago
Instead of attaching transistors to shift registers there are shift register with open drain outputs and led drivers with shift register like interface designed for usecase like this. Some of them even have constant current drivers builtin which would allow eliminating the resistors further simplifying the build although that might require higher supply voltages for longer LED chains which might not be ideal for this project.
Attiny85 operates at the same <20Mhz as ATMega328 in arduino pro mini lack so first one being too slow shouldn't be a thing. From the screenshots it seems that output enable pin wasn't used so I assume fading was done by quickly changing picture. A better approach would be connecting the output enable pin of shift registers to hardware PWM output of microcontroller that way fading can be controlled independently from picture content and easily run frequency where flickering isn't visible even for camera. You wouldn't try to dim a monitor by rapidly changing the picture, same situation with LEDs.
- risbz 5y agoExpanding on this, for applications like this charlieplexing led drivers like the IS31FL3731 can make the layout even easier. They require fewer PCB traces and have built in individual PWM control. One chip can drive up to 144 LEDs, so even for the large maps 2 chips would be enough.