MICROCONTROLLER
MICROCONTROLLER
MICROCONTROLLER
INTRODUCTION TO MICROCONTROLLER
GENERATION OF MICROCONTROLLER
INTRODUCTION-
RAM
MICROPROCESSOR
MICROCONTROLLER
Advantages of Microcontroller over Microprocessor
1] Cost of microcontroller is less than microprocessor based system
4] Many low cost products like toys, washing machines, microwave ovens,
electric drills etc are based on microcontrollers & not on microprocessor
based system
MEMORY MAP OF 8051 MICROCONTROLLER
Program Memory Data Memory Read-Only Memory (ROM) space Random Access Memory (RAM)
space Used for storing programs & variable data Used for general read/write data storage
It is a read/write memory space Processor can read instruction from this space, but cannot write the
data into this memory.
Processor can read data from this memory space & can write data to this memory space. It cannot
execute instructions from this memory space.
4 Kbytes program memory can be expanded by additional 60Kbytes, making it 64KB program
memory. & 22 special function registers. Memory can be expanded by additional 60Kbytes, making it
64Kbytes data memory.
MEMORY MAP OF 8051 MICROCONTROLLER
MICROCONTROLLERS IN 8051 FAMILY
2] All 8048, 8049, 8050 have same architecture except memory size.
4] 8049 supports 2Kbytes of internal ROM & 8050 supports 4Kbytes of internal
ROM. 8048 has 64 bytes internal RAM, including 32 bytes of register memory.
8049 & 8050 have a total of 128 & 256 bytes of RAM respectively.
5] 27 I/O lines. 8-bit timer event counter. Low cost & hence very popular.
6] 8052 8052 is a simple expansion of 8051. 8Kbytes of onboard ROM & 256
Kbytes onboard RAM.
7] Allows programmer to write larger programs that can use more data. Cost of
8052 is more than 8051. Has one extra 16-bit counter-timer which gives more
flexibility.
8] Microcontroller 8051 family 8031, 8032 8031 is alternative version of 8051 &
8032 is alternative version of 8052.
9] They do not have onboard ROM. They may use external ROM for program
memory. Excellent devices for prototyping & low volume products.
10] 8052 AH-BASIC 8052 AH-BASIC is another form of 8052. Programmer can use
BASIC for writing instructions rather than using assembly language.
Applications of Microcontroller
3] Many low cost products such as toys, microwave oven etc are based on
microcontroller.