Tutorials

EV3 Gyro Sensor + PID Algorithm = Extremely Accurate Drive Straight Program

A PID algorithm is the ultimate feedback loop for controlling an EV3 robot. This week, we apply it to the EV3 gyro sensor, and the result is a very reliable program that keeps an EV3 robot in an accurate straight line; something that is indispensable for FLL robots. This video will teach you everything you need to know to make your own PID gyro following (drive straight) program. I will explain the three components of a PID controller (Proportional, Integral, Derivative), the math behind them, and how the relate to an EV3 robot in the real world. Finally, I explain how to adjust your program’s K-values for optimal performance.

Check out my book, “Building Smart LEGO MINDSTORMS EV3 Robots,” available on Amazon: https://amzn.to/2MyGVCl

My Patreon supporters for more than $5 for the month of September were: Creator Academy, Robert Damiano, Al Douglas, and Executor Akamia. Thank you very much!

My supporters on Patreon contribute additional funding that allow me to build up and improve this channel and to make more videos. If you would like to help, you can support me here: https://www.patreon.com/builderdude35

Special thanks to my friend Preston Nichols for designing Builderdude35’s awesome new introduction and logo!