8051 Controller: 8051 Is 8-Bit Microcontroller of MCS-51 Family First Introduced by Intel in 1980
8051 Controller: 8051 Is 8-Bit Microcontroller of MCS-51 Family First Introduced by Intel in 1980
Introduction
Microcontroller consists of all features that are found in microprocessors with
additional built in ROM, RAM, I/O ports, Serial ports, Timers, Interrupts and Clock
circuits. It is entire computer on single chip which is embedded within applications.
Microcontrollers are widely used in many domestic (washing machine, VCD players,
microwave oven, robotics etc.) as well as industrial and automobile areas.
The 8051 is the first microcontroller of the MCS-51 family developed by Intel
Corporation in 1980. It was developed using N-type Metal-Oxide-Semiconductor
(NMOS) technology and later it came to be identified by a letter C in their names e.g.
80C51 which was developed with Complementary Metal-Oxide-Semiconductor (CMOS)
technology which consume less power than NMOS and made it better compatible for
battery powered applications.
Microcontrollers can be classified on the basis of their bit processing capability e.g. 8-
bit microcontroller means it can read, write and process 8-bit data. Basically it specifies
the size of data bus. Today microcontrollers are designed with much more compact,
cheap and powerful specifications like AVR and PIC.
General Purpose Microprocessor System
As shown in figure, Microprocessors need external devices such as RAM for data
storage, ROM for program storage, PPI 8255 for I/O port, 8253 for timer and USART for
serial communication.
All these peripheral are integrated together to form a controlling unit ready to embed
within applications.
Microcontroller
Where as microcontroller has all memories and ports available on chip as shown in
figure. This makes microcontrollers most popular. Later many semiconductor
companies developed their own microcontrollers with different specifications.
Find below, the specifications for various popular 8051 family members developed by
mentioned semiconductor companies.
Seria
Developed Family I/O
ROM(Kbyte l Interrupt
by members RAM(bytes) Timers pins
s) port sources
8051 Architecture
All 8051 microcontrollers have unique architecture as shown in figure, which consist of
functional blocks to build 8051 powerful controlling machine.
CPU
Microcontroller 8051 has central processing unit which is also called as ALU (Arithmetic
Logic Unit) which performs all arithmetic and logical operation.
Interrupts
Oscillator
IIt is used to provide clock to the 8051 which decides the speed and baud rate.
We use crystals of frequency varying from 4MHz to 30 MHz. Normally we use
11.0592 MHz frequency which is required for 9600 baud rate in serial
communication.
I/O Ports
8051 has four Input/output port P0, P1, P2, P3
Each port is 8 bit wide and their SFR (P0, P1, P2, P3) are bit accessible i.e. we can
set or reset individual bit.
Some ports have dual functionality on their pins as,
P0 I/O pins are multiplexed with 8-bit data bus and lower order address bus
(AD0-AD7) which de-multiplexed by ALE signal and latch used in external
memory access operation.
P2 I/O pins are multiplexed with remaining higher order address bus (A8-A15)
P3 I/O pins also have dual functions as,
8051 has two serial communication pins TXD and RXD used for transmit and
receive data serially via SBUF register
SCON SFR used to control serial operation