The lesson

🧑‍🏫 Teacher Guide

Two micro:bits per pair, and two different programs. Give each pair a different radio group number or the room will cross-talk. The car program is the finished project below; the remote program is step 2. MakeCode links — remote _9JCE5Ta78DL9, car _eTEdPEKvRHEa. Fix It answer: the two boards are on different groups, so nothing is ever heard. If the car will not move at all, swap its batteries before you read the code — weak cells look exactly like this bug. Source: ElecFreaks wiki, Case 11 "micro:bit Remote Control".

🟢 Add a stop button to the remote.
Pick a number nobody is using → Decide which input sends it → Add it to the remote → Add the matching branch on the car
🟡 Two cars, two groups — drive them side by side without crossing signals.
Give each pair its own group number → Change both boards of one pair → Test with both remotes at once → Say what happens if the groups match
🔴 Make the remote show which command it just sent on its own screen.
Find a block that draws on the screen → Put one in each button → Choose a picture per command → Check it matches what the car does
🟡 Send a new number and make the car flash its headlights twice when it arrives.
Pick a number the car does not use yet — 0 to 3 are taken → Send it from the remote → Count two flashes out with a repeat on the car → Flash the headlights once per count
radio_set_group

Puts this micro:bit on one radio channel, from 0 to 255.

radio.setGroup(7)
radio.sendNumber(1)

You see: Nothing on its own, but now it only hears micro:bits on the same group.

radio_send_number

Sends one number over the radio.

radio.setGroup(7)
input.onButtonPressed(Button.A, function () {
    radio.sendNumber(1)
})

You see: The other micro:bit on the same group receives that number.

radio_on_number

Runs the blocks inside when a number arrives.

radio.setGroup(7)
radio.onReceivedNumber(function (receivedNumber) {
    cuteBot.motors(receivedNumber, receivedNumber)
})

You see: Nothing until a number comes in, then the blocks inside run.

cutebot_turn_left

One wheel stops and the other drives, so the car pivots to the left.

cuteBot.turnleft()
basic.pause(500)
cuteBot.stopcar()

You see: The car pivots left. Half a second is roughly a quarter turn on a smooth floor.

⚠ How far it turns depends on the floor and the batteries. On carpet the same half second turns much less. Students should measure, not trust a number.

cutebot_turn_right

One wheel stops and the other drives, so the car pivots to the right.

cuteBot.turnright()
basic.pause(500)
cuteBot.stopcar()

You see: The car pivots right, about a quarter turn in half a second.

Answer key

Conceptc1 → C, c2 → A
Readingr1 → C, r2 → D, r3 → B
Debugd1 → B, d2 → D
Buildingb1 → C, b2 → A

Talk rubric

Strong — says the number carries no meaning by itself; the receiving program gives it one by matching it in an if and running a chosen block. Developing — says it means "turn left" without noting that the receiver is what decides. Needs Focus — says the radio or the sender decides what happens.

A week later

These questions are not on the check-up page. They come back in the next chapter's Warm-up, five days or more after the check-up — with one new program on the same idea each.

Concept 1 🗓️ Comes back a week laterTwo micro:bits talk over radio. What do they have to agree on? → A The same group number
· New code (same idea)Your remote's program sets radio group 7. Which car hears it? → C Any car whose program also sets group 7
Reading 1 🗓️ Comes back a week laterThe remote sends 2. What does the car do? → C Turns right
· New code (same idea)The remote sends 5. What does the car do? → A Turns left