Konrad Witt
Published

Robotic Arm: Arduino + Matlab

This robotic arm can be controlled with computer mouse or it can make decisions by itself with Matlab vision system.

AdvancedShowcase (no instructions)16 hours18,742
Robotic Arm: Arduino + Matlab

Things used in this project

Hardware components

Arduino UNO & Genuino UNO
Arduino UNO & Genuino UNO
The robot's brain. It's used to process mouse's movement and also to establish robot-Matlab comunication.
×1
Servos (Tower Pro MG996R)
I used 3 servos as 3 degrees of freedom and one to work as a gripper.
×4
Computer Mouse
Not the one you are using with your PC! Extra one is needed.
×1
Camera (generic)
Just a standard webcam. We need one to make the robot "see".
×1

Software apps and online services

Arduino IDE
Arduino IDE
MATLAB
MATLAB
Amazing software. I used it to develop vision sysyem. Read on for details.

Story

Read more

Schematics

Schematic

Code

Real time AnalogRead plot.

MATLAB
By changing the value in "toc<10" condition you can adjust for how long the plot should work.
a=arduino;
i = 1;
tic
while (toc<10)
b(i) = a.readVoltage(0);
plot(b);
drawnow;
i=i+1;
end

Credits

Konrad Witt

Konrad Witt

1 project • 8 followers

Comments