MICROCONTROLLER - INTRODUCTION
A Microcontroller is a computer. All computers -- whether we are
talking about a personal desktop computer or a large mainframe computer or a
microcontroller -- have several things in common.
Such as,
Such as,
Applications of Microcontrollers
Microcontrollers are hidden inside a surprising number of products
these days. If your microwave oven has an LED or LCD screen and a keypad, it
contains a microcontroller. All modern automobiles contain at least one
microcontroller, and can have as many as six or seven: The engine is controlled
by a microcontroller, as are the anti-lock brakes, the cruise control and so
on. Any device that has a remote control almost certainly contains a
microcontroller: TVs, VCRs and high-end stereo systems all fall into this
category. Nice SLR and digital cameras, cell phones, camcorders, answering
machines, laser printers, telephones (the ones with caller ID, 20-number
memory, etc.), pagers, and feature-laden refrigerators, dishwashers, washers
and dryers (the ones with displays and keypads)... You get the idea. Basically,
any product or device that interacts with its user has a microcontroller buried
inside.
![]() |
| -CONCEPT- |
Microcontrollers V/S Microprocessors
Microcontroller differs from a microprocessor in many ways. The
first and most important difference is its functionality. In order that the
microprocessor may be used, other components such as memory must be added to
it. Even though the microprocessors are considered to be powerful computing
machines, their weak point is that they are not adjusted to communicating to
peripheral equipment.
Simply, In order to communicate with peripheral environment, the
microprocessor must use specialized circuits added as external chips. In short
microprocessors are the pure heart of the computers. This is how it was in the
beginning and remains the same today.
Fig. 0-1 Microcontroller versus Microprocessor
On the other hand, the microcontroller is designed to be all of
that in one. No other specialized external components are needed for its
application because all necessary circuits which otherwise belong to
peripherals are already built into it. It saves the time and space needed to
design a device.
Building Blocks of Microcontroller
1.1 Memory unit
Memory is part of the microcontroller
whose function is to store data. The easiest way to explain it is to describe
it as one big closet with lots of drawers. If we suppose that we marked the
drawers in such a way that they can not be confused, any of their contents will
then be easily accessible. It is enough to know the designation of the drawer
and so its contents will be known to us for sure.
Memory components are exactly like
that. For a certain input we get the contents of a certain addressed memory
location and that's all. Two new concepts are brought to us: addressing and
memory location. Memory consists of all memory locations, and addressing is
nothing but selecting one of them. This means that we need to select the
desired memory location on one hand, and on the other hand we need to wait for
the contents of that location. Besides reading from a memory location, memory
must also provide for writing onto it. This is done by supplying an additional
line called control line. We will designate this line as R/W (read/write).
Control line is used in the following way: if r/w=1, reading is done, and if
opposite is true then writing is done on the memory location. Memory is the
first element, and we need a few operation of our microcontroller.

No comments:
Post a Comment