Coasted Engineering Lab

Robotics Lab

Program robots in 3D. Use sensors, loops and decisions to solve real challenges.

Activities
7
Ages
6–17
Total time
240min

Choose your age group

The lab suggests where to start and writes every activity for your age. All activities stay open to everyone.

Progress0 of 7 activities complete
Length × width
180 × 150 mm
Wheel diameter
66 mm
Top speed
0.30 m/s
Ultrasonic range
2–400 cm

Activities

Every activity is open to everyone.

  1. First movesDrive a classroom rover by hand, then program it with move and turn blocks.Ages 6–9 20 minNot started0%Start
  2. Sensors and decisionsUse distance, line and colour sensors with loops and if-blocks to follow lines and avoid walls.Ages 10–13 35 minNot started0%Start
  3. Maze challengeProgram a rover to find its way out of a maze, then race the clock.Ages 6–17 30 minNot started0%Start
  4. Code it like an engineerWrite Python-style code and tune a PID controller to make a line follower fast and smooth.Ages 14–17 45 minNot started0%Start
  5. Robot dog: inspection patrolProgram a four-legged robot to walk, climb stairs and inspect an industrial site, and see how legged robots balance.Ages 6–17 30 minNot started0%Start
  6. Competition arenaCompetition-style missions in the formats of RoboCup Junior Rescue Line, WRO, the FIRST LEGO League robot game and WRO Future Engineers.Ages 10–17 45 minNot started0%Start
  7. Robot arm: pick and placeControl a three-joint robot arm, then program it to sort parts on a factory line.Ages 10–17 35 minNot started0%Start

How every robot works

Sense, think, act, many times a second.

  1. 01Sense

    An ultrasonic sensor times an echo to measure distance. Infrared sensors spot dark lines on the floor, and a gyro measures how far the robot has turned.

  2. 02Think

    Loops repeat actions and if-blocks make decisions from the sensor readings, many times every second.

  3. 03Act

    Two motors drive two wheels. When one wheel turns faster than the other, the robot curves. This is called differential drive.

Simulated: Physics
Motors take time to speed up, wheels roll exactly as far as they turn, and walls stop the robot.
Simulated: Sensors
Ultrasonic, infrared line, colour, bumper and gyro sensors read the 3D world the way the real parts do.
Simulated: Programs
Blocks become a program that runs on the robot step by step, with Python-style code for older learners.

Robots in real life

The sensors, loops and decisions you program here are the ideas real robots use every day.

  • Warehouses

    Fleets of mobile robots carry shelves and boxes around large warehouses, following planned routes and keeping out of each other’s way.

  • Homes

    Robot vacuum cleaners use bump and distance sensors to find their way round furniture and to stop at the top of the stairs.

  • Space

    Radio signals take minutes to travel between Earth and Mars, so rovers there drive themselves between points that engineers plan.

  • Factories

    Robot arms weld, paint and pack products with great precision, often working alongside people.

  • Farms

    Robots milk cows on some dairy farms, and camera-guided machines tell weeds from crops so less weedkiller is needed.

  • Hospitals

    Delivery robots carry medicines, meals and supplies along hospital corridors, using sensors to avoid people.

  • Roads

    Many new cars use cameras and radar to warn the driver, or brake by themselves if a crash is about to happen.

  • Inspection

    Remote-controlled robots inspect places that are dangerous for people, such as damaged buildings, tanks and pipes.

For teachers

Explorers 6–9 drive and use large blocks; Builders 10–13 use sensors, loops and decisions; Innovators 14–17 tune controllers with equations and code.

Ready for the classroom

Every activity has a goal, guided steps, a challenge, real-world links and a short quiz written for each age group. Use it on a projector or with pupils in pairs.

Runs on school laptops

The 3D view only draws when something moves and lowers its detail on slower computers. It works on tablets too, with larger controls for ages 6–9.

Private by design

No account and no downloads. Progress and programs are saved in each pupil’s browser on this device and are not sent anywhere.

Send feedback

Tell us privately what works and what we should improve. We read every message. To discuss it with everyone, post it on the community board instead.

How would you rate the Engineering Lab?
What is it about?

0 / 2000

I am a… (optional)

Under 13? Leave this blank, or ask a parent or teacher to add theirs.

We also send the part of the Lab you are in (Robotics Lab), so we can find what you mean.