Pages: [1]   Go Down
Author Topic: 70 leds one at a time  (Read 779 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 39
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello:

I need to control 70 leds. One at a time.
Can you help me? what materials do I need for this?
thank you very much.
Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 180
Posts: 8108
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

5 x "4 TO 16 LINE DECODER/DEMULTIPLEXERr" like the 74154 (80 pins)
1 x "3 TO 8 LINE DECODER" like the 74138 (to enable one of the 5 16-bit decoders)

7 data pins to address the two levels of selector.

If you hook a PWM line to one of the gate inputs on the 74154's you can fade each LED in and out.
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Global Moderator
Boston area, metrowest
Online Online
Brattain Member
*****
Karma: 446
Posts: 23872
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

Or an 8x8 matrix driver chip and an 8-bit shift register for the last few LEDs.
Or a 5x7 matrix driver chip like the MAX6953, can do 4 x 35 LEDs.
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.

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

Thank you very much.

Have you or know any good tutorial to do this?.

Logged

North Yorkshire, UK
Offline Offline
Faraday Member
**
Karma: 104
Posts: 5531
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

or 2x M5451 chips - can drive 35 LEDs each.

The CC-Shield uses two of them so you could use the code from that as a starting point:
http://effluviaofascatteredmind.blogspot.com/2009/02/my-first-arduino-shield-arrived.html
Logged

Global Moderator
Boston area, metrowest
Online Online
Brattain Member
*****
Karma: 446
Posts: 23872
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

If you go to www.arduino.cc, select Learning, search for 8x8 matrix, you will find some links.

This is one of them
http://www.arduino.cc/playground/Main/DirectDriveLEDMatrix
To me there should be current limiting resistors in there somewhere.
Instead of arduino pins, you could drive with shift registers, etc. as discussed above.
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.

Pages: [1]   Go Up
Jump to: