Pages: [1]   Go Down
Author Topic: Controller for 140+ LEDs AND Arduino hardware/sofware simulators.  (Read 927 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 Offline
Edison Member
*
Karma: 19
Posts: 1217
A newbie with loads of posts, and still so much to learn !
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

With my mobile phone I can call people and talk to them -  how smart can you get ?

Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Offline Offline
Brattain Member
*****
Karma: 485
Posts: 18810
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Example of controlling 32 LEDs:



http://www.gammon.com.au/forum/?id=11518

You could do more by adding more shift registers in sequence.
Logged


Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Example of controlling 32 LEDs:


http://www.gammon.com.au/forum/?id=11518

You could do more by adding more shift registers in sequence.


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
Offline Offline
Brattain Member
*****
Karma: 485
Posts: 18810
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.

Quote
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 Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Would Arduino be the most cost efficient way to power 132 leds?

Logged

Cape Town South Africa
Offline Offline
Edison Member
*
Karma: 19
Posts: 1217
A newbie with loads of posts, and still so much to learn !
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
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

With my mobile phone I can call people and talk to them -  how smart can you get ?

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 538
Posts: 27115
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

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

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.

Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

* would arduino be the best way to control 132 leds?
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 627
Posts: 34229
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

* 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 Offline
Edison Member
*
Karma: 19
Posts: 1217
A newbie with loads of posts, and still so much to learn !
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

If you are not experienced at programming, then I would say definately Arduino.
Logged

With my mobile phone I can call people and talk to them -  how smart can you get ?

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 538
Posts: 27115
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

Here is an older Arduino controlling 4x MAX7219 to control 256 LEDs.  So there are many ways to control large #s of LEDs.


* 8x32shield.jpg (158.89 KB, 1043x629 - viewed 11 times.)
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.

Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Pages: [1]   Go Up
Jump to: