Arduino Computer Vision Robot Arm

3,240

47

3

Published

Introduction: Arduino Computer Vision Robot Arm

The main idea with this instructable was just make a simple 3DOF robot arm that collect objects and place them in the right place.

Materials:

4 servo SG90

MDF 4mm

Arduino Nano

Jumpers

Laptop

Glue

Nylon

Step 1: Sketch

First of all I just made a few drawings looking for the size of the links and the effector.

a1 = 10cm

a2 = 8.5cm

a3 = 10cm

But it's easy for you because I used Rhino to model the final structure, and then I did a laser cut.

****Attached vector files if you want to use them***

Step 2: Solve the Puzzle

It is completely easy to assemble the cutted parts, just follow the pictures, they show where to place the servos.

Step 3: Finishing the Robot

I just used a little bit of nylon for the effector, as you can see in the pictures.

Step 4: Computer Vision

In the cad files I attached early, you can see the structure for the webcam. The cam is connected to matlab and this is the process:

1. You've got to install the driver in matlab

2. Then install the arduino package for matlab that let you program the arduino.

3. Once you have installed the webcam driver and the arduino the code works capturing a snapshot and then analyze it.

4. The software divide the image in 3 layers R, G and B.

5. Using inverse cinematic the webcam gives to arduino the coordinates

where the color is and then the robot goes to that place and take the object.

6. Finally i decided where the robot leaves the object.

I attached the code explained. Sorry, only spanish.

that's all. sorry for my english.

Share

    Recommendations

    • Planter Challenge

      Planter Challenge
    • Woodworking Contest

      Woodworking Contest
    • Oil Contest

      Oil Contest
    user

    We have a be nice policy.
    Please be positive and constructive.

    Tips

    Questions

    3 Comments

    Well done! :D

    no apologies necessary. Well done! Very clever gripper you have devised as well.