This is a 5 Axis Arduino Robotic Arm with 2 controlled method.
1. one is auto mode by programming in arduino nano chip
2 another is manual mode by using Joysticks.
This page show you how to connect the arduino circuit,
Regarding how to download 3DP components and how to assemble it .
please see below website.
http://arbu00.blogspot.tw/2015/12/roboticarm-v20-arduino_23.html.
and below can download the Arduino source code for Robotic Arm.<roboticArm1_1.ino >
https://github.com/Ashing00/Arduino_RoboticArm/blob/master/roboticArm1_1.ino
Material prepare:
1.Ardunio Nano x1
2.MG995 servo x5
3.Joystick x2
4.3 pin switch x2
5.Dupont cable xN
6. 18650 battery x 2
Step 1:Connect arduino GND to breadboard GND <-> right site and left side
2.Connect arduino VIN to breadboard VCC <+> left site
3. Put one Switch on breadboard and connect the <first PIN> to arduino nano <5V+>
4.Connected Switch 3rd PIN to Breadboard GND <->
5.Connected Switch 2nd PIN to Arduino nano D11
* When D11 get HI<5V+> signal from this Switch means enter manual mode
or else enter auto mode.
6.Put the 2nd Switch on Breadboad and connect the 2nd Pin to Breadboad <+>
both right side and left site.
Step 7.Connected 2 Joystick GND to breadboard GND<->
8.Connected 2 Joystick VCC to Arduino nano <5V+> not <VIN> or Breadboad <+>
9.Connected Joystick A <SW> to Ardunio <D9> PIN.
*Normal status is HI <5V+>,
when press button will get Low signal.
10.Connected Joystick B <SW> to Ardunio <D10> PIN.
*Normal status is HI <5V+>,
when press button will get Low signal.
11.Connected Joystick A <vrY> to Arduino <A0> Pin.and <vrX> to Arduino <A1> Pin
* Keep the stick in middle positiion will get <2.5V> level ,IF put up or down site will
get 0V and 5V.
12.Connected Joystick A <vrY> to Arduino <A2> Pin.and <vrX> to Arduino <A3> Pin
* Keep the stick in middle positiion will get <2.5V> level ,IF put up or down site will
get 0V and 5V.
* In My design the SERVO order from bottom is No.2 then No.3 N0.4 No.5 No.6(Claw site)
Step 13. Connected All SERVO VCC PIN to BreadBoad VCC <+>
*Usually,the MG 995 middle pin and RED Color line is VCC Pin.
14. Connected All SERVO GND PIN to BreadBoad GND <->
*Usually,the MG 995 3rd pin and Dark Color line is GND Pin.
15. Connected SERVO No.2(order from Bottom) Signal Pin to Arduino D2 Pin.
*Usually,the MG 995 1st pin and orange Color line is GND Pin.
16. Connected SERVO No.3(order from Bottom) Signal Pin to Arduino D3 Pin.
17. Connected SERVO No.4(order from Bottom) Signal Pin to Arduino D4 Pin.
18. Connected SERVO No.5(order from Bottom) Signal Pin to Arduino D5 Pin.
19. Connected SERVO No.6(order from Bottom) Signal Pin to Arduino D6 Pin.
Step 20.Connect 2S 18650 Li battery <GND> to Breadboad <->
21.Connect 2S 18650 Li battery to Switch 3rd Pin.
*So the Switch 2 is the Power switch.when pull down can power on.system
and pull up site will power OFF system.
Below is another type Joystick ,the connecting is the same.
DEMO:
加入阿布拉機的3D列印與機器人的FB粉絲團
https://www.facebook.com/arbu00/
Scan QRcode to join FB Fans page.