Question: Simplest way to drive 64 LED's using BSX
bytor95
Posts: 53
Hello,
I created a tide calculator using the basic stamp + coprocessor + EEPROM + LCD.
I want to display the height information in a column of 32 Green/Red LED's so I'd like 64 different outputs. What is the simplest way to achieve this? I need control of each LED separately and to be able to control their states for Red, Green or Off.
Thanks very much in advance!
Engin
I created a tide calculator using the basic stamp + coprocessor + EEPROM + LCD.
I want to display the height information in a column of 32 Green/Red LED's so I'd like 64 different outputs. What is the simplest way to achieve this? I need control of each LED separately and to be able to control their states for Red, Green or Off.
Thanks very much in advance!
Engin
Comments
·
·· Depending on the current draw of the LEDs it may be possible to use two sets of 74HC595 shift registers with a Bi-Color LED between the outputs (don’t forget the resistor).· A HIGH on one output and LOW on the other gives one color while reversing gives the other.· Both LOW (or HIGH) would be off.· This would require eight 74HC595 shift registers and 8 bytes of variable space as well.· I hope this helps.· Take care.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
Thank you for the prompt reply. Thanks to you I have a way of doing this. But I was wondering if anyone was using, say, a Maxim or Philips chip to do the same thing with one or two chips. I intend on using this LED
http://www.jab-tech.com/3mm-Dual-Color-Red-Blue-Led-10-Pack-pr-3574.html
It has 3 leads with a cathode for each color.
Thanks again Chris.
Engin
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
Wow! That's it I think. I'm ordering a few right now. I need to make this thing with less part count so I don't mind the programming.
http://www.maxim-ic.com/quick_view2.cfm/qv_pk/1339
The packaging is not DIP but it's PDIP. I looked that up and learned that the spacing is .300". Will I still be able to use a normal .100" spaced breadboard with these chips?
Thanks again,
Engin
·
·· The PDIP is just Plastic DIP.· The .300” spacing is for the width but the pins are still .100” spacing so you’re all set.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
Perfect reply. You answered exactly just what I was trying to ask.
Thanks man!
Engin
I had one working and then it stopped.
Thanks is advance,
Engin
What you should do is hook up like 8 LED's, the resistor, and the clock, data, and ground pin to the BS2. Then make the simplist program you can think of to make it work. Debug that, and get it working reliably.
Scaling up after that point should be very straightforward.
Oh, damn, it just occurred to me -- I don't think the 7219 support "bi-color" LED's, so that could be part of what you're doing wrong.· So get SEPARATE Red LED's,· Green LED's, and run a column of each.
Part of the problem here is there's an infinite number of ways of blowing stuff up, and only a few ways of getting them working.· So we don't have much to go on, so far.
Post Edited (allanlane5) : 12/15/2006 7:23:29 PM GMT
Thanks for the quick reply. I do have a current limiting resitor. I am using mono-color leds. I still can't figure out what the heck I'm doing wrong. I'm in desperation mode right now so when I get my brain back to normal I'll try again.
Engin
·
·· Here is a Completed Project that uses the MAX7219 and includes code and schematics.· Perhaps it will help you out.· Take care.
http://forums.parallax.com/showthread.php?p=552892
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
Engin