BCD to 7 Segment Decoder

by rafay_k in Circuits > LEDs

313 Views, 0 Favorites, 0 Comments

BCD to 7 Segment Decoder

WhatsApp Image 2024-01-24 at 23.52.26.jpeg

We have made a BCD to 7 segment decoder, it was my lab project and we thought that we should upload it so why not!


A Binary-Coded Decimal (BCD) to Seven-Segment Decoder is a digital circuit commonly implemented using ICs like the 7447. It takes a 4-bit BCD input, representing decimal digits, and converts it into signals to illuminate the appropriate segments on a seven-segment display. Each BCD input corresponds to a specific decimal digit, and the decoder's output activates the necessary segments to visually display the digit. This type of decoder finds widespread use in digital display applications such as clocks and calculators, where numerical information needs to be presented on seven-segment displays. Its functionality simplifies the process of converting binary-coded decimal data into a format suitable for showcasing numerical information in various electronic devices. 

Supplies

BCD decoder is a complex circuit, to make it easy I have used IC 7447. This IC has 16 pins, pin 8 for ground and 16 for VCC. Pin 3 for display test, whether to check if all segments of display are working or not. Pins 4 and 5 are blank I/O. Pin 1 2 6 and 7 are four inputs and pin 9 to 15 belongs to each segment of LED display. 


For display I have used a common anode LED. It means to turn on the device it must be put in VCC. 


I used a resistor of 1 kilo ohm, just to be on safer side and protect the display. 


 


In circuit diagram the GATES used are as follow: 


GATES 

NUMBERS OF GATES  

AND        9 

OR         8 

NOT        4 

Working

image_2024-01-27_195831076.png

WORKING: 


Segment 'a': 


Segment 'a' represents the top horizontal segment of the seven-segment display. It is activated to form the top part of numerical digits. 


Segment 'b': 


Segment 'b' represents the top-right diagonal segment. It is activated to form diagonal elements in characters. 


Segment 'c': 


Segment 'c' represents the bottom-right diagonal segment. 


Segment 'd': 


Segment 'd' represents the bottom horizontal segment. It is activated to form the bottom part of numerical digits. 


Segment 'e': 


Segment 'e' represents the bottom-left diagonal segment. It is activated to form diagonal elements in characters. 


Segment 'f': 


Segment 'f' represents the top-left diagonal segment. It is activated to form diagonal elements in characters. 


Segment 'g': 


Segment 'g' represents the middle horizontal segment. It is activated to form the middle part of numerical digits. 


BCD Input Mapping: 


Each BCD input (a 4-bit binary number) corresponds to a specific decimal digit. The decoder maps each BCD input to the activation or deactivation of the segments to display the corresponding digit. 


Example: 


For example, let's consider the BCD input 0100, which corresponds to the decimal digit 4.The mapping for segment activation would be: 


a and b are deactivated. 


c is activated. 


d is deactivated. 


e, f, and g are activated. 


When these activations are applied to the seven-segment display, it forms the numeral '4' on the display. 

Circuit Diagram

Capture.PNG

internal working of circuit.

Block Diagram

WhatsApp Image 2024-01-24 at 23.52.23.jpeg
WhatsApp Image 2024-01-24 at 23.52.23 (1).jpeg

K MAP

WhatsApp Image 2024-01-24 at 23.52.22.jpeg
WhatsApp Image 2024-01-24 at 23.52.23 (2).jpeg

K MAPING