Wednesday, January 25, 2012

Difference between Microprocessor and Microcontroller


 Microprocessor based system

microprocessor system - schematic arrangement
Take a closer look at the block diagram and you will see a micro processor has many support devices like Read only memory, Read-Write memory, Serial interface, Timer, Input/Output ports etc. All these support devices are interfaced to microprocessor via a system bus. So one point is clear now, all support devices in a microprocessor based system are external.  The system bus is composed of an address bus, data bus and control bus.
Okay, now lets take a look at the microcontroller.

Micro controller system

microcontroller schematic arrangement
The above block diagram shows a micro controller system in general. What’s the primary difference you see? All the support devices like Read only memory, Read – Write memory, Timer, Serial interface, I/O ports are internal. There is no need of interfacing these support devices and this saves a lot of time for the individual who creates the system. You got the basic understanding ? A micro controller is nothing but a microprocessor system with all support devices integrated inside a single chip. There is no need of any external interfacing in a micro controller unless you desire to create something beyond the limit, like interfacing an external memory or DAC/ADC unit etc. To make this microcontroller function, you need to give a DC power supply, a reset circuit and a quartz crystal (system clock) from external source.
Okay, so we have an idea about the basic difference between a microprocessor and microcontroller. Now lets compare some features of both systems.

Comparison

As you already know, support devices are external in a microprocessor based system where as support devices are internal for a micro controller. Micro controllers offer software protection where as micro processor base system fails to offer a protection system. This is made possible in microcontrollers by locking the on-chip program memory which makes it impossible to read using an external circuit. Okay! So that are basic differences, now you can come up with some more. As we need to interface support devices externally in a microprocessor based system, time required to build the circuit will be more, the size will be more and power consumption will be more in a microprocessor based system compared to microcontroller.

3 comments: