How do I connect a 192 rgb-leds led-matrix 12x16 leds in to arduino?
sp. "12x16x3"
Even if your LEDs are only 20mA each, you'll need nearly 12 amps of power supply.
If you want to dim the LEDs individually, you're going to need something like 3 TLC5940s.
That's a lot of board space.
Read the link. It means turning only one row on at a time but you change the row so often it looks like it is on all the time. That is how you control a matrix.
Pretty tall order for an arduino but maybe not impossible.
in what way? is it not enough power to drive so many leds? I guess the power from the usb isnt enough and need to connect to a external powersupply? or is it in any other way problematic to build something like this.
Are you a computer person wanting to control a matrix? If so, what language are you using, etc?
Im guess I need something like this:
TLC5940 - but how many rgb leds can one TLC5940 drive? so I can get individual control of every led?
192 st rgb leds
The TLC chip details can be found here .. it runs 16 channels - which means one can run 5.3 leds. http://www.arduino.cc/playground/Learning/TLC5940
It will take 36/37 TLC chips to run that many leds unless you multi-plex. If you re-read all the posts you will see the 3 TLC comment was a typo.
You need to get the data quick enough to update the data 30 fps directly from the computer - that may be pushing the serial limits of the arduino - hence the tall order comment.
The TLC link I provided above was the first result in a search for TLC5940 on this site - you will have to learn to do some forum searches and start doing lots of learning. Check this other forum link - 112 RGBs and see the scale of the project. http://arduino.cc/forum/index.php/topic,8664.0.html
So consider the scale, time and budget of what you want to do and more forward accordingly if a build is your plan.
Pretty tall order for an arduino but maybe not impossible.
in what way?
Sorry but if you have to ask why then I would venture that this is impossible for you. You seem to have no idea as to the difficulty or complexity of the task.
Wiring up 37 TLC59540s and getting them to work is a massive challenge both physically and electrically.
Scaling up in electronics is not always easy. You are dealing with high speed signals so you will need to use a number of buffers, you can't just connect an arduino output to 37 chips inputs and expect it to work just like that. Also layout is going to be critical and wiring quite a maze.
With 192 LEDs you need 192 * 3 * 2 = 1152 bytes to store the data for one frame, this is just about on the limit of the free memory on a system.
If I were doing this I would split it up into 4 separate systems, with an arduino controlling each.
As mike says - breaking into multiple parts is a great way to attack such a project. I use that concept for most of my larger arduino based builds. Feeding that many LEDs directly from the computer is not hard using the right technology. However, it will be a long term learning project for you to build this from scratch with raw chips, the arduino and little experience. That can be very rewarding - just be ready for it. Also start much smaller and understand you can't just "scale up directly" as Mike says.
If an electronics project designed to teach you about the micro-processors is what you are after, then arduino is perfect. If you are a computer pro that wants to program a matrix then a "turn key" system may be in order.
You seem to have no idea as to the difficulty or complexity of the task.
thats probably true but I will give it a try and thanks a lot for your input!
If I were doing this I would split it up into 4 separate systems, with an arduino controlling each.
maybe I shall consider this.
If you are a computer pro that wants to program a matrix then a "turn key" system may be in order.
more towards this direction. but Im mainly a bit skilled in max. not really a computer pro what does the english expression turn key mean by the way.
do anyone know any good tutorial that can point me in the right direction and help me to understand a bit more what Im doing
but I think I need to use the multiplexing way to hold down the costs of TLC59540s cause (maybe stupid question again ) then I only need 4 times less number of TLC59540s?
How do I connect a 192 rgb-leds led-matrix 12x16 leds in to arduino?
Take a look at this project:
The display is 16x10 RGB + 16x2 single-colour, pretty close to your requirements.
It uses individual LEDs that can be placed on a bigger board if that's what you need.
You can also contact Justin & co for advice.
I have posted some beta code in the ShiftPWM topic to support matrices.
Maybe it will work for you. I use shift registers for the rows and shift registers for the columns and do all the PWM in software.