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

  • Thread starter Thread starter Yportne
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around the feasibility and methods of controlling multiple 7 segment displays using microcontrollers, specifically focusing on the potential to manage up to 40 displays. Participants explore various technical approaches, including multiplexing and the use of decoders, while addressing the challenges and limitations associated with such configurations.

Discussion Character

  • Technical explanation
  • Exploratory
  • Debate/contested

Main Points Raised

  • Some participants suggest that controlling many 7 segment displays is possible with a proper interface to the microcontroller.
  • Multiplexing is proposed as a method to reduce the number of data pins needed, with one participant stating that 47 data pins would be required to drive 40 digits.
  • Another participant mentions that encoding clock pulses in BCD could reduce the number of data pins further.
  • A participant expresses confusion about how to display multiple digits with a limited number of pins, seeking a more theoretical explanation.
  • Specific BCD values are provided for displaying the digits "9876," along with a reference to a decoder chip (7447) that could facilitate this process.
  • One participant suggests connecting the first 7 pins in parallel to all displays, emphasizing the importance of turning them on and off in sequence to avoid displaying all at once.
  • Concerns are raised about the potential dimness and flickering of displays due to rapid switching, with a recommendation to use latches and drivers to maintain display brightness.
  • Participants share links to resources for purchasing 7 segment displays and related components.
  • There is a suggestion to explore using LED matrices for more versatile display options, such as showing alphabetic characters.

Areas of Agreement / Disagreement

Participants generally agree that controlling multiple displays is feasible but express differing opinions on the best methods to achieve this. There is no consensus on the optimal approach, with some advocating for multiplexing and others cautioning against its limitations.

Contextual Notes

Participants note various assumptions about the technical requirements and limitations of multiplexing, including the potential for reduced brightness and flickering due to duty cycle concerns. The discussion also highlights the need for additional components like decoders and latches, which may complicate the design.

Who May Find This Useful

This discussion may be useful for electronics enthusiasts, hobbyists interested in microcontroller projects, and those exploring display technologies in embedded systems.

Yportne
Messages
21
Reaction score
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
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 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.
 
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.
 
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?
 
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:
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.
 
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: 521
  • #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. :)
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 12 ·
Replies
12
Views
7K
Replies
9
Views
2K
Replies
3
Views
3K
Replies
13
Views
5K
  • · Replies 11 ·
Replies
11
Views
8K
  • · Replies 15 ·
Replies
15
Views
4K
  • · Replies 2 ·
Replies
2
Views
5K
Replies
66
Views
10K
  • · Replies 12 ·
Replies
12
Views
4K