Maximize Your Display Control: Using Micros for Multiple 7 Segment Displays

  • Thread starter Yportne
  • Start date
In summary, it is possible to control many 7 segment displays with one micro? I'm talking like 40 of them! If not are segment display micros expensive? Picture a wall of 7 segment displays with a bunch of numbers. I think this would be fun...Yes if you have a proper interface to the microcontroller.You can multiplex them. You need 7 data pins for each segment and 1 data pin for each digit. If you want to drive 40 digits, you need 47 data pins. If one uC isn't enough, you can use as many as you need; you only need one free pin on each chip to send serial data between them. You could also use daisy-chained
  • #1
Yportne
21
0
It is possible to control many 7 segment displays with one micro? I'm talking like 40 of them! If not are segment display micros expensive? Picture a wall of 7 segment displays with a bunch of numbers. I think this would be fun...
 
Engineering news on Phys.org
  • #2
Yes if you have a proper interface to the microcontroller.
 
  • #3
You can multiplex them. You need 7 data pins for each segment and 1 data pin for each digit. If you want to drive 40 digits, you need 47 data pins. If one uC isn't enough, you can use as many as you need; you only need one free pin on each chip to send serial data between them. You could also use daisy-chained decade counters to control the common anode or cathode and let the uC generate the clock pulses for them and also to control the segments. Both schemes rely on strobing the displays at a high rate of speed so the eye is fooled into thinking they're all displaying digits at the same time; in reality, only one is displaying at a time.
 
  • #4
negitron said:
You can multiplex them. You need 7 data pins for each segment and 1 data pin for each digit. If you want to drive 40 digits, you need 47 data pins.
You can reduce the number of data pins even further if you encode the clock pulses for the 40 digits in BCD (7 data pins) and the 7 segments in BCD (4 data pins) and do the decoding (11 lines to 47 lines) at the display.
 
  • #5
Yes this sounds like what i want to hear :)

Unfortunately its very technical. I have only recently learned how to control one 7 segment with a basic stamp...So multiplexing and all that jazz is a bit Chinese.

Can anyone break this down into more theory than proper terms?

As i understand, a 7 segment uses one pin to control each line segment. Sooo... how can i say display "9876" with only 11 pins? don't you need to contact 7 points on each digit to light up the segments?
 
  • #6
Hi Yportne-
For "9876", on the segment BCD lines you send 1001, 1000, 0111, and 0110.
And on the decade (clock) BCD lines you synchronously send 0001, 0010, 0011, and 0100.
These are decoded from BCD to 7 segments and BCD to 40 decades at the display. You will also need to send a ground and VCC for the decoders.
Bob S
[Added note] The 7447 chip
http://web.mit.edu/6.s28/www/datasheets/DM74LS47.pdf
has the 4 line (BCD) to 7 segment decoder plus a blanking input to turn off all segments. .
Bob S
 
Last edited by a moderator:
  • #7
Hook up the first 7 pins in parallel to all 4 led displays. If for instance, all 4 displays were ON, then they all would display the same digit coming from the microcontroller. The trick is not to turn on all the displays at the same time, but to turn them on and off in sequence very fast. You can use the remaining 4 pins to turn on or off each display independently.
 
  • #8
OOoooo I'm surprised how fast what yall said made sense...with the help of a googled tutorial I think I'm going to get this pretty soon...

I'll keep yall posted if I run into any more questions, thanks for the help!

By the way, anyone know where I can buy some 7-segment displays online? I just want to browse through the different kinds to see what's out there :)
 
  • #10
Here is a block diagram of what I was thinking for the 40 decades. You would need one BCD to 7 segment decoder (plus line drivers maybe), and a BCD to 40 channel decoder for the decade clock.
 

Attachments

  • BCD_to_7_seg.jpg
    BCD_to_7_seg.jpg
    12.6 KB · Views: 434
  • #11
Yportne said:
By the way, anyone know where I can buy some 7-segment displays online? I just want to browse through the different kinds to see what's out there :)

http://www.goldmine-elec-products.com/products.asp?dept=1040

I strongly urge anyone interested in electronics experimentation to browse through this store.
 
  • #13
That's my other favorite electronics hobbyist site.
 
  • #14
You might get into trouble trying to multiplex 40 7 segment displays by rapid switching.

The displays would only get a 2.5% duty cylcle, so they would be turned off most of the time. They would be pretty dim and probably flickering.

It might be better to use a latch, decoder, driver for each LED display so that you turn a display on and leave it on until the next time you refresh it.

Something like this:
http://www.nteinc.com/specs/8000to8999/pdf/nte8374.pdf

So, you would connect all the latches to 4 BCD lines and turn them on one at a time with 40 individual drive lines that go to the latch enable lines on the chips.

This way the displays would be at full brightness and there would be minimal problems with flickering displays.

More interesting would be to put a lot of LEDs in a rectangular pattern and drive them as a matrix. This would allow alphabetic characters as well as numbers.
I would like one of these to send greeting messages to drivers behind my car who are driving too closely. :)
 

1. What is a 7 segment display?

A 7 segment display is a type of electronic display device that consists of seven individual segments, arranged in the shape of a digit 8. It is commonly used to display numbers and some letters or symbols.

2. How does a 7 segment display work?

A 7 segment display works by lighting up specific segments in a pattern to display different numbers or symbols. Each segment is controlled by a separate input, allowing for a wide range of combinations to display different characters.

3. What are the common applications of 7 segment displays?

7 segment displays are commonly used in digital clocks, calculators, and other electronic devices that require a simple and cost-effective way to display numbers. They are also used in industrial equipment and some electronic games.

4. What are the advantages of using a 7 segment display?

The main advantages of using a 7 segment display are its simplicity, low cost, and low power consumption. It also provides a clear and easy-to-read display of numbers, making it suitable for a variety of applications.

5. What are the limitations of 7 segment displays?

One of the major limitations of 7 segment displays is that they can only display numbers and a limited set of letters or symbols. They also have a fixed size and cannot display more complex characters or graphics. Additionally, they may not be suitable for applications where high-resolution or bright displays are required.

Similar threads

  • Electrical Engineering
Replies
3
Views
2K
Replies
62
Views
3K
Replies
9
Views
1K
  • Electrical Engineering
Replies
12
Views
6K
  • Electrical Engineering
Replies
12
Views
2K
  • Electrical Engineering
Replies
11
Views
7K
Replies
3
Views
2K
  • Electrical Engineering
Replies
7
Views
1K
  • Electrical Engineering
Replies
26
Views
2K
  • DIY Projects
Replies
20
Views
2K
Back
Top