MMP Lessons

Baller Thymio (Accelerometer Sensor Balancing)

Baller Thymio (Accelerometer Sensor Balance)

Help Thymio balance on a rolling ball and explore how sensors and programming work together! This lesson focuses on control, timing, and real-world interaction using Thymio and VPL3:

  • Use Thymio’s accelerometer to detect tilt and balance.
  • Create a VPL3 program to help Thymio stay on a moving ball.
  • Test and improve your program by adjusting movement and response.
  • Advanced: Optimize your program for better stability and faster times.

Lesson Overview

In this lesson, students will:

  1. Watch how Thymio balances using tilt detection.
  2. Create a VPL3 program to respond to forward and backward tilt.
  3. Test balancing by rolling a ball across a set distance.
  4. Record and improve their fastest time.

By the end of this lesson, students will understand how sensor input and programming can be used to control balance and movement.

Important Notes:

Balancing depends on smooth movement and quick response. If Thymio struggles to stay on the ball, adjust the program or slow down the motion.

Tips for this Lesson:

  1. Start with slow movements to improve control.
  2. Adjust your program based on how Thymio tilts.
  3. Practice steady rolling for better results.
  4. Test multiple times to improve your best run.

Products/Materials

The following products and resources can be used in this lesson:

Thymio II Robot
55 cm Gym Ball
Stopwatch
VPL3

FUN FACT!

Did you know that robots use sensors like accelerometers to stay balanced? Similar technology is used in self-balancing robots and even in devices like smartphones to detect movement and orientation!

Download the Lesson PDF Files Below:

Lesson Materials

Check out the video tutorial/solutions below:

Jeremy

Jeremy is the creator of MindMission.pro and the EFL resource company BINGOBONGO Learning. Passionate about programming, math, and learning, he loves thinking about fun new problems and challenges to inspire and engage students.