How many Arduino pins can you dedicate to driving the display?
Bear with me, this my first project.
Please include details that are assumed knowledge to an experienced person.
I'm planning to build an external display for PC racing simulators (ie. rFactor)
Mock up:
The plan is to build on breadboard then transfer to perfboard at a later date.
I'm going to use 9x red 4-digit modules (0.56") from here [12 pin version]:
http://www.kingbrightusa.com/categor...+0.56in&Page=1
Should I get Common Cathode, or Common Anode?
My main concerns right now are:
1. Power - How to physically wire power to all of the displays. (using a 5v bench supply most likely)
2. Data Transfer - How to get the data from the arduino onto the displays. (multiplexing? hardware/pin wiring?)
3. Fast display refresh rate/speed - I've seen displays lag with only four 7-segment displays, so i'd rather use extra pins on the Arduino then daisy chain.
4. Special characters. - In addition to (0-9,A,B,C,E,F) Ideally I want to be able to use the segments to form whatever other letters I can. (n, r, o, d, b, etc)
Oh and also, while talking about speed, I plan on also driving two (possibly 3) of these using the (TM1638) library.
http://www.dealextreme.com/p/8x-digi...d-module-81873
Let's leave the TM1638 based modules out of the equation for now, unless we need to somehow wire them together with these displays, in order to not have display lag???
I obviously cannot drive (9x12) pins right off of the arduino, so what is my best option?
How many Arduino pins can you dedicate to driving the display?
My circuit designs should be regarded as experimental. Although they work in simulation, their component values may need altering or additional components may occasionally be necessary when the circuit is built. Due safety precautions should be taken with any circuit involving mains voltage or electrostatic-sensitive components.
Alec's First Law:-
Every problem has a solution (given the right information and resources).
I'm using an Arduino Mega, which has 54 digital IO pins.
I'd say using 40-45 for the display is reasonable.
Shift registers would be useful here
Let me recommend a MAX7219 chip if you go for common cathode displays. Each chip can drive eight digits and handles the multiplexing timing autonomously, so you'd need six of them (two per display row) to keep it tidy. I'd been wondering what using them to control a whole bank of 7-seg displays would be like (eg an Apollo flight computer display) and this is it!
I bought some on ebay and they're cheap and easy to use. You clock the data into them serially and each digit is one internal RAM byte. You can use the internal seven segment decoders or choose to override any digit with a segment pattern of your own. It contains current drivers and uses one resistor per chip to set the segment current but you also have digital brightness control. You can also use them for dot displays up to 8x8 and I have done so with success.
Last edited by elfcurry; 30th June 2012 at 03:44 PM.
There are many 7-segment LED drivers, Here are 3 of them.
Yep, I'm sure there's a lot of choice. Out of those three I'd still go with my low-parts-count (six chip), low-cost MAX7219 suggestion over those other much older single digit driver (ie high-parts-count: 36 chip) alternatives providing he's happy to use common cathode displays and go for a multiplexed design.
Last edited by elfcurry; 30th June 2012 at 06:57 PM.
How big a display do you want?
http://www.sparkfun.com/products/8799
Here is a 4"x5" LCD display (graphic) that can do the job. You will not have to constantly scan the LEDs.
Yes that's a nice alternative - if he hasn't got his mind set on 7-seg display.
.... same with the MAX7219 which does it for you as I said, unlike those 4511 and 7447 single digit drivers."You will not have to constantly scan the LEDs"
Anyway, the OP asked the question six months ago so he probably decided by now.
Last edited by elfcurry; 30th June 2012 at 10:32 PM.
| Tags |
| Similar Threads | ||||
| Thread | Starter | Forum | Replies | Last Post |
| 4-bit binary to decimal into dual 7 segment displays | jupiter669 | Electronic Projects Design/Ideas/Reviews | 28 | 31st March 2013, 04:07 AM |
| Logic behind multiple driving seven segment displays | ant.merlino | General Electronics Chat | 8 | 16th June 2011, 12:55 PM |
| PROJECT: Bowling Pin Counter - 7 Segment Displays | FLCARM1964 | Electronic Projects Design/Ideas/Reviews | 1 | 14th April 2005, 01:56 AM |
| Don't want to waste 7-segment displays | scholesy | General Electronics Chat | 0 | 6th April 2004, 11:15 PM |
| 7-segment displays and data that drives 'em | Bham78 | General Electronics Chat | 7 | 3rd March 2003, 10:13 PM |