You are signed in. Close

You are signed out. Close

Thank you. Your subscription has started. Close

Thank you. You will get an email when a new comic comes out. Close

We could not confirm your payment. If you paid, use the link "Sign in" at the bottom of the page. Close

Something went wrong on our side. Please try again in a moment. Close

Previous episode What is an embedded system? The hidden computers in your home

How embedded systems work: the hidden computers in everyday things, and how engineers build them

What is a microcontroller? A whole computer on one chip

The computer inside a microwave or a car key is smaller than your fingernail, and some cost only a few cents. It follows a program all the same, with everything it needs packed on that one small chip.

  1. 1 On the small board of the flap, Rono points at one black chip, smaller than your fingernail. That chip is the whole computer.the chipRono

    On the small board of the flap, Rono points at one black chip, smaller than your fingernail. That chip is the whole computer.

  2. 2 In your laptop, the three main parts are separate: a processor that follows the steps of a program, a memory for the work in progress, and a storage that keeps the programs.inside your laptopprocessormemorystorage

    In your laptop, the three main parts are separate: a processor that follows the steps of a program, a memory for the work in progress, and a storage that keeps the programs.

  3. 3 The chip of the flap holds the same three parts in one small package. Its short legs are pins, which connect it to the outside.processormemorystoragepins

    The chip of the flap holds the same three parts in one small package. Its short legs are pins, which connect it to the outside.

  4. 4 A chip like this is called a microcontroller, or MCU for short. Most embedded systems have one at their heart.microcontrollerMCU for short

    A chip like this is called a microcontroller, or MCU for short. Most embedded systems have one at their heart.

  5. 5 A microcontroller is slow next to your laptop, but its one job needs little. It needs no fan, it can run on batteries, and the cheapest ones cost only a few cents.fanyour laptop'sprocessor+a microcontrollera few cents

    A microcontroller is slow next to your laptop, but its one job needs little. It needs no fan, it can run on batteries, and the cheapest ones cost only a few cents.

  6. 6 Still, the chip only sits on its board. It has no eyes and no hands, only its pins.no eyesyou

    Still, the chip only sits on its board. It has no eyes and no hands, only its pins.

  7. Quick check

    A speaker with three chips.A speaker has its processor,memory and storage onthree chips. Is its processora microcontroller?processormemorystorage

    A speaker with three chips.

    Show the answer

    No. A microcontroller holds the processor, the memory and the storage in one chip. This processor needs other chips for its memory and its storage.

  8. Go further

    Two cousins of the chip, and what it is made of.microprocessora processor on its own chip,with its memory and storageoutside it, as in a laptop.A car screen or a smart TVuses onesiliconthe material of the chip.Its small parts are drawnon a thin slice of it,inside the black packageArm, RISC-Vtwo families of processorsthat many microcontrollersare built on. Makers such asMicrochip, ST and Espressifsell billions of them

    Two cousins of the chip, and what it is made of.

Next episode Sensors and actuators: how a tiny computer feels and moves the world

Share this comic

More comics