Previous in Forum: Radio Interference Voltage (RIV) Testing   Next in Forum: Motor Acceleration and Motor Life
Close
Close
Close
5 comments
Rate Comments: Nested
Anonymous Poster

Microcontrollers vs. Microprocessors

05/02/2008 6:08 AM

can we use microcontrollers and microprocessors to serve the same purpose? (can 8086 microprocessors do all what microcontrollers can?)

Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

Good Answers:

These comments received enough positive votes to make them "good answers".
Guru
United Kingdom - Member - Not a New Member Hobbies - Musician - New Member Hobbies - Fishing - New Member

Join Date: May 2006
Location: Reading, Berkshire, UK. Going under cover.
Posts: 9684
Good Answers: 468
#1

Re: microcontrollers

05/02/2008 7:02 AM

In short, yes. The only grey area is that some microcontrollers have built-in functions for things like PWM control - you'd have to emulate these (using software or dedicated external hardware) in a microprocessor-based system.

__________________
"Love justice, you who rule the world" - Dante Alighieri
Reply
4
Guru
Popular Science - Evolution - New Member Popular Science - Weaponology - New Member

Join Date: May 2006
Location: The 'Space Coast', USA
Posts: 11119
Good Answers: 918
#2

Re: microcontrollers

05/02/2008 8:11 AM

Yes, and no. How's that for an answer?

Microprocessors and microcontrollers are designed for specific tasks. However, generally, a microprocessor is designed for high speed computational jobs that use lots of memory and require high speed calculations. To do this they generally use more power and generate more heat. Microprocessors tend to cost much more than microcontrollers.

Microcontrollers are geared for more input/output tasks. If you look at the applications for microcontrollers they are heavily involved with reading hardware inputs (either discrete or analog), making decisions based on the state of those inputs, and then driving outputs to a desired state.

Microcontrollers tend to be very miserly in power requirements. To do this microcontrollers tend not to have the memory management units, math coprocessors, external memory address and data lines, nor the clock speed. For example, a microcontroller might run at 20 MHz. Your PC might run at 3 GHz!

So, microcontrollers tend to get rid of any unused baggage that a typical microprocessor has by default. In its place they tend to put lots of input and output ports on the microcontroller and specialized pins for driving or reading the external world.

Another critical difference is package size. Microprocessors tend to be very big and have hundreds of pins (mostly address and data lines). Microcontrollers can typically have as few as 8 pins.

There are all kinds of variants that exist in between these two extremes. So, when designing for an application you can spend a lot of time searching and picking one that has all the features you need and no extra features you don't need.

Reply Good Answer (Score 4)
Guru
Popular Science - Weaponology - New Member United Kingdom - Member - New Member

Join Date: May 2007
Location: Harlow England
Posts: 16512
Good Answers: 670
#3

Re: Microcontrollers vs. Microprocessors

05/02/2008 4:51 PM

The main difference is a microcontroller generally has onboad Randon Access memory and Program Memeory (Maybe One time programable (OTP) or reprogramable).

A microprocessor generally has these memeory functions as separate Integrated Circuits.

EG. A Z80 process would need external memory for program and RAM... whereas a Z86733 would have an OTP program memory and a good amount of onboard RAM. Thus a useful application can be built with virtually no other chips!

Del

__________________
health warning: These posts may contain traces of nut.
Reply
Power-User

Join Date: Nov 2007
Location: South Florida
Posts: 394
Good Answers: 8
#4

Re: Microcontrollers vs. Microprocessors

05/03/2008 10:20 AM

So far, my experience with microcontrollers has been in things like robot arms doing point to point or spot welding work, pick and place applications. Something that is repetitious.

You might also find them in your car, washing machine, microwave small, household appliances.

They are very popular with Robotics hobbyists and they are starting to make in-roads into the Radio Controlled market.

Check out the book "What's a microcontroller" from Parallax ( www.parallax.com ) or

( www.stampsinclass.com )

Other wise, Anonymous Hero gives you an excellent description.

Orpheuse

__________________
Orpheuse
Reply
Anonymous Poster
#5

Re: Microcontrollers vs. Microprocessors

07/13/2010 3:16 AM

no microcontroller is for controlling hardware and single purpose.microprocessor is for general purpose.

by,

NASIR

Reply Off Topic (Score 6)
Reply to Forum Thread 5 comments

Good Answers:

These comments received enough positive votes to make them "good answers".
Copy to Clipboard

Users who posted comments:

Anonymous Hero (1); Anonymous Poster (1); JohnDG (1); Orpheuse (1); user-deleted-1105 (1)

Previous in Forum: Radio Interference Voltage (RIV) Testing   Next in Forum: Motor Acceleration and Motor Life

Advertisement