Projects / Ideas / Tilt-controlled marble maze

Tilt-controlled marble maze

IntermediateGames & ToysIdeaReviewed
In short

How do you build a tilt-controlled marble maze?

Tilt a small board and two servos tilt a maze platform in the same direction so a marble can be steered. You need Arduino Uno R3, MPU6050 IMU, SG90 Micro Servo × 2, Breadboard 830 Tie Points, Jumper wires male to male (40 pcs, 20 cm) and Jumper wires male to female (40 pcs).

Level
Intermediate
Time
About 210 min
Parts
6
An idea, not a guided build yet. Goal, parts and steps; no wiring, code or tests. Copy it to My Garage to plan it.
Goal

Mirror an IMU angle to two servos.

How to build it

  1. Read the IMU tilt angles
  2. Map each axis to a servo angle
  3. Smooth the motion with a filter
  4. Build a light platform on the servos
  5. Add dead-band to stop jitter

Related projects

Common questions

What parts do I need for the tilt-controlled marble maze?

Arduino Uno R3, MPU6050 IMU, SG90 Micro Servo × 2, Breadboard 830 Tie Points, Jumper wires male to male (40 pcs, 20 cm) and Jumper wires male to female (40 pcs).

How long does the tilt-controlled marble maze take to build?

About 210 minutes for a intermediate maker.