🤖 a arm that , a that when it too hot, or a that before a . What do all these have in ? They each use a to , a to when it , and a called a to make . In this you will how those — and use that to your own for a .
⚡ , let us . In a , all are in one . from the , through every in , and again. If you the — for by a — the and off. The in our will be: a ( ), a , a , and a . Each one has a job, and they all on each other that one .
✨
💡 : A is a on a . like the BBC :bit or Uno a , and / — all than your . They can from and , then out to and , of per .
🔧 A into — it . To make in a , things to the : a , a fan , a , or a . The and of the can be by the . the of through a the it . A called a (or ) the do this being by the the needs.
⚠️
⚠️ : A only a — 3 to 5 . A needs much more than that. a to a pin. use a or a to act as a , you will the .
🔀 are — they to the . A is (no ) or ( ). A a as a : 0 , 1 . More like or a of — these are , which the into . Both let your to the , which is what makes it and .
🔗 Match each component to its correct role in an automated product. 🔌
Motor
Push switch
Microcontroller
Motor driver
Power supply
💻 Now for the . for a it a of to . their using — that what the does about . A key is the : IF a is , THEN do one thing, do . For : IF is THEN run for 2 . The this over and over a called the .
Structure
What it does
Example
SET
Gives a variable a starting value
SET speed = 50
IF / THEN / ELSE
Makes a decision based on a condition
IF button pressed THEN motor ON
WAIT
Pauses the program for a set time
WAIT 3 seconds
LOOP / REPEAT
Keeps repeating a block of instructions
REPEAT forever: check switch
OUTPUT
Sends a signal to a component
OUTPUT motor pin HIGH
Pseudocode building blocks used in motor control programs 💻
🧩 Put these pseudocode instructions in the correct order to make a motor run for 3 seconds when a button is pressed, then stop. 🔢
END IF — go back to start of loop
OUTPUT motor pin LOW (motor off)
WAIT 3 seconds
THEN OUTPUT motor pin HIGH (motor on)
IF button pin reads HIGH (pressed)
START main loop
💡
🛠️ tip: Before you , a and your on . Ask : Who is the ? What does my ? What does the , and what should the make? these is called a , and it you on a that does not the need.
📋 When you your , it your . is and . of 'it , say 'the on 0.5 of the , which the need for an . about (does it every ?), (are all ?), and for (does it the ?). You should also — for , a so the can the .
🗂️ Sort each statement into the correct evaluation category. 📋
The motor ran correctly on 9 out of 10 button presses during testing
All bare wire connections are covered with insulating tape
The product opens the greenhouse vent when temperature exceeds the set level
The motor driver stayed cool during a 5-minute run, showing no overheating risk
The buggy stopped within 10 cm of the obstacle every time in five trials
The sorting arm successfully separates plastic from metal objects for the user
✨
🌍 : , and are used in every . Car , , and even all on the you have just : an , make a in , an . The you are now are the of and .
Quiz time! 📝
Power and Control: Check Your Learning ✅
Question 1 of 5
Tip: log in to save your score and track progress.
Finished?
Log in to mark this lesson complete and track your progress.