Presentation is loading. Please wait.

Presentation is loading. Please wait.

Chapter 1: The 8051 Microcontrollers

Similar presentations


Presentation on theme: "Chapter 1: The 8051 Microcontrollers"— Presentation transcript:

1 Chapter 1: The 8051 Microcontrollers

2 What is a Microcontroller?
A Microcontroller is a programmable digital processor with necessary peripherals. Both microcontrollers and microprocessors are complex sequential digital circuits meant to carry out job according to the program / instructions. Sometimes analog input/output interface makes a part of microcontroller circuit of mixed mode(both analog and digital nature). A microcontroller can be compared to a Swiss knife with multiple functions incorporated in the same IC.

3 Microcontroller Vs. general-purpose microprocessor

4 Microcontroller for embedded systems:
Microprocessors and microcontrolers are widely used in embedded system products. An embedded product uses a microprocessor(or microcontroller ) to do one task and one task only. For example: Printer (performing only one task: getting data and print it)

5 Microcontrollers for embedded systems:

6 Three criteria in Choosing a Microcontroller
meeting the computing needs of the task efficiently and cost effectively speed, the amount of ROM and RAM, the number of I/O ports and timers, size, packaging, power consumption easy to upgrade cost per unit availability of software development tools assemblers, debuggers, C compilers, emulator, simulator, technical support wide availability and reliable sources of the microcontrollers

7 Companies producing 8051 family:

8 Microprocessor vs. Microcontroller:
CPU, RAM, ROM, I/O and timer are all on a single chip fixed amount of on-chip ROM, RAM, I/O ports for applications in which cost, power and space are critical single-purpose (control-oriented) Low processing power Low power consumption Bit-level operations Instruction sets focus on control and bit-level operations Typically 8/16 bit Typically single-cycle/two-stage pipeline Microprocessor CPU is stand-alone, RAM, ROM, I/O, timer are separate designer can decide on the amount of ROM, RAM and I/O ports. expensive versatility general-purpose High processing power High power consumption Instruction sets focus on processing-intensive operations Typically 32/64 – bit Typically deep pipeline (5-20 stages) versatility 多用途的: any number of applications for PC

9 A brief history of the 8051: In 1981, Intel Corporation introduced an 8-bit microcontroller called the 8051. This microcontroller had 128 bytes of RAM, 4K bytes of on-chip ROM, two timers, one serial port, and four ports (each 8-bits wide) all on a single chip. The 8051 is an 8-bit processor, meaning that the CPU can work on only 8 bits of data at a time. Data larger than 8 bits has to be broken into 8-bit pieces to be processed by the CPU.

10 A brief history of the 8051: The 8051 has a total of four I/O ports, each 8 bits wide. Although the 8051 can have a maximum of 64K bytes of on-chip ROM, many manufacturers have put only 4K bytes on the chip. The 8051 became widely popular after Intel allowed other manufacturers to make and market any flavors of the 8051 they please with the condition that they remain code-compatible with the 8051. This has led to many versions of the 8051 with different speeds and amounts of on-chip ROM marketed by more than half a dozen manufacturers.

11 8051 Block Diagram:

12 Features of 8051:

13 8052 microcontroller: The 8052 is another member of the 8051 family.
The 8052 has all the standard features of the 8051 as well as an extra 128 bytes of RAM and an extra timer. 8052 has 256 bytes of RAM and 3 timers. It has 8K bytes of on-chip program ROM instead of 4K bytes.

14 8031 microcontroller: This chip is often referred to as a ROM-less 8051 since it has 0K bytes of on-chip ROM. To use this chip you must add external ROM to it. This external ROM must contain the program that the 8031 will fetch and execute. The ROM containing the program attached to the 8031 can be as large as 64K bytes. In the process of adding external ROM to the 8031, you lose two ports. To solve this problem, you can add external I/O to the Interfacing the 8031 with memory and I/O ports such as the chip is discussed in Chapter 15.

15 Versions of 8051/52 Microcontroller
From Dallas Semiconductor (Maxim):

16 Versions of 8051 family:

17 Any Questions???


Download ppt "Chapter 1: The 8051 Microcontrollers"

Similar presentations


Ads by Google