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
On this page of the site you can watch the video online Programming an Arduino Robot with Python 🐍 with a duration of hours minute second in good quality, which was uploaded by the user YouMakeTech 19 February 2021, share the link with friends and acquaintances, this video has already been watched 125,509 times on youtube and it was liked by 2.5 thousand viewers. Enjoy your viewing!