|
|||||||
![]() |
Forum Index > Projects > Micro-readerboard project support | ||
alphanumeric led display with arduino? |
|||
| | | Printable Version |
|
Leviathan34 | ||||||||
|
Hey, I am experimenting with my arduino and I wanted to make a hexadecimal clock. So I was wondering if it is possible to use 3 of these displays with an arduino duemilanove. And if it is possible, then how to use the display with an arduino. (i.e. some example code) Any help would be greatly appreciated! |
![]() Henchperson ![]() Status: offline
Registered: 11/15/09 |
||||||||
|
|||||||||
|
Windell | ||||||||
|
Certainly possible, but not necessarily trivial. To drive one 17-segment alphanumeric display with decimal point, you need 17 lines of control. To control three, you can use 17+3=20 lines, where the third line is used to select which display you're addressing. Unfortunately, the Arduino does not have that many free display lines if you also need a serial or ICSP port available. If you don't, then you can pretty much hook it up straight, adding one resistor to each of those seventeen lines. Windell H. Oskay drwho(at)evilmadscientist.com http://www.evilmadscientist.com/ |
![]() Evil Scientist ![]() Status: offline
Registered: 06/15/06 |
||||||||
|
|||||||||
|
Leviathan34 | ||||||||
Quote by: WindellCertainly possible, but not necessarily trivial. To drive one 17-segment alphanumeric display with decimal point, you need 17 lines of control. To control three, you can use 17+3=20 lines, where the third line is used to select which display you're addressing. Unfortunately, the Arduino does not have that many free display lines if you also need a serial or ICSP port available. If you don't, then you can pretty much hook it up straight, adding one resistor to each of those seventeen lines.
|
![]() Henchperson ![]() Status: offline
Registered: 11/15/09 |
||||||||
|
|||||||||
|
Windell | ||||||||
|
>whats a demultiplexer chip and where can i get one????? Windell H. Oskay drwho(at)evilmadscientist.com http://www.evilmadscientist.com/ |
![]() Evil Scientist ![]() Status: offline
Registered: 06/15/06 |
||||||||
|
|||||||||
|
Leviathan34 | ||||||||
|
Never mind about the serial ICSP thing... I was confused. |
![]() Henchperson ![]() Status: offline
Registered: 11/15/09 |
||||||||
|
|||||||||
|
Windell | ||||||||
|
>I looked up some demultiplexers on electronics goldmine. What kind should I use? Windell H. Oskay drwho(at)evilmadscientist.com http://www.evilmadscientist.com/ |
![]() Evil Scientist ![]() Status: offline
Registered: 06/15/06 |
||||||||
|
|||||||||
|
Leviathan34 | ||||||||
|
Wait I thought you said that I couldn't hook up 3 displays because there aren't enough pins on the arduino. |
![]() Henchperson ![]() Status: offline
Registered: 11/15/09 |
||||||||
|
|||||||||
|
Windell | ||||||||
|
>Wait I thought you said that I couldn't hook up 3 displays because there aren't enough pins on the arduino. Windell H. Oskay drwho(at)evilmadscientist.com http://www.evilmadscientist.com/ |
![]() Evil Scientist ![]() Status: offline
Registered: 06/15/06 |
||||||||
|
|||||||||
|
Leviathan34 | ||||||||
|
I want to make a hexadecimal clock with 3, 17-segment LED displays using the Arduino Duemilanove. I can use any of the 13 I/O pins to do this. I do not need to have any of the ICSP pins available so I can use the ICSP pins if I need to. I need to know how to hook the displays up to the arduino and how to communicate with the displays using the arduino. |
![]() Henchperson ![]() Status: offline
Registered: 11/15/09 |
||||||||
|
|||||||||
|
Leviathan34 | ||||||||
Quote by: Windell>How would I hook up the displays if I do have an ICSP or serial port available?
|
![]() Henchperson ![]() Status: offline
Registered: 11/15/09 |
||||||||
|
|||||||||
|
Leviathan34 | ||||||||
|
So, any thoughts? |
![]() Henchperson ![]() Status: offline
Registered: 11/15/09 |
||||||||
|
|||||||||
|
karlgg | ||||||||
|
What I think was missed in the previous explanations was that you can use a single decoder to light a single display with only a few lines, and then use three more lines to choose which of the three displays was active. That way, you can go from one display to the next, displaying its digit for a moment before moving to the next. It's the same way most LED displays work, just flickering too fast for you to notice. I think I am, therefore I am... I think |
![]() Mad Scientist ![]() Status: offline
Registered: 01/25/09 |
||||||||
|
|||||||||
|
Leviathan34 | ||||||||
|
Thanks for the help guys. I thought about some of the things you guys said and I think I know how I'm going to wire it now. |
![]() Henchperson ![]() Status: offline
Registered: 11/15/09 |
||||||||
|
|||||||||
|
Windell | ||||||||
|
> I think I know how I'm going to wire it now. Windell H. Oskay drwho(at)evilmadscientist.com http://www.evilmadscientist.com/ |
![]() Evil Scientist ![]() Status: offline
Registered: 06/15/06 |
||||||||
|
|||||||||
|
Leviathan34 | ||||||||
|
UGGGG! |
![]() Henchperson ![]() Status: offline
Registered: 11/15/09 |
||||||||
|
|||||||||
|
|
| All times are PDT. The time is now 10:19 AM. |
|
|
Octolively
Interactive LED kits
Meggy Jr RGB
LED matrix game
development kit.
Business-card sized
AVR target boards
Peggy 2
LED Pegboard kits