![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHot7an5GW6X-9xYoysF1FTzoAcIMBi3USpZJHvm8B-7UVER-1Fub9ks-INDT3bF1rBKarMS1htUYritDer3_1DtNxQrS1LfmfvmdtoFq6mPLMIUjSGAvwbuCpU0v1EnXUXZv5rrwo8mLj/s320/S_Intel-P8051AH+%28refl%29.jpg)
8051 MICROCONTROLLER
This micrcontroller chip was invented and manufacture by INTEL company. Before 8051 microcontroller another microcontroller chip was manufactured i.e. Intel 8031. And after 8051 they launched 8052 microcontroller.
Difference between all the three is mentioned below:
Feature 8051 8052 8031
Interrupt sources 6 8 6
Serial port 1 1 1
I/O pins 32 32 32
Timers 2 3 2
RAM (bytes) 128 256 128
ROM (on-chip program 4K 8K 0K
space in bytes)
Microcontrollers and embedded processors
Difference between all the three is mentioned below:
Feature 8051 8052 8031
Interrupt sources 6 8 6
Serial port 1 1 1
I/O pins 32 32 32
Timers 2 3 2
RAM (bytes) 128 256 128
ROM (on-chip program 4K 8K 0K
space in bytes)
Microcontrollers and embedded processors
General-purpose microprocessors contains:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVvaRCc1ER3dimhC-fghhpdx2ZcBpBMmDmIBVs8rgN1uQzR0Osag_AhwATIzBAOGISFN63F4fBHW5sPvN0Vv4mg00adjrvftvncoihZ0A0zUzjwh25y5NtH1xB0NXoQSQqVhfXyj_3vG8c/s320/gpp.bmp)
Microcontroller has:![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlXN05G3SHFPzwqHgC_Xgfkdmhjrqt0UlU0NagmEVc4v60EEsAO35RL4IOGY8iM3quidvzB6zJDAWCa4XGhJVj3DTm6hAMhrLUKFGclBOLo5GGuqryqY-HS-UDiQk1ciL8DdZH6zCLo5XF/s320/controller.bmp)
1. Home: Appliances, intercom, telephones, security systems, garage door openers, answering machines, fax machines, home computers, TVs, cable TV tuner,VCR, camcorder, remote controls, video games,cellular phones, musical instruments, sewing machines, lighting control, paging, camera, pinball machines, toys, exercise equipment.
2. Office: Telephones, computers, security systems, fax machines, microwave, copier, laser
printer, color printer, paging.
3. Auto: Trip computer, engine control, air bag, ABS, instrumentation, security system,
transmission control, entertainment, climate control, cellular phone, key less entry.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVvaRCc1ER3dimhC-fghhpdx2ZcBpBMmDmIBVs8rgN1uQzR0Osag_AhwATIzBAOGISFN63F4fBHW5sPvN0Vv4mg00adjrvftvncoihZ0A0zUzjwh25y5NtH1xB0NXoQSQqVhfXyj_3vG8c/s320/gpp.bmp)
- No RAM
- No ROM
- No I/O ports
- No Timer
- Serial COM Port
Microcontroller has:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlXN05G3SHFPzwqHgC_Xgfkdmhjrqt0UlU0NagmEVc4v60EEsAO35RL4IOGY8iM3quidvzB6zJDAWCa4XGhJVj3DTm6hAMhrLUKFGclBOLo5GGuqryqY-HS-UDiQk1ciL8DdZH6zCLo5XF/s320/controller.bmp)
- CPU (microprocessor)
- RAM
- ROM
- I/O ports
- Timer
- ADC and other peripherals
1. Home: Appliances, intercom, telephones, security systems, garage door openers, answering machines, fax machines, home computers, TVs, cable TV tuner,VCR, camcorder, remote controls, video games,cellular phones, musical instruments, sewing machines, lighting control, paging, camera, pinball machines, toys, exercise equipment.
2. Office: Telephones, computers, security systems, fax machines, microwave, copier, laser
printer, color printer, paging.
3. Auto: Trip computer, engine control, air bag, ABS, instrumentation, security system,
transmission control, entertainment, climate control, cellular phone, key less entry.
Pin diagram
Architecture of Intel 8051 Microcontroller
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIWZsu_PbNWXSErmP-j-YEPxjlB4pt770eLO8JGyEw27nwIGFWoL4YG2Nhjfwf_IdX8zxOUavp9goY0VfajNrHvc7UWVaa5_G4yAYakS_J41QAvbgTcst-FqU7TLKIvnOlhUAPO_yCPAem/s320/architecture.bmp)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtmO8fcMrGbexu5pblxTGRt0v-Kv14J4k3c6kTIMJnGF5aS9ihGg4X-m6LvlxNMlJpDAFu0-3pX3kBFFLKSE-fFRm0PlkKzmj1XAB_UQMqxgWfPL2UCcpqOPJNktA0miQWSsdpb0bYxoLx/s320/77le58_p.gif)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIWZsu_PbNWXSErmP-j-YEPxjlB4pt770eLO8JGyEw27nwIGFWoL4YG2Nhjfwf_IdX8zxOUavp9goY0VfajNrHvc7UWVaa5_G4yAYakS_J41QAvbgTcst-FqU7TLKIvnOlhUAPO_yCPAem/s320/architecture.bmp)
Criteria for choosing a Microcontroller:
- Meeting the computing needs of the task at hand efficiently and cost effectively
- Speed
- Packaging
- Power consumption
The amount of RAM and ROM on chip - The number of I/O pins and the timer on chip
- How easy to upgrade to higher performance or lower power-consumption versions
Cost per unit