Project case
Color Rover
Built by Kareem · Age 12 · Kuwait · 5 weeks
IntermediateGreen go, red stop, blue turn — code that moves something.
Problem
The floor colour should change what the rover does.
Approach
Read a sensor, branch on green / red / blue, drive or stop or turn.
How it is built
sensor.read() in; drive commands out. One colour, one behaviour.
Tools
Python · Sensors · Motors
What was hard
Lighting that fools the sensor. A stop that actually stops.
Mentor notes
A rover that only goes forward isn’t reading the floor.
What they have now
A robot challenge they can demo on a coloured mat.
What they can now explain
- What the sensor returns
- Why red means stop
- How they’d add yellow = reverse
Live project demos from Codeoko programs — First Code, App Builders, and AI Engineers.
Back to projects