Show Posts
Pages: [1]
1  Using Arduino / LEDs and Multiplexing / Re: Red LED matrix with TLC5940 on: December 27, 2012, 05:58:05 pm
ok, thanks again!! smiley
2  Using Arduino / LEDs and Multiplexing / Re: Red LED matrix with TLC5940 on: December 27, 2012, 02:02:07 pm
ok, I'll let you know for shipping price to France. smiley

One last question, the MAX7219 description on the website you gave me says "Common Cathode serially interfaced display driver".
(http://www.taydaelectronics.com/max7219-7-segment-dot-point-common-cathode-serially-interfaced-display-driver-pdip-24.html)

But I think the matrix is a common-anode one. (not sure though).
Will it work anyway?

Thanks,
Michael
3  Using Arduino / LEDs and Multiplexing / Re: Red LED matrix with TLC5940 on: December 27, 2012, 01:38:36 pm
Hi,

Thanks for you answers! I'm quite disappointed though, I thought it would work with the TLC as I saw several LED projects using it, but seems not as easy as with the MAX7219, which I didn't find at my local store. smiley-sad
I'll check for ordering it, but with shipping to France, it might get quite expensive... anyway... smiley

So with you comments, I got something more or less working by plugging the ROWS to arduino's outputs, and the COLUMNS to the TLC, but it's a bit awkward to use...

Let's go for the MAX7219!

Thanks a lot,
Michael
4  Using Arduino / LEDs and Multiplexing / Red LED matrix with TLC5940 on: December 27, 2012, 12:10:17 pm
Hi all,

I'm just starting playing with a 8x8 red led matrix that I got, my first attempt was somehow successful, but was using all my arduino pins.
So I'm now trying to use a TLC5940 to control the matrix and keep some pins free on the arduino... But it doesn't work! smiley-sad

For the first attempt (without TLC5940), I've just followed the RowColumnScanning tutorial (http://arduino.cc/en/Tutorial/RowColumnScanning), got it working fast, I just add to revert column 4 and column 6 pins, to adapt to my matrix. (I don't have the datasheet of my matrix...), then setting first row to HIGH and first column to LOW was actually lighting my first LED.

Then, moving to TLC5940, I didn't found any simple project example to drive such a simple "one color matrix", but my idea was to use the 8 first outputs of the TLC5940 to set COLUMN values, and the 8 last outputs to set ROWS values in order to be able to control each LED individually. I thought that, using the TCL5940 library form here (http://code.google.com/p/tlc5940arduino/), the following code would do the same effect as when using digitalWrite() in the first attempt:

Code:
Tlc.set(0, 0); // channel 0 is COL1
Tlc.set(8, 4095); // channel 8 is ROW1
Tlc.update();

=> it doesn't work

BUt I I put +5V directly on ROW1, and do Tlc.set(0, 4095), I get the light on first LED...

So I think I've not understood how it should work with the TLC5940....

Is it correct to think that I can control ROWS and COLUMNS with the 16 outputs of the TLC5940?
Then is it supposed to work using the .set() function, as when I was using the digitalWrite with arduino's outputs?

Does anyone as an example of such project?

Thanks a lot!
Cheers,
Michael

Pages: [1]