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

Microcontroller 8051

The document compares microprocessors and microcontrollers. It states that microprocessors have separate CPU, RAM, ROM, I/O, and timers, while microcontrollers integrate these components onto a single chip with fixed amounts of on-chip memory and I/O ports, making them more cost-effective, power-efficient and compact for specialized applications. The block diagram and pin description shown are specifically for the 8051 microcontroller.

Uploaded by

Emon Roy
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views

Microcontroller 8051

The document compares microprocessors and microcontrollers. It states that microprocessors have separate CPU, RAM, ROM, I/O, and timers, while microcontrollers integrate these components onto a single chip with fixed amounts of on-chip memory and I/O ports, making them more cost-effective, power-efficient and compact for specialized applications. The block diagram and pin description shown are specifically for the 8051 microcontroller.

Uploaded by

Emon Roy
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 13

Microprocessor vs.

Microcontroller
Microprocessor Microcontroller
• CPU is stand-alone, RAM, • CPU, RAM, ROM, I/O and
ROM, I/O, timer are timer are all on a single chip
separate • fix amount of on-chip ROM,
• designer can decide on the RAM, I/O ports
amount of ROM, RAM and • for applications in which cost,
I/O ports. power and space are critical
• expansive • single-purpose
• versatility
• general-purpose
Block Diagram
External interrupts
On-chip Timer/Counter

Interrupt ROM for


On-chip Timer 1 Counter
Control program
code RAM Timer 0 Inputs

CPU

Bus Serial
4 I/O Ports
OSC Control Port

P0 P1 P2 P3 TxD RxD
Address/Data
Pin Description of the 8051
P1.0 1 40 Vcc
P1.1 2 39 P0.0(AD0)
P1.2 3 38 P0.1(AD1)
P1.3
P1.4
4
5
8051 37
36
P0.2(AD2)
P0.3(AD3)
P1.5 6 (8031) 35 P0.4(AD4)
P1.6 7 34 P0.5(AD5)
P1.7 8 33 P0.6(AD6)
RST 9 32 P0.7(AD7)
(RXD)P3.0 10 31 EA/VPP
(TXD)P3.1 11 30 ALE/PROG
(INT0)P3.2 12 29 PSEN
(INT1)P3.3 13 28 P2.7(A15)
(T0)P3.4 14 27 P2.6(A14)
(T1)P3.5 15 26 P2.5(A13)
(WR)P3.6 16 25 P2.4(A12)
(RD)P3.7 17 24 P2.3(A11)
XTAL2 18 23 P2.2(A10)
XTAL1 19 22 P2.1(A9)
GND 20 21 P2.0(A8) 

You might also like