Basic block diagram of Microcontroller |
Microprocesser |
T The microprocessor is the integration of a number of useful functions into a single IC package other wise it can be call it as a CPU.At the same time a microcontroller is obtained by integrating the key components of microprocessor,RAM, ROM, and Digital I/O . Microcontrollers are usually designed to perform a small set of specific functions for example as in the case of a Digital Signal Processor which performs a small set of signal processing functions and it is widely used to regulate the brakes on all four wheels, or to regulate the car air conditioning .But Microprocesser performs a wide range of task ie microprocessor in a PC.The basic difference between the microprocessor and Microcontroller is that we can interface a microcontroller directly means "for example we can directly connect a keyboard to microcontroller to any of its ports"....where as for microprocessor we can't interface directly...we require a circuit board since it requires ram,ic's.....etc.,!We can directly interface digital and analog signal for processing. But it is not the case in the microprocessor.Microprocessor is the device that does not have memory(internal),in micontroller it has internal memory and has connected directly to pheripheral device.Microcontroller differs from a microprocessor in many ways. First and the most important is its functionality. In order for a microprocessor to be used, other components such as memory, or components for receiving and sending data must be added to it. In short that means that microprocessor is the very heart of the computer. On the other hand, microcontroller is designed to be all of that in one. No other external components are needed for its application because all necessary peripherals are already built into it.
eg. System Design.
Microcontroller can be control Single or Particular Application Only.
eg. embedded systems.
Another way of considering this is:
If you want to run a video game you probably need a microprocessor.
If you want to run a microwave oven you probably need a microcontroller.
If you want to run a microwave oven you probably need a microcontroller.