How to Defy Physics With LEGO 51515 - PID 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. CONTENTS 0:00 - Introduction 0:52 - Collaboration With Creator Academy Australia 1:33 - Building the Balancing Robot 2:17 - Gyro Sensor Explained 2:51 - Self Balancing Robot Explained 4:44 - PID Algorithm Explained 7:42 - Code Walkthrough 14:35 - Guidelines for Tuning the PID Algorithm ? Thank you to my friend Preston Nichols for designing Builderdude35&logo! #legomindstorms51515

0/0


0/0

0/0

0/0