Maqueen Workshop for Kids
by https://www.vorburger.ch and work colleagues (anon)
This is the English version; there is also a German translation.
Agenda
What is a computer?
LeT’s play a quiz... Is this a computer?
Google Home Mini
Fitbit
~10’ into
YOUR own new (tiny) computer
Our robot “brains”
Important: Hold the controller board by the sides!
Our robot “brains”
Let’s get started!
Let’s build a dice roller
Try your program in the simulator
Let’s program the controller
It should appear as a disk (MICROBIT)
Hold micro:bit by the edges!�(But later hold the robot on wheels.)
Do not unplug the USB cord while the light is blinking!
More sides
Fewer sides
Changing the possible dice rolls
Program buttons
~30’ into
What is a robot?
DIY ?
DIY = “Do-It-Yourself”
Let’s build one!
Your Maqueen robot
What can Maqueen “see”
Infrared light sensor
Ultrasonic sensor
interface
Infrared line-tracking sensors
What can Maqueen show
Right LED
Left LED
Line-tracking status LEDs
Color LEDs (RGB)
Power on
What can Maqueen do
Buzzer to make sounds
Left motor
Right motor
How do we control Maqueen
Buzzer switch
On/off switch
micro:bit interface
Let’s assemble the robot step by step
DO NOT HURRY!
WAIT FOR EVERYONE!
Tape goes here
Assembly continued...
DO NOT HURRY!
WAIT FOR EVERYONE!
Finish assembly
DO NOT HURRY!
WAIT FOR EVERYONE!
Battery Insertion⚠️
You HAVE to make sure the batteries are inserted with the correct +/- “Polarity”.
If you put them in the wrong way, the robot will 👩🚒 BURN and Google will 🧨 EXPLODE.
Actually not really (the latter, but the former could). Ask your Table Lead to help or check!
Configure MakeCode
Simple first program
When button A is pressed then:
Download and transfer to micro:bit:
~90’ into
Second program, with the ultrasonic sensor
Did it fall off the table? ;-)
Stop the motor and turn off the lights when its ultrasonic sensor sees something is within 10cm.
Navigate!
Make your robot wander around the room without crashing into anything.
Instead of stopping when it sees something in the way, what should it do?
Other ideas:
Example solutions
Idea: Make Lights blink!
~120’ into
Follow the Yellow brick road
Black line
Our mission: get Maqueen to follow a route
What do we do?
What do we do? Go right!
What do we do?
What do we do? Turn left!
What do we do?
What do we do? Go straight!
What do we do?
What do we do????? Need to find our way!
What do we do????? Run in a circle!
Putting it all together
Jump start with the code
Hint: don’t set the speed to high!
Maqueen: More things, to try out at home!
Appendix
Simple follow-the-line solution
You’ll have to adjust the speed for your robot.
Possible alternative follow-the-line solution
You’ll have to adjust the speed for your robot.