Raspberry Pi controlled Robot Arm on Tank Tracks
This is a robot arm on a tank track base controlled by with a Raspberry Pi. Movement is controlled using an Android app specially written for this project. All code is available on GitHub (see links).
The Android app running on a Nexus 10 is shown below.
The buttons on the left control the arm. The buttons on the right control the base. The image in the middle is a real-time video feed from the camera. The App supports multi-touch so its possible to press multiple keys at once to move multiple parts of the arm and the base simultaneously.
I've created a parts list for anyone wanting to build something similar.
This is a robot arm on a tank track base controlled by with a Raspberry Pi. Movement is controlled using an Android app specially written for this ... irobotarm.blogspot.com
ReplyDeleteWhat is the wireless communication medium?
ReplyDeleteSockets over wifi.
DeleteHow do you run all the scripts simultaneously on the pi?
DeleteJust run the server script and it imports the others.
Deletesudo python arm_server.py
I am working on a similar project except smaller. I am guessing the android app is sending a string or a character when button is pressed. Could you elaborate how connection can be made and how data is transferred, which code is responsible? My motors are controlled on a separate board which will connrct to my pi serially. THANKS!
DeleteThe PI and the Android device need to be connected to the same WiFi.
ReplyDeleteThe python code on the pi runs the socket server. The Android app connects to the server by opening a socket. All of the code is available on git hub. See links on top right of this page.
Thank you! Are you saying you need internet access? or a hotspot does it?
ReplyDeleteNo internet required. Just be on the same network.
ReplyDeleteUsing a static ip address for the pi makes things easier.
I appreciate it!
ReplyDelete