7-Segment Display
0 Stars     14 Views    

Author: Erez Ben-Zvi

Forked from: Danijel Kovacevic/7-Segment Display

Project access type: Public

Description:

INTRODUCTION

 

The basic idea involves driving a common cathode 7-segment LED display using combinational logic circuit The seven derived logic diagrams will be then implemented by using NAND logic Gates

 

1.    THEORY

The Seven segment display is most frequently used the digital display in calculators, digital counters, digital clocks, measuring instruments, etc. Usually, the displays like LED’s as well as LCD’s are used to display the characters as well as numerical numbers. But, a seven segment display is used to display both the numbers and characters. These displays are frequently driven by the output phases of digital integrated circuits like decade counters as well as latches. However the outputs of these are in the type of 4-bit BCD (Binary Coded Decimal), so not appropriate for directly operating the seven segment display. For that, a display decoder can be employed for converting BCD code to seven segment code. Generally, it has four input lines as well as seven output lines. This article discusses how to design a BCD to seven segment display decoder circuit using logic gates.

 

      http://t1.gstatic.com/images?q=tbn:ANd9GcT57ho3bwcOZwAxmlGS9X6HrtQf7g-vLj_B-fKUqeKp6lJ6Iyo60g                           http://2.bp.blogspot.com/_-VwjFK-ofUU/S7qvhJmpCpI/AAAAAAAAA50/ZkWxgCxUCGk/s320/7seg.gif

BCD

BCD stands for binary coded decimal. It is a digital numbering system in which we can represent each decimal number using 4 bits of binary numbers.

There are 10 digits in the decimal system. To represent all 10 digits we need 10 combinations of 4 bi

BCD 10 combinations of 4 binary bits

 

A digital system like a computer can understand and easily read a large number in binary format. However, a human cannot read large binary numbers. To solve this problem we need to display it as a decimal digit using 7-segment display.

7-Segment Display

It is a digital device that can be used for displaying decimal number, alphabets, and characters.

7-Segment display

7-Segment display contains 7 LED segments arranged in a shape given in figure above. Generally, there are 8 input pins in a 7-Segment display. 7 input pins for each of the 7 LEDs and one pin for the common terminal.

There are two types of 7-Segment displays.

Common Cathode

In such type of 7-segment display, all the cathodes of the 7 LEDs are connected together to form a common terminal. It should be connected to GND or logic ‘0’ during its operation.

To illuminate any LED of the display, you need to supply logic ‘1’ to its corresponding input pin.

Common Anode

The type of 7-Segment display in which all the anode terminals of 7 LEDs are connected together to form common anode terminal. This terminal should be connected with Vcc or logic ‘1’ during its operation.

To illuminate any of the LED segments we need to provide logic ‘0’ to it.

7-Segment Display Segments for all Numbers

Display combination of decimal numbers is given below.

Digit 1: to display the digit 1 we need to turn on the segments b, c. and turn off the LED segments a, d, e, f, and g. This configuration will result in the display as shown in the figure below.

7-Segment display Digit 1Related article: MUX – Digital Multiplexer | Types, Construction & Applications

Digit 2: to display the digit 2 we need to turn on the segments a, b, d, e, g. and turn off the LED segments c, f. This configuration will result in the display as shown in the figure below.

7-Segment display Digit 2

Digit 3: to display the digit 3 we need to turn on the segments a, b, c, d, g. and turn off the LED segments e, f. This configuration will result in the display as shown in the figure below.

7-Segment display Digit 3

Digit 4: to display the digit 4 we need to turn on the segments b, c, f, g. and turn off the LED segments a, d, e. This configuration will result in the display as shown in the figure below.

7-Segment display Digit 4

Digit 5: to display the digit 5 we need to turn on the segments a, c, d, f, g. and turn off the LED segments b, e. This configuration will result in the display as shown in the figure below.

7-Segment display Digit 5

Digit 6: to display the digit 6 we need to turn on the segments a, c, d, e, f, g. and turn off the LED segments b. This configuration will result in the display as shown in the figure below.

7-Segment display Digit 6

Digit 7: to display the digit 7 we need to turn on the segments a, b, c. and turn off the LED segments d, e, f, g. This configuration will result in the display as shown in the figure below.

·         Related article: DEMUX – Demultiplexer | Types, Construction & Applications

7-Segment display Digit 7

Digit 8: to display the digit 8 we need to turn on the segments a, b, c, d, e, g only. This configuration will result in the display as shown in the figure below.

7-Segment display Digit 8

Digit 9: to display the digit 2 we need to turn on the segments a, b, c, d, f, g. and turn off the LED segments e. This configuration will result in the display as shown in the figure below.

7-Segment display Digit 9

To display these digits using binary numbers we need to decode these binary numbers into the combination used for each pattern or display using Decoder.

7 –Segment display Truth table

 

Karnaugh Maps Simplification

For other combinations of input, the output is “don’t care X” as there are no more digits to display. We will derive the expression for each output using Karnaugh map (K-MAP).

For output a:

7-Segment Karnaugh map For output a

For output b:

7-Segment Karnaugh map For output b

For output c:

7-Segment Karnaugh map For output c

For output d:

7-Segment Karnaugh map For output d

For output e:

7-Segment Karnaugh map For output e

For output f:

7-Segment Karnaugh map For output f

For output g:

7-Segment Karnaugh map For output g

7-Segment Display Decoder Circuit

We have derived an expression for each output now we need to make its schematic using logic gates as shown in the figure given below. Fig: Schematic of BCD to 7-Segment Display Decoder.schematic of BCD to 7-Segment DecoderBC’D

 

Created: Nov 11, 2023

Updated: Nov 11, 2023


Comments

You must login before you can post a comment.