Programming an Arduino Robot with Python 🐍

Опубликовано: 19 Февраль 2021
на канале: YouMakeTech
125,509
2.5k

Learn how to control a simple Arduino robot with Python!

The robot is a 3d printed robot arm from Thingiverse and is controlled by 4 servo motors: 3 to control the axes and one to open and close the hand. The robot is connected to the computer using an Arduino Uno board. We will be flashing the Arduino with a special program called StandardFirmata which allows to control all Arduino pins from the PC, by communicating with the Arduino over USB. This makes possible to control the Arduino remotely from the Python shell or from a Python script. We will write Python scripts of increased complexity to control the robot and to perform funny tasks!

➡️ Links
What you need
https://www.youmaketech.com/arduino-r...
EEZYbotARM 3D printed robotic arm by daGHIZmo on Thingiverse: https://www.thingiverse.com/thing:101...
Python code on Github: https://github.com/YouMakeTech/RobotArm

⏰ Chapters⏰
0:00 Introduction
1:43 FirmataStandard upload to the Arduino
2:21 Servo-motors connection to the Arduino
2:55 Move a servo with Python and pyFirmata
3:56 Connect the 5 servos to the Arduino
4:19 Programming the robot using Python
5:30 Object-Oriented programming and the RobotArm class
7:51 Conclusion

➡️ Music: "Build The World" / Nick Petrov / ShutterStock


На этой странице сайта вы можете посмотреть видео онлайн Programming an Arduino Robot with Python 🐍 длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь YouMakeTech 19 Февраль 2021, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 125,509 раз и оно понравилось 2.5 тысяч зрителям. Приятного просмотра!