Introduction: Control Robotic Arm With Gloves, Android Phone and Intel Galileo (Updated)

Actually, this project based on another project I have build before. Yet, Instead of building the robotic arm and using Arduino, I used my friend 6DOF robotic arm and Intel Galileo.

Step 1: Components

1- Intel Galileo Gen 2

2- 1Sheeld

3- 6 DOF Robotic Arm.

4- Android Smart phone.

Step 2: Arduino Sketch and Mobile Application

First, we have to download the 1Sheeld application from Play Store.

Then, download the 1Sheeld library and place it in the Arduino libraries directory. If, It is your first time to deal with 1Sheeld, you should see this getting started tutorial at first.

You will find the code below, it is so easy. Actually, the code simply gets the values of the oreinataion sensor from the mobile for the 3 directions (x,y,z) and map then on the servos and use the proximity sensor to open and close the gripper.

#include <Servo.h>
#include <OneSheeld.h> Servo myservo1; Servo myservo2; Servo myservo5; Servo myservo6; void setup() { OneSheeld.begin(); myservo1.attach(3); myservo1.write(0); myservo2.attach(5); myservo2.write(0); myservo5.attach(10); myservo5.write(70); myservo6.attach(11); myservo6.write(10); analogWrite(6, 200); analogWrite(9, 200); } void loop() { if (ProximitySensor.getValue() > 0) myservo6.write(10); else myservo6.write(120); if(OrientationSensor.getX() > 0 && OrientationSensor.getX() <= 180) myservo1.write(map(abs(OrientationSensor.getX()),0,180,180,0)); if(OrientationSensor.getY() < -90 && OrientationSensor.getY() >= -180) myservo2.write(map(abs(OrientationSensor.getY()),180,90,0,90)); if(OrientationSensor.getZ() > 0 && abs(OrientationSensor.getZ()) <= 60) myservo5.write(map(OrientationSensor.getZ(),0,60,70,180)); if(OrientationSensor.getZ() < 0 && abs(OrientationSensor.getZ()) <= 60) myservo5.write(map(abs(OrientationSensor.getZ()),0,60,70,0)); OneSheeld.processInput(); }

Step 3: Test

After uploading the code on Intel Galileo and installing the mobile applications. Open the mobile application and scan for 1Sheeld via bluetooth and connect to the shield.

Choose the orientation and proximity shields, and then test.

Comments

author
منسدحب (author)2016-10-19

what is kind the servo board

author
vivekd4 (author)2015-08-12

hello
there , i am working on project in which i have to obtain velocity and
position using an accelerometer , but i dont know how ? can u help me?

author
vivekd4 (author)2015-08-12

is it possible to track position from accelerometer or orientation sensor?

author
BarbuC (author)2015-06-30

Can you please send me the drawings of the mechanical parts ? I have some issues with the mechanical work . Thx for instructable , it is awesome ! E-mail: cristian.barbu94@gmail.com

author
BertugBerkay (author)2015-04-15

This is a great project. Congrats!

author

Thank you so much :)

author
KumarM (author)2015-02-07

ashraf can u please share the complete working code its urgent @ kmanohar003@gmail.com please hoping to get this small favour from you

author
ashraf nabil (author)KumarM2015-02-07

Hi KumarM ,, actually the above code is the complete code for the project, since the 1Sheeld library facilitate the coding so much.

author
amberrayh (author)2015-01-29

That's a pretty darn awesome robotic arm! Thanks for sharing!

author
ashraf nabil (author)amberrayh2015-01-29

thanks a lot :)