Pages: [1]   Go Down
Author Topic: Controlling 360 LEDs with TLC5940's  (Read 855 times)
0 Members and 1 Guest are viewing this topic.
Sioux Falls
Offline Offline
Jr. Member
**
Karma: 0
Posts: 77
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi, I am making an interactive led table using ir sensors and emitters and 360 leds.  Each pixel is 4 " x 4 "  square, with a 3 x 3 led setup in each.  There are a total of 8 x 5 = 40 pixels in the table.  In this youtube video........       ...  he says that he only uses 1 led driver for all of those leds, how is that possible?  I thought, for instance with the tlc5940, only 16 leds could be driven?  Am I wrong?  I do NOT want to have to buy 40 TLC's for this project, please let me know.

Thanks.

email too at njs707@gmail.com
Logged

Manchester (England England)
Online Online
Brattain Member
*****
Karma: 514
Posts: 31535
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

The trick is to multiplex them, but then you can't multiplex too much because you get dim LEDs and flickering.

Quote
he says that he only uses 1 led driver for all of those leds, how is that possible?
Because that is not what he said. He said he uses only one CONTROLLER meaning processor NOT 1 LED driver.
« Last Edit: June 14, 2011, 12:30:29 pm by Grumpy_Mike » Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 443
Posts: 23834
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

The LEDs seem to light up in blocks - maybe there just 1 output per block driving a transistor.
Will have to play with volume to hear the explanation.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Manchester (England England)
Online Online
Brattain Member
*****
Karma: 514
Posts: 31535
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

He says that it is a four by four pixel grid, that takes 16 different LED drivers, that is how many you get with a TLC5940. Each pixel is a 3 by 3 grid of LEDs, that means for each output of the TLC5940 he is driving 9 LEDs at the same time. Also there is another TLC5940 to control the IR emitters for the hand sensors to pick up.
Logged

Sioux Falls
Offline Offline
Jr. Member
**
Karma: 0
Posts: 77
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Well he says that one LED driver is for the white lights and the other is for the ir emitters, so it looks as if he only uses 1 led driver for all of those lights that light up, unless he has another circuit hiding under his setup which I doubt. And to be clear I am talking about the smaller of the two boards he is working with, the one that does NOT work well in external light.  But, is multiplexing, which I have sort of learned how to do here...
...         ......  is it a good idea.. meaning could it in any way wreck my atmega328?  Is this guy's way good?  Id just do 4 x 4's using 8 pins, so I could control 32 LEDs with 16 pins.
Logged

Manchester (England England)
Online Online
Brattain Member
*****
Karma: 514
Posts: 31535
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
the one that does NOT work well in external light.
Yes he is on totally the wrong approach as to why that does not work, he thinks it is because of multiplexing time but it is not, it is due to sensor saturation. Anyway if you want to multiplex a TLC5940 the see this project:-
http://www.thebox.myzen.co.uk/Hardware/Mini_Monome.html
Logged

Pages: [1]   Go Up
Jump to: