Multiple Leds ... need source

For other supported Arduino products from Adafruit: Shields, accessories, etc.

Moderators: adafruit_support_bill, adafruit

Multiple Leds ... need source

Postby ikkeechtwel » Mon Jan 07, 2008 6:12 pm

hello,

i've tried everything i can think of to get 18 leds working on my arduino, but couldn't find a solution,

cause i couldn't get hold of the parts,

but now i found this schematic and i got the parts,

i only need to know how to program my arduino to use it.... could you guys help me out with the source,

i've to get this working before next monday.....

http://www.arduino.cc/playground/upload ... _leds2.jpg

hope to here from you soon

bye
ikkeechtwel
 
Posts: 2
Joined: Mon Jan 07, 2008 6:08 pm

Postby adafruit » Tue Jan 08, 2008 12:55 pm

you should post to the arduino.cc forum since the author probably reads the postings there
User avatar
adafruit
 
Posts: 10491
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

Postby ikkeechtwel » Tue Jan 08, 2008 1:22 pm

thanx for the quick reply..

i some how came across charlieplexing... i'll have a go with it, it could do the trick. i think

bye
ikkeechtwel
 
Posts: 2
Joined: Mon Jan 07, 2008 6:08 pm

Postby Entropy » Tue Jan 08, 2008 4:41 pm

That might work.

By the way, the schematic you linked to allows multiple LEDs to be used, but not independently. The way they're wired, a logic high from the microcontroller on the correct pin will cause the transistor to turn on, which will cause all LEDs in that schematic sample to turn on. i.e. an all-or-nothing approach.

Back in '02 my lab partner and I were too lazy to put up a webpage for our ECE 476 final project. (It has since become a requirement...) It might have been of use to you, as we were driving a scrolling LED matrix (5-6 8x5 units IIRC) from an AT90S8515 (one of the older 40-pin parts).

We were using a set of 8-bit latches for the columns, and 8 output pins from the 8515 for the rows (or possibly another latch?). The process was something like:

Put the on/off state of each LED in a row into the latches.
Strobe that row on and off
Do the same for the next row

It wasn't very efficient and had some brightness problems... There are better ways to do it.
Entropy
 
Posts: 472
Joined: Mon Jan 07, 2008 11:43 pm
Location: Owego, NY USA


Return to Other Arduino products from Adafruit

Who is online

Users browsing this forum: No registered users and 4 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [107]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[31]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[33]
LCDs & Displays[48]
Components & Parts[70]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[111]
 
Wireless[14]
Cables[62]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]