9-Axis IMU LESSON 26: Understanding PID Control systems with Arduino

5 5 views
9m Feb 6, 2020

In this lesson we show how to do a control system where we feedback a signal to the servos which is Proportional to the error. This allows a much faster response than our earlier system which was just based on a constant feedback value:

OK, this is the gear we are using in this lesson
Adafruit BNO055 IMU Sensor:


I strongly suggest picking up an arduino nano, since it can plug directly into the breadboard, making a portable system more practical. You can pick one up here:


You Will Need Two of These HiTEC Servos

NOTE: I am no longer recommending the MG995 four pack of servos, as I have recently gotten several bad batches, so have moved to the HiTEC linked above.

Pan Tilt Brackets:

PC Board Power Supply (If you have the ELEGOO Kit, you already have this)

Good Wall Wart Power Plug for the Power Supply (if you dont have one)

Bundle of Extra Cables

You guys can help me out over at Patreon, and that will help me keep my gear updated, and help me keep this quality content coming:


[Disclosure of Material Connection: I am a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to amazon.com. This means if you visit the link and purchase the item, I will receive an affiliate commission. Regardless, I only recommend products or services I use personally and believe will add value to my readers.]

About Paul McWhorter

I am Paul McWhorter from toptechboy.com and I will be putting together a series of tutorials on use of the Arduino microcontroller.


Markdown is supported.
EEVblog – E1120
2 years ago
EEVblog – E111
10 years ago
EEVblog – E1032
3 years ago