"what is the difference between Micro controller and Microprocessor?" The answer is in the name itself. A Microprocessor is a small processor. optimized for size or computing efficiency or price. Not more. It conatins all components to execute a program, but not the parts needed to store program and data or do something useful. THis has to be added externally. A Microcontroller is a small device that can control something. So it has I/O capabilities, often analog I/O, timers and other things. Usually, a Microcontroller contains a Microprocessor along with rom and ram (there are exceptions, some are not freely programmable and may have discrete state machines instead) but not otherwise.
↧