A microcontroller (mikropengawal) is a tiny computer on a single board that can be programmed to control things. School boards such as the micro:bit or Arduino read inputs — buttons and sensors — and control outputs such as LEDs, buzzers (pembaz) and motors.
What your child will learn
- Explain what a microcontroller is
- Name components used with a microcontroller
- Tell input components from output components
- Connect components safely using a breadboard
Inputs, outputs and the breadboard
Input components bring information in: a push button, a light sensor, a temperature sensor. Output components act: an LED lights up, a buzzer beeps, a motor turns, a screen shows text.
A breadboard lets you connect components without soldering — legs and jumper wires push into its holes, and hidden metal strips join the holes in each row. The program is written on a computer and uploaded to the board through a USB cable.
Example questions
Here are a few questions like the ones in the first quest. Can you solve them?
1. Mikropengawal ialah…
🎛️- sejenis bateri
- sejenis wayar
- mentol besar
- komputer kecil yang boleh diaturcarakan untuk mengawal sesuatu
Show answer
Answer: komputer kecil yang boleh diaturcarakan untuk mengawal sesuatu. Mikropengawal ialah “otak” sesuatu projek.
2. Motor yang berputar apabila diarahkan oleh mikropengawal ialah komponen…
- input
- output
- sensor
- bateri
Show answer
Answer: output. Motor melakukan tindakan.
3. LED yang menyala ialah komponen…
💡- output
- kuasa
- sensor
- input
Show answer
Answer: output. LED menunjukkan hasil arahan.
4. Padankan komponen mikropengawal dengan fungsinya.
- kabel USB
- pembaz
- breadboard
- wayar pelompat
- memuat naik atur cara
- menyambung komponen
- mengeluarkan bunyi
- menyambung litar tanpa memateri
Show answer
Answer: breadboard → menyambung litar tanpa memateri · kabel USB → memuat naik atur cara · pembaz → mengeluarkan bunyi · wayar pelompat → menyambung komponen. Setiap komponen ada peranannya.
Tips for grown-ups
- Look for devices at home that react on their own, such as a night light or an automatic tap, and talk about their inputs and outputs.
- Explore a free online microcontroller simulator together.