Sameer (14924)
Priyank (14893)
Suraj (14933)
7 SEGMENT LED INTERFACING WITH 8051
What is microcontroller ?
 A microcontroller is a small computer
 A single integrated circuit containing a processor core
 Memory
 Programmable input/output peripherals
Description of 8051
 The 8051 is a low-power, high-performance CMOS 8-bit
microcontroller with 8K bytes of in-system
programmable Flash memory
Features of 8051
 8K bytes of Flash
 256 bytes of RAM
 32 I/O lines
 Three 16-bit timer/counters
 A full duplex serial port
Pin Diagram
Seven Segment Display
 Seven segment displays are used to indicate numerical
information
 Seven segment displays internally consist of 8 LEDs
 In these LEDs, 7 LEDs are used to indicate the digits 0 to 9
and single LED is used for indicating decimal point
 Generally seven segments are two types, one is
common cathode and the other is common anode
Circuit component
 AT89C51 microcontroller
 AT89C51 programming board
 programming cable
 12V DC battery or adaptor
 Common cathode 7 segment Display
 Resistors – 10k, 330 ohm
 2 Ceramic capacitors – 33pF
 12 MHz crystal
 Electrolytic capacitor – 10uF
 Connecting wires
Interfacing 7 Segment Display to 8051 Circuit
Segment
number
LSD5061-11
Pin number
8051 pin
number
(One's place
display)
8051 pin
number
(Ten's place
display)
s1 pin 1 P2.0 P3.0
s2 pin 2 P2.1 P3.1
s3 pin 4 P2.2 P3.2
s4 pin 6 P2.3 P3.3
s5 pin 7 P3.4 P2.4
s6 pin 9 P2.5 P3.5
s7 pin 10 P2.6 P3.6
Resources
 http://opencores.org/project,8051
 www.electronicsforyou.com
 www.wikipedia.com
 www.electronicshub.com
Thank You
Any Questions?

7 segment led interfacing with 8051