194
www.keyestudio.com
else if(error == 2)
Serial.println("Controller found but not accepting commands. see
readme.txt to enable debug. Visit www.billporter.info for troubleshooting
tips");
//Serial.print(ps2x.Analog(1), HEX);
ps2x.enableRumble();
//enable rumble vibration motors
ps2x.enablePressures();
//enable reading the pressure values
from the buttons.
}
void loop(){
/* You must Read Gamepad to get new values
Read GamePad and set vibration values
ps2x.read_gamepad(small motor on/off, larger motor strenght from
0-255)
Содержание 4DOF
Страница 1: ...Keyestudio 4DOF Robot Arm Kit for Arduino DIY...
Страница 11: ...8 26 Female Female 50CM Jumper Wire 10 27 Black 3 100MM Cable Ties 7 28 18650 2 Slot Battery Holder 1...
Страница 12: ...9 4 Assembly Guide 1 Install the base of the robotic arm Components Needed...
Страница 13: ...10...
Страница 14: ...11...
Страница 15: ...12...
Страница 16: ...13 The base is installed successfully...
Страница 17: ...14 2 Mount servos onto the base Components Needed...
Страница 18: ...15...
Страница 19: ...16 Assemble a servo left onto the left board...
Страница 20: ...17 Components Needed...
Страница 23: ...20...
Страница 24: ...21 a Fix the arm...
Страница 25: ...22...
Страница 26: ...23 Mount a servo right onto the right board Components Needed...
Страница 27: ...24 Note the breach direction of acrylic board...
Страница 30: ...27...
Страница 31: ...28...
Страница 32: ...29 Install the holder part...
Страница 33: ...30 Fix the left part and the mount part together...
Страница 34: ...31...
Страница 35: ...32 Fix the right part and the ABS holder together...
Страница 36: ...33 Note the direction of the ABS holder...
Страница 37: ...34...
Страница 38: ...35...
Страница 39: ...36...
Страница 40: ...37 Install the middle part...
Страница 41: ...38...
Страница 42: ...39...
Страница 43: ...40...
Страница 44: ...41...
Страница 45: ...42...
Страница 46: ...43...
Страница 47: ...44 Assemble the claw...
Страница 48: ...45...
Страница 49: ...46...
Страница 50: ...47...
Страница 51: ...48...
Страница 54: ...51 myservo attach 9 Change pin to adjust one by one myservo write 0 Angle delay 1000 Mount gear wheels...
Страница 55: ...52...
Страница 56: ...53 Components Needed...
Страница 57: ...54...
Страница 60: ...57 myservo attach A1 Change pin to adjust one by one myservo write 80 Angle delay 1000 Install the robotic arm...
Страница 61: ...58...
Страница 62: ...59 Mount the control part...
Страница 63: ...60...
Страница 64: ...61 Wiring up Guide...
Страница 65: ...62...
Страница 66: ...63...
Страница 67: ...64...
Страница 68: ...65...
Страница 69: ...66 5 Robot Arm Projects Project 1 Install Arduino IDE and Driver Keyestudio V4 0 Development Board...
Страница 79: ...76 Click OK to enter the following page Click browse my computer for updated driver software...
Страница 82: ...79 3 Arduino IDE Setting...
Страница 85: ...82...
Страница 88: ...85 Project 2 4DOF Rotation and Pin Control 1 Joint Rotation and Servo Angle Settings...
Страница 102: ...99 set the baud rate to 9600 you should see the analog value of the right Joystick pin X Y...
Страница 105: ...102 www keyestudio com...
Страница 147: ...144 www keyestudio com...
Страница 166: ...163 www keyestudio com For IOS system 2 Open App Store 3 Search keyes arm on APP Store then click downlaod...
Страница 168: ...165 www keyestudio com Test Code void setup Serial begin 9600 set the serial baud rate to 9600...
Страница 173: ...170 www keyestudio com...
Страница 194: ...191 www keyestudio com Connection Diagram Test Code include PS2X_lib h PS2X ps2x create PS2 Controller Class...