Skip to content Skip to navigation Skip to collection information

Connexions

You are here: Home » Content » Microcontroller and Embedded Systems Laboratory » What is a Microcontroller?

Navigation

Lenses

What is a lens?

Definition of a lens

Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual member, a community, or a respected organization.

What are tags? tag icon

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

This content is ...

Affiliated with (What does "Affiliated with" mean?)

This content is either by members of the organizations listed or about topics related to the organizations listed. Click each link to see a list of all content affiliated with the organization.
  • TI MSP430 display tagshide tags

    This collection is included inLens: Texas Instruments MSP430
    By: Texas Instruments

    Comments:

    "Basic introduction to microcontroller-based embedded systems development. Includes structured laboratory exercises in the following areas: assembly programming, C language programming, peripheral […]"

    Click the "TI MSP430" link to see all content affiliated with them.

    Click the tag icon tag icon to display tags associated with this content.

Recently Viewed

This feature requires Javascript to be enabled.

Tags

(What is a tag?)

These tags come from the endorsement, affiliation, and other lenses that include this content.
 

What is a Microcontroller?

Module by: Patrick Frantz. E-mail the author

Summary: This module aims to define what a microcontroller is in terms of power, cost, speed and other specifications.

Consider the following set of words: microprocessor, microcontroller, processor, digital signal processor, mixed signal processor. In one sense, they are all the same thing - an ASIC that fetches and executes instructions based on input from some user program. These devices do not have a fixed function, but rather are controlled by software. Each of them share certain architecural features that have been developed since Intel created the first "microprocessor" in 1971.

point of interest:

Intel's web site contains an interesting history of the microprocessor.

In the three decades since the invention of the first microprocessor, there has been tremendous development and innovation in this field of engineering. Each of the terms used at the start of this section are correct names for a microprocessor, but they all have different application spaces and fetures. This still leaves us with the question, "What is a microcontroller?"

In truth, this is a bit difficut to pin down, due to the ever-evolving nature of the semiconductor industry. Consider that what we would call today's average microcontroller is oders of magnitude more powerful than the computer used in the Apollo Lunar Module. We can make some generalizations, however, that can help us characterize a microcontroller. Typically, these devices reside at what is the "low-end" of computing. This does not, however, mean that microcontrollers are useless. For embedded systems design, microcontrollers are usually an ideal choice. The following list shows some qualities that define all microprocessors, along with how they specifically define microcontrollers.

Some Common Processor Charateristics

  • Cost: The cost of the part. Microcontrollers are usually very cheap, sometimes even less than $1 each.
  • Speed: The frequency (speed) of the system clock, often stated in megahertz (MHz) or gigahertz (GHz). Microcontrollers are typically slow, less than 20MHz.
  • Power: The power dissapation of a system, measured in Watts. Microcontrollers are almost always "low-power."
  • Bits: This usually means the number of bits that can be processed at one time by each instruction (e.g. 8-bit, 16-bit, 32-bit, etc...). Microcontrollers are almost always 8-bit or maybe 16-bit devices.
  • Memory: Most processors have some amount of storage on the device for data and program instructions. In computing systems, memory is often hierarchical, so on-chip memory can serve different purposes. Microcontrollers typically have a limited amount of memory, less than 1MByte total.
  • Input/Output (I/O): All processors have some means of getting data in and out of the chip. In the physical sense, this relates to metal pins on the part package which are used to connect to other circuitry in the system. Microcontrollers usually have just a few I/O pins, as few as 8 or as many as 100. Larger processors, such as the ones founds in a typical PC, will typically have hundreds of pins.

note:

Some of the characteristics listed above are interdependent. For example, the greater number of pins a particular part has, the more complicated the packaging will need to be, which will probably cost more.
The figure below shows a photo of a modern microcontroller that meets all of these criteria.
Figure 1: The TI MSP430F169 meets the criteria we listed above and is a good example of a modern microcontroller.
Texas Instruments MSP430F169 16-bit Microcontroller
Texas Instruments MSP430F169 16-bit Microcontroller (MSP430F169.jpg)

As a last excercise, it is useful to compare different types of processors to see the tremendous amount of variety available. The following table shows a selection of modern processors and some numbers related to the features listed above. It is clear that there are tradeoffs to be made in choosing the right part for the design at hand, and part of being a good engineer is being able to do this well.

Table 1: Comparisson of Modern Processors
Processor Manufacturer Cost Speed Power Bits On-Chip Memory Off-Chip Memory Package Pins
MSP430F169 Texas Instruments $1 - $10 8 MHz ~5 mW 16-bit 1 - 62 KByte N/A 20-100
Pentium II Intel ~$65 333 MHz ~25 W 32-bit 548 KByte 4 GByte 615
TMS320C6416 Texas Instruments ~$300 700 MHz ~1.5 W 16/32-bit 1 MByte 1.28 GByte 532
PowerPC 970 IBM N/A 1.8 GHz ~42 W 64-bit 608 KByte 8 GByte 576

Glossary

ASIC:
Application Specific Integrated Circuit
embedded system:
A self contained electronic control system, generally with limited user input/output.

example:

A traffic light control system is a good example of an embedded system. The system is self-contained and controls the flow of vehicles at an intersection. Users (pedestrians, bicyclists and car drivers) interact with the system in a limited manner. There may be sensors that detect the presence of vehicles and buttons for pedestrians to push when they want to cross the intersection. The traffic lights output the "state" of the system and inform the users of the actions they must take.

opinion:

The best desinged embedded systems are those that are unobtrusive to the user. That is, they require little user interaction and, for the most part, are "invisible."
Hertz:
A unit of measurement for frequency, abbreviated Hz, denoting the number of cycles per second. 1 Hz = 1 cycle/second. For a more detailed explanation of frequency, see the following module.

Example:

1 megahertz (MHz) = 1,000,000 cycles/second.

Example:

1 gigahertz (GHz) = 1,000,000,000 cycles/second.

Watt:
A unit of measurement for power, abbreviated W, denoting the amount of energy (in joules) per second. 1 W = 1 joule/second.

Collection Navigation

Content actions

Download:

Collection as:

PDF | EPUB (?)

What is an EPUB file?

EPUB is an electronic book format that can be read on a variety of mobile devices.

Downloading to a reading device

For detailed instructions on how to download this content's EPUB to your specific device, click the "(?)" link.

| More downloads ...

Module as:

PDF | EPUB (?)

What is an EPUB file?

EPUB is an electronic book format that can be read on a variety of mobile devices.

Downloading to a reading device

For detailed instructions on how to download this content's EPUB to your specific device, click the "(?)" link.

| More downloads ...

Add:

Collection to:

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

Definition of a lens

Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual member, a community, or a respected organization.

What are tags? tag icon

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks

Module to:

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

Definition of a lens

Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual member, a community, or a respected organization.

What are tags? tag icon

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks