maich-1
TRANSCRIPT
-
8/3/2019 maich-1
1/16
The 8051 Microcontrollers &
Embedded Systems
CHAPTER-1
The 8051 MicrocontrollersPrepared By: Rutul Patel (EEE Dept.)
-
8/3/2019 maich-1
2/16
-
8/3/2019 maich-1
3/16
Outline
What is Microcontroller?
Microcontroller VS Microprocessor
Microcontrollers for embedded systems
Some Embedded Products
Criteria For Choosing A Microcontroller
Key features of 8051
Types of ROM
Types of RAM
8051 block diagram Different versions of 8051
Different 8051 chips
-
8/3/2019 maich-1
4/16
What is Microcontroller?
Heart = Microprocessor
Blood = Data
Artery = Output (purified blood)
Vein = Input (unpurified blood)
Heart beat = Clock frequency (Timer)
Combination of all this parts + Memory = Microcontroller
-
8/3/2019 maich-1
5/16
Microcontroller VS Microprocessor
Parameter Microprocessor Microcontroller
RAM, ROM No Yes
I/O ports No Yes
Timer & serial COM port No Yes
Versatility Yes No
Clock speed In terms of GHz In terms of MHz
Use General purpose Application specific
-
8/3/2019 maich-1
6/16
Microcontrollers for embedded
systems
-
8/3/2019 maich-1
7/16
Some Embedded Products
Home appliances
Air conditioners, microwaves etc.
Security systems
Camcorder
Fax machine
Printers
Air bag Engine control
ATM
-
8/3/2019 maich-1
8/16
Criteria For Choosing A
Microcontroller
1st criterion
Speed : highest speed supported
Packaging : DIP or QFP
Power consumption
Amount of RAM & ROM on the chip
No. of I/O pins & the timers on the chip
Up gradation facility
Cost per unit
-
8/3/2019 maich-1
9/16
Contd
2nd Criterion
Ease of developing products
Availability of an assembler, debugger, a codeefficient C-compiler, emulator, simulator &
technical support
-
8/3/2019 maich-1
10/16
Contd
Wide availability and reliable sources of theMicrocontroller
The 8051 family has the largest number of
diversified (multiple source) suppliers Intel (original)
Atmel
Philips/Signetics
AMD Infineon (formerly Siemens)
Dallas Semiconductor/Maxim
-
8/3/2019 maich-1
11/16
Key Features Of 8051
The 8051 is an 8-bitprocessor
The CPU can work on only 8 bits of data at a time
The 8051 has
16-bit address bus & 8-bit data bus
128 bytes of RAM
4K bytes of on-chip ROM ( max. 64K bytes achieved)
Two timers
One serial port
Four I/O ports (each 8 bits wide)
6 interrupt sources
-
8/3/2019 maich-1
12/16
Types Of ROM
Mask Programmed ROM (MROM) : Programmed at the factory.
Programmable ROM (PROM) : Can be custom-programmed by the user (once) using
special circuitry.
Erasable Programmable ROM (EPROM) : Can also be programmed and erased by the user using
ultraviolet light and special circuitry external to thecomputer.
Electrically Erasable PROM (EEPROM) : Can be erased and reprogrammed by special circuitry
within the computer.
-
8/3/2019 maich-1
13/16
Types Of RAM
SRAM stores binary bits in such a manner that the
bits remain in RAM as long as power to thechip is not interrupted
Requires 6 transistor to store a bit So its a large size & lower speed memory
DRAM
requires that stored data be refreshed, orrewritten, periodically
Requires 1 transistor & a capacitor to storea bit
So its a small size & higher speed memory
-
8/3/2019 maich-1
14/16
8051 Block Diagram
-
8/3/2019 maich-1
15/16
Different Versions Of 8051
-
8/3/2019 maich-1
16/16
Different 8051 chips
8751 microcontroller UV-EPROM
PROM burner
UV-EPROM eraser takes 20 min to erase
AT89C51 from Atmel Corporation Flash (erase before write)
ROM burner that supports flash
A separate eraser is not needed
DS89C4x0 from Dallas Semiconductor, now part of
Maxim Corp. Flash
Comes with on-chip loader, loading program to on-chip flash via PCCOM port