Re: Multiplexing LEDs - calculating resistor value




nospam wrote:
"roxlu" <diederickh@xxxxxxxxx> wrote:
My previous post about speeding up multiplexing resulted in a display
with
8x48 LEDs. As I suggested and read, the LEDs are becomming less bright
when more than 2 LEDs are on in a matrx of 8x48 >=.

Here is a small part of the circuit to show the current limiting
resistor of 100R.
http://imagebin.org/5461

It sounds like you are still driving the matrix wrong. With the circuit you
linked only one bit in the row shift register should be on so only one LED
connected to that 100R resistor will be on at a time and that LED gets the
whole 21 mA.

When you start driving the matrix the right way remember all 48 LEDs could
be on and the row drivers will have to source just over 1 Amp which the
transistors you chose may not be capable of.

--

Hi nospam and John

Thanx a lot for all your comments and suggestions.

It sounds like you are still driving the matrix wrong. With the circuit you
linked only one bit in the row shift register should be on so only one LED
connected to that 100R resistor will be on at a time and that LED gets the
whole 21 mA.

Just to make clear what you mean here...... I'm driving the matrix like
this: At start I make the first column (vertical) high. Than I set
which of the eight LEDs (the "row") must be turned on. This is how I'm
driving the matrix now.

Do you mean that I need to drive it like this:
Make the first column high, than lets say that LED 2 and 4 must be
turned on, I first shift this into the shift register: 0000 0010 (LED
2), than I put LED 2 off: 0000 0000 And than I put LED 4 on: 0000 1000.
Is this correct? If so, I think this will take a lot of processing
power from my uC.

Thanks,
Greetings

.



Relevant Pages

  • Re: Explanation of the whole 300 mA thing
    ... If you use a single '164 shift register to drive bipolar transistor ... It is a push pull circuit, ... But you can multiplex the switches with the same circuit as the LEDs. ...
    (comp.arch.embedded)
  • Programmable IR LED Flasher Circuit -- How to Build?
    ... You attach it to the battery then program the flash sequence by ... Once you first short the terminals, ... I had originally thought 555 timer and shift register. ... keep cycling through the shift register and illuminate the LEDs. ...
    (sci.electronics.design)
  • Re: FPGA quiz3, or where Antti did give up and does not know answer or acceptable workaround
    ... LEDS <= do64s(63 downto 60); ... FPGA is really full. ... problem has nothing to do with the the shift register code. ...
    (comp.arch.fpga)
  • Re: want to drive some LEDs from user-port
    ... I'm on a business trip and do not have access to my datasheets to see the 6526 pins, but the 6526 has a built in shift register. ... Then, put your LEDs and resistors on the outputs, but hook them up common anode to the pins. ... That will make the load less on the TTL IC, since TTL can sink more than it can source. ... The downside of this is that the LEDs will be inverse your byte, but you can either fix that in SW or you can put a 7404/06 on the shift register outputs to invert them ...
    (comp.sys.cbm)
  • Re: Multiplexing - how to speed up
    ... I'm working on a project where I need to multiplex a matrix of 512 LEDs ... Currently I'm testing with 5 cascaded shift registers (serial in, ... After adding the 5th shift register the image started flickering. ... void shift_column_bit ...
    (sci.electronics.design)