Ich habe mir gerade nochmal das Datenblatt geschnappt vom 74HC595. Definitiv nur 20mA Output. Leider war da aber kein Beispiel drinnen wie man eventuell mehr schalten könnte.
Anders herum habe ich mal gerechnet: 8x8=64 LED x 20mA = 1280mA Gut, mit einem 78S05 sollte das kein Problem sein. Ganze schöne Sromfresser die SID Synths *g
Aber bisher habe ich auch nichts im Netz gefunden, wie man den Output verstärken könnte. Jeder Ausgang muss folglich 160mA max. (bei 20mA LED´s die es ja hauptsächlich sind) ab können. Aber über eine Nach/Vorschaltung mit einem Transistor hab ich nichts gefunden.
Was man aber wohl machen kann/ muss, die Vorwiderstände etwas größer wählen. Quasi groß genug damit die LED´s hell genug sind, und so klein wie möglich, dass man möglichst wenig mA zieht.
Eine Treiberstufe oder eine Art Relay wäre da glaube ich genau das richtige. . . .
EDIT:
Hab endlich das in der WIKI gefunden wovon immer gesprochen wird:
ED Matrix
The LEDs I plan to use are tinted blue 3mm ultrabright LEDs.
All LEDs are connected into a LED matrix. One 74HC595 (the same one used for the switches) is used to sink the current of one group of 16 LEDs. Two 74HC595 are used to power one group of 16 LEDs at a time.
On the base PCB, there are 8 BC547 transistors connected to the 74HC595 used to sink the current for both switches and LEDs. This is a potential improvement to sinking the current directly by the 74HC595. Since all the switches have a diode between the switch and the output pin of a 74HC595, that’s a 0.7v voltage drop, which is less than the 74HC165’s maximum LOW level input voltage (1.35v at 4.5v supply). If I used a darlington array (ULN2803) to sink more current, then its voltage drop (collector-emitter saturation voltage) is about 1.1v at 100mA, so 1.1v + 0.7v > 1.35v. So I’ve used discrete BC547 transistors instead, which only have a 0.4v voltage drop when fully saturated (sinking 100mA of current).
Well, that’s the theory. I did test sinking 16 of my LEDs through one fully saturated BC547 and the voltage at the collector really was 0.4v. I’m assuming there’s enough time between the DOUT register update and the DIN registers being sampled for the BC547 to fully sink the current. If not, I’ll just bridge across the transistors.
Den Teil muss ich jetzt erstmal sauber verstehen und nachvollziehen. Mal sehen was sich ergibt.