Introduction To 8051 Microcontroller
Introduction To 8051 Microcontroller
Introduction –
Fi
gure – 8051 Microcontroller System on a Chip :
It is referred to as a System on a Chip (SoC) microcontroller because
it is a chip circuit/integrated circuit that holds many components of
a computer together on a single chip. These components include a
CPU, memory, input-output ports (I/O ports), timers, and secondary
storage. Features – There are some key features of 8051 that work
as a foundation for students to learn microcontrollers.
8051 μc family member –
8051 μc have some family members 8052 microcontroller & 8031
microcontroller. 8052μc has 8K bytes of on-chip program ROM
instead of 4K bytes, and 128 bytes of RAM. and 8031μc has 0K
bytes of on-chip program ROM, and 128 bytes of RAM.
The Key features of the 8051 Microcontroller –
4 KB on-chip ROM (Program memory).
128 bytes on-chip RAM (Data memory).
The 8-bit data bus (bidirectional).
16-bit address bus (unidirectional).
Two 16-bit timers.
Instruction cycle of 1 microsecond with 12 MHz crystal.
Four 8-bit input/output ports.
128 user-defined flags.
Four register banks of 8 bit each.
16-byte bit-addressable RAM.
The general purpose registers are 32 each is 8-bit.
8051 has two external and three internal interrupts.
8051 microcontroller specifies some special function features like
UARTs, ADC, Op-amp, etc.
It has a 16-bit program counter and data pointer.
Block Diagram of 8051 μc –
Block-Structure Diagram
Disadvantages:
Advantages:
Versatility: The 8251 USART can be used for both synchronous and
asynchronous communication, making it a versatile peripheral.
Error detection: The USART includes built-in error detection
features, such as parity checking, which help to ensure the accuracy
of transmitted data.
Flow control: The USART includes flow control features, which
allow for the regulation of data transmission and reception,
preventing data loss and overloading.
Compatibility: The 8251 USART is compatible with a wide range of
microprocessors, making it a popular choice for serial
communication in many different systems.
Ease of use: The USART includes simple interface pins and
registers, making it relatively easy to use and program.
Disadvantages: