Learning Rooms/△ Level 2 · Builder/Computing and algorithms
What is a Microcontroller?
Microchip Technology, Inc. · Length: see YouTube · captions on YouTube · nothing loads until you press play
By the end you can…
- Name the main parts of a microcontroller: CPU, flash memory, RAM, clock and peripherals.
- Explain what each part does using an everyday machine as the example.
- Explain why a machine uses a microcontroller rather than a laptop-style computer.
Watch it all: no segment has been checked by hand for this video yet.
1.Predict before you press play
A microcontroller loses power and then switches back on. Its program is still there. Where was the program kept?
Pick one before you press play. A wrong guess is fine: it is what makes the video stick.
2.See the idea first
Play with this diagram for a minute (borrowed from the lesson “Counting in nanoseconds”, on the same idea). It gives you something to hang the video on.
Loading the interactive…
Can't use the diagram? Read a description instead
The budget calculator takes a clock frequency, cycles per instruction and loop size. It shows the clock period (1 ÷ frequency), instructions per millisecond, the time for one loop pass (instructions × cycles ÷ frequency) and compares it with a chosen deadline, saying whether it fits and what fraction of the deadline it uses.
3.Watch, actively
A chip maker's beginner tour that compares the parts of a microcontroller with the parts of an ordinary computer.
Length: see YouTube · captions on YouTube · source
Nothing loads from YouTube until you press play.
Watch for…
- → Listen for each part the video compares with a desktop computer, and write down which job each one does.
Pause whenever you like. Rewatching a hard minute is a good habit, not a failure.
Can't stream it? Read the idea instead
A microcontroller is a small computer on one chip: a processor, memory for the program, working memory and input/output pins all together. It is built to run one job for years, reading sensors and switching outputs, rather than to run many programs like a laptop.
What the video covers (our own note, written when we verified it): A chip maker's beginner tour that compares the parts of a microcontroller with the parts of an ordinary computer.
Written by Tactiverge in our own words, not a transcript. The full lesson below explains the idea without the video.
Read it instead
- Lesson: A whole computer on one chip · The full lesson explains the idea in text, worked examples and diagrams, with no video needed.
- Engineering Atlas: Inside a microcontroller · Most robots have at least one microcontroller close to the motors, reading sensors and driving actuators many times a second.
- Field Guide: Fetch–decode–execute cycle · A short reference entry on the same idea.
- Systems Atlas: Microcontroller · A real system that uses this idea, explained without video.
Jot down one thing that surprised you and one question you still have.
4.Practise what you just saw
These come from the lesson that use this video and are checked on the server. Wrong answers get a hint and another try.
Practice 1
Which peripheral turns a sensor voltage such as 1.2 V into a number the program can use?
Practice 2
Why does a TV remote use a microcontroller rather than a laptop processor?
Practice 3
What does the CPU do over and over while the program runs?
Practice 4 · a fresh version every time
A microcontroller's clock runs at 160 MHz. How long is one clock period, in nanoseconds?
6.Where engineers use it
A digital kitchen scale: a load sensor feeds the ADC peripheral, the CPU turns counts into grams, a timer blanks the display after a minute and the program sits in flash. The whole thing runs for a year on two AAA batteries.
From the applied view in the lesson A whole computer on one chip. Checked by automated tests only.
7.Build something with it
Follow-up project
Pick a machine at home (microwave, kettle, toy, alarm clock). Draw a box for the microcontroller with its five parts, then draw arrows to every button, sensor, light and motor you think it uses. Label which peripheral each arrow connects to.
Where this video lives
- A whole computer on one chip · Level 2, week 19
In the course catalogue: ROB-210 Programming for robots
The video is by Microchip Technology, Inc., embedded from YouTube with privacy-enhanced mode and never autoplayed. The room around it (prompts, notes, practice, projects) is Tactiverge's, written with AI assistance and checked by automated tests only.