Sub4Sub network gives free YouTube subscribers
Get Free YouTube Subscribers, Views and Likes

Programming an Arduino Robot with Python 🐍

Follow
YouMakeTech

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/arduinor...
* 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 Servomotors 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 ObjectOriented programming and the RobotArm class
7:51 Conclusion

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

posted by chrisrainfiedcu