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