Pages: [1]   Go Down
Author Topic: Controlling lots of LEDs  (Read 345 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 11
www.gunnewiek.com
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I need to control 25 LEDs with my arduino uno individually. If there were 25 different pins then I could just hook up one to each pin, but that is not the case for me. What is the best way to do this?
Logged


0
Offline Offline
Faraday Member
**
Karma: 13
Posts: 2857
ruggedcircuits.com
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

You should consider using a shift register. Here is a tutorial:

http://www.arduino.cc/en/Tutorial/ShiftOut

--
The Gadget Shield: accelerometer, RGB LED, IR transmit/receive, speaker, microphone, light sensor, potentiometer, pushbuttons
Logged

UK
Offline Offline
God Member
*****
Karma: 10
Posts: 903
Twitter: @simonmonk2
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

.. or the more expensive, but less soldering solution of using an Arduino Mega.

More pins than you can shake a stick at.
Logged

--
My New Arduino Book: http://www.arduinobook.com

Pages: [1]   Go Up
Jump to: