logo
Component Sales and Service Call us at 1-888-723-7279

Microcontroller Versus Microprocessor

 

Microcontroller vs Microprocessor? Which one is right for you? All designers know the differences between a microcontroller and a microprocessor. A microprocessor is simply a CPU, used as the core of a system. Memory and other peripherals are added to a microprocessor to complete the system. A microcontroller, on the other hand, has each of those peripherals already contained within the chip. This is why they are also sometimes known as a “system on a chip.” But less obvious is when we should choose one over the other.

Microprocessor

In general, mmicrocontroller vs microprocessoricroprocessors are designed for general tasks, rather than specific applications like the microcontroller. Microprocessors are at the heart of many of the common personal computing devices that we use every day. They typically run an operating system and are connected to multiple inputs and outputs, such as a graphics display, multiple peripherals such as hard drives, input devices such as keyboards.

 

 

These devices can be configured to interface with nearly any inputs and outputs with the correct software. For example, recording studios use them to record and playback as many as twenty or thirty streams of audio simultaneously, rendering them through external A/D and D/A converters, applying musical effects separately to each track, while reading and writing digital audio data to the hard drive. This same machine can be configured to interface with an oscilloscope for electrical design and development, or run a processor intensive analytical physics experiment.

If microprocessors can be developed into such flexible and powerful systems, why would we want to use a microcontroller instead? The microcontroller vs microprocessor issue will be solved in this article.

Microcontrollers

Microcontroller’s have some specific advantages over microprocessors. Since the key peripheral components of the system are already built into the chip, this reduces the cost and time required for hardware development. The physical footprint also is generally much smaller. It is easy to imagine applications where reducing physical size and development cost is a clear advantage over the flexibility available with a microprocessor based system. This is why we use Direct Components products on a daily basis that use microcontrollers. That wireless mouse you used to scroll to this page has a microcontroller, and probably a fairly low-powered microcontroller. The small physical size, rapid product development time, and low power draw all conspired to create a pointing device that can run on a small coin cell battery for as long as a year while costing only a 10 or 15 dollars.

microprocessor vs microcontroller

Microcontroller vs Microprocessor

In the case of your computer mouse, the microcontroller also has another valuable power saving feature that is not built into a microprocessor. This microcontroller has a native sleep mode which draws a very small fraction of the power used when it is active. Yet when you move the mouse, it appears to respond instantly on your screen. These microcontrollers have the ability to return very rapidly to an active state when compared to the required boot up time of a microprocessor.

 

Recently, some systems that historically were microprocessor based have followed a trend of switching to microcontroller based systems. The original web servers were almost identical to personal computers with custom operating systems. Since the hardware was personal computer hardware, they were by nature based on a microprocessor. As the need for more powerful web servers was realized, they simply grew, adding additional microprocessors or microprocessors with multiple CPU cores. These web servers grew in cost and power consumption, leading to the massive server “farms” that we are familiar with, requiring extensive (and expensive) engineering not just in the device itself, but even in the design of the building in which they are housed, just to remove the heat generated. But recently, new microcontroller designs have begun to replace these legacy web servers. They exhibit greater efficiency and lower costs. Their increased efficiency also has the happy side effect of decreased heat, which reduces the need for extensive air conditioning systems and improves component life.

Microcontroller vs Microprocessor

So for your next design, consider your specific needs. Does your application require the use of a microprocessor-based design? Or can a microcontroller be used for your product, reducing costs and development time? Make sure you take your time when selecting a microcontroller vs microprocessor on your next electronics project.

Featured Parts

Xilinx Part Number: XC2S200-5FG456C

Spansion Part Number: Am29F032B-75EF

Xilinx Part Number: XC3S1500-4FG456I

 

Find Out How We Can Help You

Our Knowledgeable sales and technical staff is available to assist you Monday - Friday from 8.30 A.M EST - 5.30 PM EST.
Request a quotes anytime: 24 hours a day, 7 days a week, and 365 days a year.