Projects / Ideas / Ball balancing on a tilting plate

Ball balancing on a tilting plate

AdvancedMotionIdeaReviewed
In short

How do you build a ball balancing on a tilting plate?

A resistive touch screen senses where a ball is, and two servos tilt the plate to bring it to the centre with PID. You need Arduino Uno R3, 2.8 inch TFT touch (ILI9341, SPI), MG996R metal gear servo × 2, XL4015 5 A buck converter module and 12 V 2 A DC adapter.

Level
Advanced
Time
About 480 min
Parts
5
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

Run a two-axis PID loop on a fast, unstable system.

Parts list

How to build it

  1. Build a plate on a ball joint with two servo linkages
  2. Read the ball's x and y from the touch layer
  3. Run one PID per axis to tilt the plate
  4. Tune Kp and Kd until the ball settles in the centre
  5. Make it follow a circle

Related projects

Common questions

What parts do I need for the ball balancing on a tilting plate?

Arduino Uno R3, 2.8 inch TFT touch (ILI9341, SPI), MG996R metal gear servo × 2, XL4015 5 A buck converter module and 12 V 2 A DC adapter. 2.8 inch TFT touch (ILI9341, SPI): Use only its touch layer.

How long does the ball balancing on a tilting plate take to build?

About 480 minutes for a advanced maker.