All projects
06 · Intro to C Programming

Ball Balancing Controller

PID controller on an Arduino Uno that balances a ball on a beam, from my first C programming course.

C Arduino PID Control

Highlights

  • Implemented a PID (proportional, integral, derivative) controller in C on an Arduino Uno.
  • Used a light sensor for faster detection of the ball’s position.

Gallery

Select any image or video to view it full size.

Fig. 1 The controller keeping a ping-pong ball balanced on a servo-tilted beam.