Popular Posts

Thursday, March 17, 2011

Microprocessor or Microcontroller
Not just a case of “you say tomarto and I say tomayto

R.R.M.F.A
Bahria University,Karachi,Pakistan
T.E ,Airblue airline (pvt) Ltd. 




Q1:What is the difference between a microprocessor and a microcontroller?

Ans-The main differences are as follow:
A micro processor and microcotrollers are the same, however, microcontroller is refered to a microprocessor that contains other functions and other extra hardware.

For example, a microprocessor chip that also has PWM and on board serial com chips is considered to be a microcontroller.


And microcomputer, is computing units that are smaller in size, such as your cell phone.
A microprocessor is a hardware that can processes logical codes.




A microcontroller is a specialized form of microprocessor that is designed to be self-sufficient and cost-effective, where a microprocessor is typically designed to be general purpose (the kind used in a PC). Microcontrollers are frequently found in automobiles, office machines, toys, and appliances.
The microcontroller is the integration of a number of useful functions into a single IC package. These functions are:

The ability to execute a stored set of instructions to carry out user defined tasks.
The ability to be able to access external memory chips to both read and write data from and to the memory.

Basically, a microcontroller is a device which integrates a number of the components of a microprocessor system onto a single microchip.

So a microcontroller combines onto the same microchip :

i).The CPU core (microprocessor)
ii).Memory (both ROM and RAM)
iii).Some parallel digital I/O
Also, a microcontroller is part of an embedded system, which is essentially the whole circuit board. Look up "embedded system" on Wikipedia.
The difference is that microcontroller incorporates features of microprocessor(CPU,ALU,Registers)along with the presence of added features like presence of RAM,ROM,I\O ports,counter etc.Here microcontroller control the operation of machine using fixed programme stored in Rom that doesn't change with lifetime. 
According to me the main difference between a typical microprocessor and a micro controller living there architectural specifications is the application area of both the devices. A typical microprocessor like Intel Core family or Pentium family processors or similar processors is in computers as a general purpose programmable device. In its life period it has to handle many different tasks and programs given to it.
On the other hand a micro controllers from 8051 family or PIC family or any other have found there applications in small embedded systems like some kind of robotic system or a traffic signal control system. Also these devices handle same task or same program during there complete life cycle.
(Best example is of traffic signal control system).
The other difference is that the micro controllers usually has to handle real time tasks while on the contrary the microprocessors in a computer system may not handle a real time task at all times.




No comments:

Post a Comment