2/25/2019 8051 Microcontroller Introduction, Basics and Features
ELECTRONICS HUB
P R OJ E C T S | T U TO R I A L S | C O U R S E S | K I T S
HOME PROJECTS MINI PROJECTS ARDUINO FREE CIRCUITS TUTORIALS SYMBOLS
DIY COURSES CONTACT US
YOU ARE HERE: HOME / GENERAL / 8051 MICROCONTROLLER INTRODUCTION AND BASICS
8051 Microcontroller Introduction and
Basics
OCTOBER 9, 2017 BY RAVI — 9 COMMENTS
This article is about the 8051 Microcontroller Introduction and some of its basic features. The
8051 Microcontroller is one of the most popular and most commonly used microcontrollers in
various elds like embedded systems, consumer electronics, automobiles, etc.
Technically called as Intel MCS-51 Architecture, the 8051 microcontroller series was
developed by Intel in the year 1980 and were very popular in the 80’s (still are popular).
8051 Microcontroller has many features like Serial Communication, Timers, Interrupts, etc. and
hence many students and beginners start their work on the concept of Microcontrollers with
8051 Microcontroller (although this trend seems to be changed with the introduction of
Arduino).
Even though 8051 Microcontroller might seem a little bit out of fashion, we feel that it is one of
the best platforms to get started with Microcontrollers, Embedded Systems and Programming
(both C and Assembly).
https://www.electronicshub.org/8051-microcontroller-introduction/ 1/13
2/25/2019 8051 Microcontroller Introduction, Basics and Features
So, in this post, you’ll be given an introduction to 8051 microcontroller and some of the basics
of 8051 Microcontroller.
But before going in to the Introduction and Basics of 8051 Microcontroller, we need to a little
bit about what a Microcontroller is and Di erence between Microprocessor and
Microcontroller.
The Di erences between Microprocessor and Microcontroller are tabulated in this post.
Table of Contents
1. What is a Microcontroller?
2. 8051 Microcontroller Introduction and History
3. Applications of 8051 Microcontroller
4. 8051 Microcontroller Basics
4.1. 8051 Microcontroller Features
4.2. 8051 Microcontroller Packaging
What is a Microcontroller?
A Microcontroller is a VLSI IC that contains a CPU (Processor) along with some other
peripherals like Memory (RAM and ROM), I/O Ports, Timers/Counters, Communication
Interface, ADC, etc.
https://www.electronicshub.org/8051-microcontroller-introduction/ 2/13
2/25/2019 8051 Microcontroller Introduction, Basics and Features
On the contrary, a Microprocessor (which was developed before Microcontroller) is just a
Processor (CPU) and doesn’t have the above mentioned peripherals. In order to make it work
or build a system around it, we need to interface the peripherals separately.
Until the development of Microcontrollers, almost all process and control tasks were
implemented using Microprocessors. As Microprocessor need the additional peripherals to
work as a system, the overall cost of the control system was high.
https://www.electronicshub.org/8051-microcontroller-introduction/ 3/13
2/25/2019 8051 Microcontroller Introduction, Basics and Features
But with the development of Microcontroller, the situation has changed completely including
the world of Embedded Systems.
8051 Microcontroller Introduction and History
The 8051 Microcontroller Introduction gives a brief overview about the 8051 Microcontroller
and its history. Intel’s 8051 Microcontroller (Intel MSC-51 Architecture) was a successor to 8048
Microcontroller (Intel MSC-48 Architecture).
Originally, 8051 Microcontrollers were developed using N-MOS Technology but the use of
battery powered devices and their low power consumption lead to usage of CMOS
Technology (which is famous for its low power consumption).
Even though Intel developed 8051 Microcontrollers (which is discontinued in 2007), more than
20 semiconductor manufacturers are still producing 8051 compatible microcontrollers i.e.
processors based on MSC-51 Architecture.
Some of the 8051 Microcontrollers produced by di erent manufacturers are: Atmel (AT89C51,
AT89S51), Phillips (S87C654), STC Micro (STC89C52), In neon (SAB-C515, XC800), Siemens
(SAB-C501), Silicon Labs (C8051), NXP (NXP700, NXP900), etc.
Majority of the modern 8051 Microcontrollers are Silicon IP Cores (Intellectual Property Cores)
but discrete 8051 Microcontroller IC’s are also available. Because of their low power
consumption, smaller size and simple architecture, 8051 IP Cores are used in FPGAs (Field
Programmable Gate Array) and SoCs (System on Chip) instead of Advanced ARM Architecture
based MCUs.
Applications of 8051 Microcontroller
Even with the development of many advanced and superior Microcontrollers, 8051
Microcontroller is still being used in many embedded system and applications.
Some of the applications of 8051 Microcontroller are mentioned below:
Consumer Appliances (TV Tuners, Remote controls, Computers, Sewing Machines, etc.)
Home Applications (TVs, VCR, Video Games, Camcorder, Music Instruments, Home
Security Systems, Garage Door Openers, etc.)
Communication Systems (Mobile Phones, Intercoms, Answering Machines, Paging
Devices, etc.)
O ce (Fax Machines, Printers, Copiers, Laser Printers, etc.)
https://www.electronicshub.org/8051-microcontroller-introduction/ 4/13
2/25/2019 8051 Microcontroller Introduction, Basics and Features
Automobiles (Air Bags, ABS, Engine Control, Transmission Control, Temperature Control,
Keyless Entry, etc)
Aeronautical and Space
Medical Equipment
Defense Systems
Robotics
Industrial Process and Flow Control
Radio and Networking Equipment
Remote Sensing
8051 Microcontroller Basics
8051 is an 8 – bit Microcontroller i.e. the data bus of the 8051 Microcontroller (both internal and
external) is 8 – bit wide. It is a CISC based Microcontroller with Harvard Architecture (separate
program and data memory).
Since the basic layout of a microcontroller includes a CPU, ROM, RAM, etc. the 8051
microcontroller also has a similar layout. The following image shows a brief layout of a typical
8051 Microcontroller.
https://www.electronicshub.org/8051-microcontroller-introduction/ 5/13
2/25/2019 8051 Microcontroller Introduction, Basics and Features
8051 Microcontroller Features
8 – Bit ALU: ALU or Arithmetic Logic Unit is the heart of a microcontroller. It performs
arithmetic and bitwise operation on binary numbers. The ALU in 8051 is an 8 – Bit ALU i.e.
it can perform operations on 8 – bit data.
8 – Bit Accumulator:The Accumulator is an important register associated with the ALU.
The accumulator in 8051 is an 8 – bit register.
RAM: 8051 Microcontroller has 128 Bytes of RAM which includes SFRs and Input / Output
Port Registers.
https://www.electronicshub.org/8051-microcontroller-introduction/ 6/13
2/25/2019 8051 Microcontroller Introduction, Basics and Features
ROM: 8051 has 4 KB of on-chip ROM (Program Memory).
I/O Ports: 8051 has four 8 – bit Input / Output Ports which are bit addressable and
bidirectional.
Timers / Counters: 8051 has two 16 – bit Timers / Counters.
Serial Port: 8051 supports full duplex UART Communication.
External Memory: 8051Microcontroller can access two 16 – bit address line at once: one
each for RAM and ROM. The total external memory that an 8051 Microcontroller can
access for RAM and ROM is 64KB (216 for each type).
Additional Features: Interrupts, on-chip oscillator, Boolean Processor, Power Down
Mode, etc.
NOTE: Some of the features like size of RAM and ROM, number of Timers, etc. are not generic.
They vary by manufacturer.
8051 Microcontroller Packaging
8051 Microcontroller is available in a variety of IC Packaging Types. The most popular and
commonly used 8051 Microcontroller Packaging is Dual in-line or DIP. It is often available as a
40 – pin PDIP or Plastic DIP IC.
The other common packaging type is 44 – Lead PLCC (Plastic Leaded Chip Carrier). It is a kind
of surface mount package.
Another surface mount packaging for 8051 microcontroller is 44 – Lead TQFP (Thin Quad Flat
Package).
This article gave an introduction to 8051 Microcontroller and some its basic features. In the
next article, we will see the Pinout Diagram, Pin Description and Architecture of 8051
Microcontroller.
FILED UNDER: 8051 MICROCONTROLLER, GENERAL
Comments
https://www.electronicshub.org/8051-microcontroller-introduction/ 7/13
2/25/2019 8051 Microcontroller Introduction, Basics and Features
Om Singh says
JANUARY 16, 2018 AT 1:35 PM
Very knowledgeable
Reply
Pooja says
FEBRUARY 1, 2018 AT 1:55 PM
Ty so much for this kind of easy notes. It’s really best and simple to understand.
Reply
Faseeh khan says
APRIL 14, 2018 AT 4:09 AM
Thanks much buddy
Reply
Jayaji Yashwant Kad says
MAY 13, 2018 AT 12:41 AM
Very good information with easy language.Thanks
Reply
Bohdan says
MAY 13, 2018 AT 7:00 AM
https://www.electronicshub.org/8051-microcontroller-introduction/ 8/13
2/25/2019 8051 Microcontroller Introduction, Basics and Features
Hi,
quite sentimental article: I wrote Masters thesis on Motorola 6800 microcontroller
simulation on ICL 1900 mainframe, but yet in 1979, year before 8051 was born … Nothing
has changed apart the world.
Reply
padma priyanka says
MAY 14, 2018 AT 10:20 AM
it is very useful for easy understanding of the basics
Reply
kokkirekkala nagaraju says
AUGUST 10, 2018 AT 2:14 AM
Its awesome to learn and understand in a easy way
thank you
thank you very much
Reply
nishigandha unhale says
SEPTEMBER 21, 2018 AT 1:23 AM
this information is very helpful for me thank u so much
Reply
Biju. A. P( VU2TDD) says
DECEMBER 19, 2018 AT 11:38 AM
https://www.electronicshub.org/8051-microcontroller-introduction/ 9/13
2/25/2019 8051 Microcontroller Introduction, Basics and Features
Very nice and short presentation. Very helpful for the beginners, Thanks
Reply
Leave a Reply
Your email address will not be published. Required elds are marked *
Comment
Name *
Email *
Website
POST COMMENT
Search this website
https://www.electronicshub.org/8051-microcontroller-introduction/ 10/13
2/25/2019 8051 Microcontroller Introduction, Basics and Features
PROJECTS BY CATEGORY
Arduino Projects (200+)
Electronics Projects (250+)
Mini Project Circuits (160+)
Mini Project Ideas (150+)
ECE Projects (150+)
EEE Projects (150+)
8051 Projects (110+)
Raspberry Pi Projects (101+)
Electrical Project Ideas (100+)
Embedded Projects (100+)
Latest Electronics Ideas (100+)
Microcontroller Mini Projects (100+)
Robotics Projects (100+)
VLSI Projects (100+)
Solar Projects (100+)
IOT Projects (100+)
https://www.electronicshub.org/8051-microcontroller-introduction/ 11/13
2/25/2019 8051 Microcontroller Introduction, Basics and Features
Communication Projects (70+)
LED Projects (70+)
Power Electronics Projects (60+)
RFID Projects (60+)
Home Automation Projects (50+)
Matlab Projects (50+)
EIE Projects (50+)
Wireless Projects (50+)
LabView Projects (45+)
Zigbee Projects (45+)
GSM Projects (40+)
555 Timer Circuits (40+)
Sensor Projects (40+)
ARM Projects (60+)
DTMF Projects (30+)
PIC Projects (30+)
Electrical Mini Projects (25)
ESP8266 Projects (15)
KITS
Best Drone Kits [12]
3D Printer Kits [12]
Best Robot Vacuum Clears [14]
Best Waveform Generators [12]
RGB LED Strip Light Kits [20]
Best LED Christmas Light Kits [13]
SUBSCRIBE FOR UPDATES
Enter your email address:
https://www.electronicshub.org/8051-microcontroller-introduction/ 12/13
2/25/2019 8051 Microcontroller Introduction, Basics and Features
SUBSCRIBE
GENERAL PROJECTS PROJECTS
Tutorials Electrical Mini projects
Symbols Electronics Microcontroller
Courses Embedded Arduino
Calculator Power Solar
Contact Robotics Free circuits
ARM Home Automation
IOT Seminar Topics
Electronics Questions
TUTORIALS TUTORIALS FOLLOW US
Capacitors Ampli ers Instagram
Resistors IO Devices Youtube
Filters Thyristors Facebook
Diodes DC Circuits Google Plus
Transistors Number System Twitter
TS EAMCET 2019
Copyright © 2019 Electronicshub.org
https://www.electronicshub.org/8051-microcontroller-introduction/ 13/13