0% found this document useful (0 votes)
58 views

8051 Controller: 8051 Is 8-Bit Microcontroller of MCS-51 Family First Introduced by Intel in 1980

The 8051 is an 8-bit microcontroller introduced by Intel in 1980. It has features like RAM, ROM, I/O ports, timers, and interrupts integrated into a single chip. These features allow it to be embedded in devices as an entire computer system. The 8051 architecture includes a CPU, RAM, ROM, timers, interrupts, I/O ports, and serial communication ports. Peripherals like RAM, ROM, timers and I/O ports are integrated on the chip, making 8051 microcontrollers popular for embedded applications.

Uploaded by

sheenu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
58 views

8051 Controller: 8051 Is 8-Bit Microcontroller of MCS-51 Family First Introduced by Intel in 1980

The 8051 is an 8-bit microcontroller introduced by Intel in 1980. It has features like RAM, ROM, I/O ports, timers, and interrupts integrated into a single chip. These features allow it to be embedded in devices as an entire computer system. The 8051 architecture includes a CPU, RAM, ROM, timers, interrupts, I/O ports, and serial communication ports. Peripherals like RAM, ROM, timers and I/O ports are integrated on the chip, making 8051 microcontrollers popular for embedded applications.

Uploaded by

sheenu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

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.   

Family Member 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

  Intel          8051         128      4    2     32   1     6

         8052         256      8    3     32   1     8


   Seria  
Developed  Family      I/O
ROM(Kbyte l     Interrupt        
by members RAM(bytes) Timers pins
s) port sources

         8031         128        None    2     32   1     6

       AT89C51         128      4    2     32   1     6


    Atmel
       AT89C52         256      8    3     32   1     6

      DS5000-8         128           8    2     32   1     6


    Dallas
     DS5000-32         128          32    2     32   1     6

    Philips     P89C51RD2        1024          64    3     32   1     8

8051 Architecture & Pin diagram

 
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.

8051 Pin Diagram

RAM (Random-access memory)

 Microcontroller 8051 has 128-byte RAM for data storage.


 It is Volatile type of memory. That means the data is lost when power to the
device is turned off.
 It is used during execution time to store data temporarily.
 RAM consists of register bank, stack and temporary data storage with some
special function registers (SFR’s).

ROM (Read Only Memory)

 In 8051, 4KB ROM is available for program storage.  


 It is Non-Volatile type of memory. It means that data is not lost even in the event
of power failure.
 8051 has 16-bit address. It means it can access 2^16 memory locations and we
can interface up to 64 KB of program memory externally in case of large
applications.

Sizes specified of RAM and ROM are different by their manufacturer.

Timers and Counters                                                                                   

 Microcontroller 8051 has two timer pins T0 and T1


 By these timers we can generate delay of particular time in timer mode
 We can count external pulses or events in counter mode
 Two 16-bit timer registers are available as T0 (TH0 & TL0) and T1 (TH1 & TL1), e.g.
If we want to load T0 then we can load Higher 8-bit in TH0 & Lower 8-bit in TL0
 TMOD and TCON registers are used to select mode and control the timer
operation

Interrupts

 Interrupts are requested by internal or external peripherals which are masked


while unused.
 Interrupt handler routines are called after each interrupt event occurs.
 These routines are called as Interrupt Service Routine (ISR) and are located in
special memory loc.
 INT0 and INT1 pins used to accept external 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,

1. P3.0 – RXD – Serial data receive.


2. P3.1 – TXD – Serial data transmit.
3. P3.2 – INT0 – External Interrupt 0.
4. P3.3 – INT1 – External Interrupt 1.
5. P3.4 – T0 – Clock input for counter 0.
6. P3.5 – T1 – Clock input for counter 1.
7. P3.6 – WR – Signal for writing to external memory.
8. P3.7 – RD – Signal for reading from external memory.

 P0 and P2 can’t be used as I/O pins in external memory access operation

Serial Communication port

 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

You might also like