Thursday, October 21, 2010

7-segment CONNECTION

http://electrofriends.com/articles/electronics/microcontroller-electronics-articles/8051-8951/interfacing-7-segment-display-using-7447-decoder/

The IC7447 is a BCD to 7-segment pattern converter. This setup is the advanced form of the setup where we entered the patterns manually to display the desired character. Here in this case, the IC7447 takes the Binary Coded Decimal (BCD) as the input and outputs the relevant 7 segment code. We connect first four pins of the microcontroller Port 2 to the 7447 and the Output 8 pins of 7447 to the 8 legs of the LED as shown in the figure. Te circuit diagrams are shown below, the first figure is interfacing the CA LED where as the second is of CC LED. The number required to display is sent as the lower nibble of the Port 2 of the Microcontroller. The 7447 converts the four input bits (BCD) to their corresponding 7-segment codes. The outputs of the 7447 are connected to the 7-segment display.