Sunday, April 12, 2015

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. 

10 comments:

  1. 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

    ReplyDelete
  2. What is the wireless communication medium?

    ReplyDelete
    Replies
    1. How do you run all the scripts simultaneously on the pi?

      Delete
    2. Just run the server script and it imports the others.

      sudo python arm_server.py

      Delete
    3. 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!

      Delete
  3. The PI and the Android device need to be connected to the same WiFi.
    The 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.

    ReplyDelete
  4. Thank you! Are you saying you need internet access? or a hotspot does it?

    ReplyDelete
  5. No internet required. Just be on the same network.
    Using a static ip address for the pi makes things easier.

    ReplyDelete