Self-Balancing Robot Using PID Packs Other Punches
on
PID control is central to many fields, especially in industry and robotics: For us to perform any kind of autonomous activity, we need a method of gauging whether we’re doing the right thing or not, so we can correct our behavior accordingly.
The feedback loop inherent in the PID mechanism is what keeps our bot standing. Leaning a little too far forward? Move the wheels forward a bit to catch up, and vice-versa.
To achieve this, the author demonstrates the use of a Raspberry Pi Pico board running in dual-core mode at 250 MHz. Getting the robot to balance is an impressive footless feat. The rest is just showing off:
Best of all, the documentation for all of this is really comprehensive, so you can get it all up and running (wheeling?) in about three hours. Check out the detailed project here.
For more on PID control with the Raspberry Pi, check out the book, PID-based Practical Digital Control with Raspberry Pi and Arduino Uno!

Discussion (0 comments)