Offline
Newbie
Karma: 0
Posts: 6
|
 |
« on: December 08, 2012, 03:49:37 pm » |
Im new to Arduino and was wondering if it could control 100 - 200 different LEDs individually . Ive seen arduinos that can control 8 leds but nothing as big as i was thinking.
Also are there any programs that will simulate the arduino software and/or hardware, where i can maybe draw out plans and programming to test without having the physical parts.
Thanks for all the help in advance.
|
|
|
|
« Last Edit: December 08, 2012, 04:40:38 pm by The_cerb »
|
Logged
|
|
|
|
|
Cape Town South Africa
Offline
Edison Member
Karma: 17
Posts: 1104
A newbie with loads of posts, and still so much to learn !
|
 |
« Reply #1 on: December 08, 2012, 04:05:55 pm » |
Welcome Yes you can control almost as many LEDs as you wish, you can use shift registers ( 595s ), run through the examples, and look at sites such as tronixstuff to learn the basics.
|
|
|
|
|
Logged
|
We live in the era of the smart phones and stupid people.
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 6
|
 |
« Reply #2 on: December 08, 2012, 04:11:03 pm » |
thanks for the fast response and info i will read through tronixstuff and post if i have any other questions.
Thanks again
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Melbourne, Australia
Offline
Shannon Member
Karma: 219
Posts: 13896
Lua rocks!
|
 |
« Reply #3 on: December 08, 2012, 04:26:58 pm » |
Example of controlling 32 LEDs: http://www.gammon.com.au/forum/?id=11518You could do more by adding more shift registers in sequence.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 6
|
 |
« Reply #4 on: December 08, 2012, 07:24:48 pm » |
Could this be done with another shift register with more outputs while using the same amount of power? also i saw that you have done this with your bare bones board with 3 AA batteries, and was wondering how long the battery life was with it flashing and constantly on. thanks for the help.
|
|
|
|
« Last Edit: December 08, 2012, 07:34:56 pm by The_cerb »
|
Logged
|
|
|
|
|
Global Moderator
Melbourne, Australia
Offline
Shannon Member
Karma: 219
Posts: 13896
Lua rocks!
|
 |
« Reply #5 on: December 08, 2012, 09:18:18 pm » |
The power you have to worry about is the LEDs, not the shift register. You can probably get ones with more outputs, but bear in mind that 40 pins is generally the max for non SMD devices. also i saw that you have done this with your bare bones board with 3 AA batteries, and was wondering how long the battery life was with it flashing and constantly on. Not long, I imagine. That was a demo. If I wanted to flash dozens of LEDs I would be running off mains power.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 6
|
 |
« Reply #6 on: December 08, 2012, 11:49:14 pm » |
Would Arduino be the most cost efficient way to power 132 leds?
|
|
|
|
|
Logged
|
|
|
|
|
Cape Town South Africa
Offline
Edison Member
Karma: 17
Posts: 1104
A newbie with loads of posts, and still so much to learn !
|
 |
« Reply #7 on: December 09, 2012, 12:12:46 am » |
Would Arduino be the most cost efficient way to power 132 leds? You can't power them from the Arduino ( unless they timeshare the 40mA available, which would make them dim ) You can power them via some sort of driver, a shift register or a multiples driver, which handles the current switching.
|
|
|
|
|
Logged
|
We live in the era of the smart phones and stupid people.
|
|
|
|
Global Moderator
Boston area, metrowest
Offline
Brattain Member
Karma: 249
Posts: 16540
Available for Design & Build services
|
 |
« Reply #8 on: December 09, 2012, 12:56:41 am » |
Could also use a couple of MAX7219s, each one controlling up to 64 LEDs. MAX7219 handles the multiplexing of the LEDs for you, you need only perform a write to one of 8 registers to control 8 LEDs in a column. $1.25 each at taydaelectronics.com http://datasheets.maximintegrated.com/en/ds/MAX7219-MAX7221.pdf
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 6
|
 |
« Reply #9 on: December 09, 2012, 02:28:35 am » |
* would arduino be the best way to control 132 leds?
|
|
|
|
|
Logged
|
|
|
|
|
Manchester (England England)
Online
Brattain Member
Karma: 277
Posts: 25515
Solder is electric glue
|
 |
« Reply #10 on: December 09, 2012, 03:18:11 am » |
* would arduino be the best way to control 132 leds?
It is as good as anything else, so not the best.
|
|
|
|
|
Logged
|
|
|
|
|
Cape Town South Africa
Offline
Edison Member
Karma: 17
Posts: 1104
A newbie with loads of posts, and still so much to learn !
|
 |
« Reply #11 on: December 09, 2012, 03:35:14 am » |
If you are not experienced at programming, then I would say definately Arduino.
|
|
|
|
|
Logged
|
We live in the era of the smart phones and stupid people.
|
|
|
|
Global Moderator
Boston area, metrowest
Offline
Brattain Member
Karma: 249
Posts: 16540
Available for Design & Build services
|
 |
« Reply #12 on: December 09, 2012, 07:09:21 am » |
Here is an older Arduino controlling 4x MAX7219 to control 256 LEDs. So there are many ways to control large #s of LEDs.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 6
|
 |
« Reply #13 on: December 09, 2012, 10:02:29 pm » |
Thanks for all the help and will look into different shift registers to use.
Does anyone know about an emulator or simulator like Virtual bread Board that can simulate arduino programing and a bread board at the same time?
|
|
|
|
|
Logged
|
|
|
|
|
|