How do you build a servo tilt maze?
Two servos tilt a card maze in two directions to roll a marble to the exit, steered by a motion sensor in your hand so a tilt of your hand tilts the maze. A friendly mix of motion sensing, servos and a game. Keep the marble large enough that nobody can swallow it, and away from small children. You need Arduino Nano, MPU6050 IMU, SG90 Micro Servo × 2, Battery holder 4 × AA with switch, AA alkaline battery × 4, Breadboard 830 Tie Points and Jumper wires male to male (40 pcs, 20 cm).
- Level
- Intermediate
- Time
- About 100 min
- Parts
- 7
Steer a marble through a maze by tilting your hand.
Parts list
- Development Boards
- Sensors
- Motors & ActuatorsSG90 Micro Servo × 2
- Power
- Batteries
- Prototyping
- Prototyping
How to build it
- Read the tilt of the hand-held sensor
- Map the tilt to two servo angles
- Limit the angles so the maze stays gentle
- Smooth the movement
- Add a calm and a quick mode
Related projects
Common questions
What parts do I need for the servo tilt maze?
Arduino Nano, MPU6050 IMU, SG90 Micro Servo × 2, Battery holder 4 × AA with switch, AA alkaline battery × 4, Breadboard 830 Tie Points and Jumper wires male to male (40 pcs, 20 cm).
How long does the servo tilt maze take to build?
About 100 minutes for a intermediate maker.
