Control robot arm via web with Flask and Python (Maplin USB arm)
Orionrobots
Learn how to control a robot arm via the web using Flask And Python on a Raspberry Pi. This video shows how to write this program, and even how to used a smartphone to control it. Controlling a robot arm with python3 is easy when you know how. This video is for the OWI Edge Robot arm with USB, also known as the Maplin Robot arm with USB PC interface.
Also used is a Raspberry Pi Zero W.
Learn Robotics Programming, 2nd Edition is my recently released book on using the Raspberry Pi to build a robot with more sensing and control abilities than this arm. Buy it at https://packt.live/3rMEMHf.
Code for this arm is at https://github.com/orionrobots/python_usb_robot_arm
00:00 Intro 01:23 Tidying Up - robot arm cable management with spiral wrap 06:33 What you'll need on the Raspberry Pi - connections and Raspbian 09:21 Testing the usb_arm library - programming the robot arm with Python3 15:46 Using Python3 and Flask for basic web communication with the robot arm 19:26 Testing the simple flask and python robot arm control web server 22:02 Creating an arm web control server with many arm functions 25:12 Testing the advanced arm control server with Curl - POSTing data 27:16 Creating a web page template to control the arm in a browser 31:10 Adding links to the robot arm control web page 34:53 Testing the robot arm controlled web page from a Browser 36:49 Controlling the Robot Arm with a SmartPhone 39:55 Learn Robotics Programming 2nd Edition - make more robots here! 41:03 Video Wrap up 41:44 Outtakes and funny stuff
Music:
All music used in this video has been created by Danny Staple
Picture Attribute:
Muir Woods National Monument (Not really Endor), Public Domain. ... https://www.youtube.com/watch?v=wqt1u-WdOxY
569589272 Bytes