Robot Inventor

Defy Physics With PID Algorithm + Gyro Sensor – LEGO 51515 Self Balancing Robot

This self balancing robot uses a PID algorithm and the gyro sensor in the LEGO 51515 intelligent hub to keep itself upright. The PID gyro combination is the ideal control mechanism to keep a LEGO 51515 robot balancing upright. When built with LEGO MINDSTORMS 51515, this type of robot is called an inverted pendulum, because its center of mass is above its pivot point, which leads to unstable physics.

The new LEGO 51515 set includes a gyro sensor built into the intelligent hub, which opens up a whole new range of possibilities! Today, I teach you how to program your very own self balancing robot (or segway style robot) in Scratch using LEGO MINDSTORMS 51515.

This video was a collaboration with Garry from Creator Academy Australia. You can check out his original Gyro Girl video here.

πŸ”΄ Watch my LEGO MINDSTORMS 51515 Review.

πŸ€– See all of my LEGO 51515 Tutorials here.

πŸ“• Check out my book, β€œBuilding Smart LEGO MINDSTORMS EV3 Robots,” available on Amazon.

πŸ”΄ Subscribe to Builderdude35 on YouTube.

πŸ“· Follow me on Instagram.

πŸ¦Έβ€β™‚οΈ 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 on Patreon here.

🎡 Thank you to my friend OTT for producing the beats and music used in this video. You can check him out on Instagram here.

πŸŽ₯ Thank you to Garry Law from Creator Academy Australia for designing the intro animation and end screen animation! You can check out his YouTube channel here.

πŸ“½ Thank you to my friend Preston Nichols for designing Builderdude35’s logo!