A pocket size robotic arm to grip objects, controlled by potentiometers, inspired by MeArm design.
Software: Fusion 360
Process:
1- Get the MeArm design from the internet
2- Redesign the base part to make the enclosure and put the electronics components
a- Edit base width to fit the Arduino and the breadboard (120 * 200)mm
b- Extrude the base (3mm thickness).
c- On the backside of the base make a new sketch to draw the enclosure backside.
d- Extrude the backside (3mm thickness).
e- Combine the 2 previous parts to cut the holes in the base.
f- On the base left side make a new sketch and draw the enclosure left side
g- Extrude
h- Combine to cut the base and the backside.
i- Repeat the previous steps again with the right and top sides.
j- Join the Arduino to the base
k- Project the Arduino sketch on the base and extrude to cut the holes (screws holes)
l- Project with the backside to make holes for the power adaptor and USB cable
m- Make holes for the potentiometers on the top.
n- Finally save DXF files for each component using DXF4Laser ADD IN.
1- Import DXF files to Laserwork
2- Download to the machine
3- Set the origin point and track frame
4- Select the file and Run
Input: 3 Potentiometers
To control (Base - Arm - Gripper)
Output: 4 Servos
2 Servos for the Arm (pin 10)
1 for the Base (pin 9)
1 for the Gripper (pin 11)
Controller: Arduino UNO
Power source: 9V - 2A adapter
(to power the Arduino through vin pin)
Others:
Breadboard
Wires
Voltage regulator l7805cv
(to reduce voltage from 9v to 5v for servo motors)
9V - 2A power adapter to power the Arduino through the vin pin
The Arduino may be damaged if the 4 servos powered by it through the 5V pin
l7805cv voltage regulator to reduce the volt from 9V to 5V
1- Include Servo library
2- Create an object for each servo (Base - Arm - Gripper)
The 2 Servos in the arm are on the same pin / the same object
3- Define potentiometer pins - Analog pins (A1-A2-A3)
4- In the setup function define servo pins - PWM pins - (9-10-11)
5- In the loop function read the values of the potentiometers by analogRead function and map it from 0 -1023 to 0 - 255 for each one
6- Output the mapped value to the servos (represents the servo angel / position) by object name.write function
1- Test the concept itself (controlling one servo with one potentiometer) using TinkerCAD
2- Do it with physical components
3- Integrate the whole circuit (4 Servos/ 3 Potentiometers)
4- Integrate the circuit with the code
5- Integrate the arm construction parts with the 2 servos and test
6- Integrate the previous part with the base and its servo then test
7- Fix the Arduino and integrate the enclosure parts
8- When the potentiometer put into the enclosure its rotation was not the same as the servo of the base (rotate the potentiometer left to rotate the base right)
Map from (0 - 1023) to (180 - 0).
9- Fix the problem in the code
10- Integrate the claw
11- Test again
12- Finally the arm !
I asked for help from the instructor with fusion, He helped me a lot, and gave me some tips and tricks I will mention in points:
1- to sketch a part that will be attached to another it's better to draw on the side that will be attached with.
2- after extruding to cut a hole that will be a fixing point, use combine tool, cut to cut it correctly, this is so much easy and fast.
3- In fusion timeline if a step is yellow or red there is a problem or warning that must pay attention to it.
4- To edit a component sketch correctly, right click on extrude block from the timeline, edit sketch
I asked a peer to help me export the dxf file from a component, and she advised to use DXF 4 laser ADD IN
If analog components aren't connected well or some wires removed the Arduino reads garbage data and take actions depending on it (the arm was rotating fast and a lot even if the potentiometer not rotated because it wasn't fixed well)
Remove overlapping before cutting
Use more powerful servo motors
Control the arm by mobile app
Add a sensor, ultrasonic for example attached to the gripper to detect how the gripper is close to the object, this change needs some edits in the gripper construction parts.