Professional Documents
Culture Documents
Microprocessor:
Microprocessor :Microprocessor is the heart of any processing device.
Its a basic building block of modern processors and controllers. Its a
register based multi-purpose electronics device which takes input from
us, process that input data according to the program written in external
memory and gives us useful results. This device is only consists of
processing unit, that is Memory and I/O devices are need to be
connected externally. As it requires external memory and I/O devices so
it requires large space and is larger in size. It is of no use without
interfacing with external memory and I/O ports.
Microcontroller : Microcontroller is also like a Microprocessor except
that a Microcontroller made by Integrating Memory and I/O ports on a
single chip. It doesn't requires external ROM, I/O ports for its operation.
As memory such as ROM/RAM is integrated on a single IC chip, thus it
is small in size. It is basically used for controlling various machines.
Programming of both Microcontroller And Microprocessor is almost
similar.
Applications of Microcontrollers:
Microcontrollers are mostly used in following electronic equipments :
Mobile Phones
Auto Mobiles
CD/DVD Players
Washing Machines
Cameras
Security Alarms
Although, there are many microcontrollers and even more programs available for
microcontrollers, but most of them have most things in common. Thus if we able to
learn any one of them then we can handle others also.
Microcontroller is very fast device (slower than computer) , so every instruction
executed in Microcontroller at very fast speed. Its functioning is given below:
When the Voltage level reaches its max value and frequency of
quartz oscillator becomes stable, the process of writing bits on
special function registers (SFRs) started. Everything occurs
according to the clock of the oscillator and over all electronics starts
working. All this takes very few nano seconds.
Address Bus
Data Bus
Address Bus: Microcontroller 8051 has a 16 bit address bus. It used to
address memory locations. It is used to transfer the address from CPU
to Memory.
Data Bus: Microcontroller 8051 has 8 bits data bus. It is used to carry
data.
Oscillator: As we know Microcontroller is a digital circuit device,
therefore it requires clock for its operation. For this
purpose, Microcontroller 8051 has an on-chip oscillator which works as a
clock source for Central Processing Unit. As the output pulses of
oscillator are stable therefore it enables synchronized work of all parts of
8051 Microcontroller.
Input/Output Port: As we know that Microcontroller is used in
Embedded systems to control the operation of machines. Therefore to
connect it to other machines, devices or peripherals we requires I/O