Hi!
I was wondering if I could play a little bit with the TLC5940Mux but I am unsure about how to wire the setup up and what exact parts I have to buy.
I've drawn the wiring in the attachment as far as I understood it. But I do not know how to insert the PNP Darlingtons... Can someone please draw an example for me?
What are the PNPs for?
I believe the 74xx138s have 1 of 8 outputs low. The '5940 sinks current, so it will be turning on 7 of the 8 outputs all the time.
Neither one can source very much current (look at Voh and the current Ioh) while the '5940 can can a sink a lot more current.
Did you perhaps mean put an inverter between the '138 the LED Anode so that only 1 is active and being PWM'd byt the '5940 at a time?
Or is that where the PNP transistor comes in? The 1 low turns on a PNP to let current flow into the LED anode for '5940 to sink?
Thank you for helping!
Here is what the text in the example file says:
/*
Analog 0-2 (PORTC) is hooked to a 3:8 line decoder (74LS138) which pull the
Base of a PNP darlington (MPSA63) low through a 10k resistor for each row.
+5V is connected to the Emitter of the PNP's, and all the anodes (+) of the
leds for each row are connected to the Collector.
Currently I'm trying to fix timing issues by putting some D-type positive
edge triggered latches between PORTC and the 3:8 line decoder, clocked on
the rising edge of XLAT, but this doesn't seem to help. I'm bringing the
circuit in to the logic analyzer this weekend to see exactly when the ISR
runs and how long it takes to shift in the GS data.
Alex Leone, 2009-04-30
*/
But I have to admit, that I am not very familiar with the transistor stuff...
The link provided by KirAsh4 only shows a wiring example for the standard use, not for the multiplexed setup...