Encyclopedia > Microcontroller

  Article Content

Microcontroller

A microcontroller is a microprocessor optimised to be used to control electronic equipment. Microcontrollers represent the vast majority of all computer chips sold, over 50% are "simple" controllers, and another 20% are more specialized DSP's. While you may have one or two general-purpose microprocessors in your house (you're using one to read this), you likely have somewhere between one and two dozen microcontrollers. They can be found in almost any electrical device, washing machines, microwave ovens, telephones etc.

Microcontroller includes CPU, memory for the program (ROM), memory for data (RAM, I/O lines to communicate with peripherals and complementary resources, all this in a closed chip.

A microcontroller differs from a standalone CPU, because the first one generally is quite easy to make into a working computer, with a minimum of external support chips. The idea is that the microcontroller will be placed in the device to control, hooked up to power and any information it needs, and that's that.

A traditional microprocessor won't allow you to do this, it expects all of these tasks to be handled by other chips.

For instance, a typical microcontroller will have a built in clock generator and a small amount of RAM and ROM/EPROM/EEPROM, meaning that to make it work, all that is needed is some control software and a timing crystal. Microcontrollers will also usually have a variety of input/output devices, such as Analog to digital converters, timers, UARTs and specialised serial interface busses like I2C and CAN. Often these integrated devices can be controlled by specialised processor instructions. Modern microcontrollers often include a built-in programming language, BASIC is quite common for this.

Microcontrollers trade speed and flexibility for ease-of-use. There's only so much room on the chip to include functionality, so for every I/O device or memory the microcontroller includes, some other circuitry has to be removed.

Common Microcontrollers in use are:

  • Hitachi

  • Generic
    • Some microcontroller architectures are available from so many vendors in so many varieties that they could rightly be their own category. Chief among these are the 8051 and Z80 variants.

See also :



All Wikipedia text is available under the terms of the GNU Free Documentation License

 
  Search Encyclopedia

Search over one million articles, find something about almost anything!
 
 
  
  Featured Article
Quadratic formula

... with a being non-zero. These solutions are also called the roots of the equation. The formula reads <math> x=\frac{-b \pm \sqr ...

 
 
 
This page was created in 27.9 ms