Professional Documents
Culture Documents
63dba0afe4b05e5240da4335 Original
63dba0afe4b05e5240da4335 Original
8051
Microcontroller
Introduction
Welcome to the ever advancing world of modern technology. Drones, autonomous cars,
smart phones, RFID sensors, augmented reality, your favourite shopping website… are
just the beginning! Soon, you will be the reason to add more entries to the above list,
hopefully!
The main driving force behind all these inventions is the “Microprocessor” (µP).
Having had its modest beginning in the erstwhile 8085, microprocessors have come a
long way in the past four decades.
It must be clear to you by now, that a μP alone cannot form a computer. We need
Memory and I/O as well.
Consider an Air Conditioner remote control as an example. It is clear that the remote
works on programs, that are needed to identify the button we press, send appropriate
signal wirelessly to the A/C unit, display the appropriate information on the LCD screen
of the remote, etc.
Introduction to
Microprocessors
Yes you are right! Programs will be stored in ROM due to its non-volatile nature. Had
they been stored in RAM and we remove the batteries (power supply), the programs
would have been lost and the remote control would never work agarin even after
inserting the batteries. Hence, we certainly need internal ROM.
Do we need RAM in a remote controller? Yes, to store data. Now what is data in a
remote controller? The cooling temperature, the fan speed etc. All of this is changeable
data and is given by the user at runtime. This means it must be stored in a writeable
form of memory. That is RAM. So the remote controller certainly needs internal RAM.
Do we need I/O components? Yes, we need an input port to connect with the keypad.
We need an output port to connect with the LCD display on the remote controller. And
of course we do need an output port to send wireless signals to the A/C unit. Some
remote controllers also provide timer functions to show the current time as well as keep
an auto sleep timer to shut the A/C after a certain period. This is achieved by an internal
timer unit.
If we use a microprocessor for this task, we would have to connect external RAM, ROM,
I/O ports, Timers etc to it and make a huge circuit out of it. That kind of lavish space is
available on the motherboard of a computer, not in small appliances.
Here what we would wish for is a compact chaip which somehow contains all our
requirements. That is a microcontroller.
A μC has internal processor, RAM, ROM, I/O ports, Timers, interrupts, Serial port etc…
all built on a single chip.
Introduction to
Microprocessors
The most obvious advantage of using a μC is the tremendous space advantage. As all
components are present internally it practically provides a one chip solution to all our
tech requirements.
This not only makes the system very compact an easy to construct, it also reduces the
power consumption, increases the reliability, makes operations faster and reduces the
overall cost of the system development and maintenance.
8051 has an 8-bit data bus, so all external Data Transfers will be of 8-bits in one cycle.
Since program memory (ROM) and data memory (RAM) are separate, 8051 follows
Harvard Model. In contrast, Processors based on Von Neumann Model store programs
and data in a common memory space.
There are 4, 8bit, bidirectional I/O ports for interfacing external devices like keyboards,
displays etc. These ports can also be used for their alternate functions like multiplexed
address data buses and control signals.
8051 has two power saving modes called “Idle mode” and “Power Down mode”.
Contact us
Instagram | https://www.instagram.com/bharatacharya.in
Facebook | https://www.facebook.com/BharatAcharyaEducation
Youtube | http://www.youtube.com/c/bharatacharyaeducation
WhatsApp | +919136428051
Email | bharatsir@hotmail.com
Website | https://www.bharatacharyaeducation.com
Follow our tags | #bharatacharyaeducation #bharatacharya