control for robotic arm that can play chess using a granular gripper

Dependencies:   Encoder mbed HIDScope Servo MODSERIAL

Fork of chessRobot by a steenbeek

Committer:
annesteenbeek
Date:
Mon Oct 12 11:46:47 2015 +0200
Revision:
57:43f707648f2b
Parent:
56:f730962fbb53
Child:
60:20945383ad1b
PID tuning

Who changed what in which revision?

UserRevisionLine numberNew contents of line
annesteenbeek 1:80f098c05d4b 1 // All the definitions and variables
annesteenbeek 57:43f707648f2b 2 #define TUNEPID // set to switch between normal opperation or tuning PID
annesteenbeek 57:43f707648f2b 3
annesteenbeek 57:43f707648f2b 4
annesteenbeek 27:5eb5ec295ab2 5 #define pot2Pin A1
annesteenbeek 30:a20f16bf8dda 6 #define pot1Pin A0
annesteenbeek 1:80f098c05d4b 7
annesteenbeek 42:d36d216457c4 8 #define button1Pin D7
annesteenbeek 42:d36d216457c4 9 #define button2Pin D6
annesteenbeek 32:2006977785f5 10
annesteenbeek 31:8fbee6c92753 11 // Servo
annesteenbeek 31:8fbee6c92753 12 #define servoPin D9
annesteenbeek 31:8fbee6c92753 13
annesteenbeek 5:73bfad06b775 14 // MOTORS
annesteenbeek 3:47c76be6d402 15 #define motor2DirPin D4
annesteenbeek 3:47c76be6d402 16 #define motor2PWMPin D5
annesteenbeek 3:47c76be6d402 17
annesteenbeek 3:47c76be6d402 18 #define motor1DirPin D7
annesteenbeek 3:47c76be6d402 19 #define motor1PWMPin D6
annesteenbeek 3:47c76be6d402 20
annesteenbeek 3:47c76be6d402 21 #define enc1A D11
annesteenbeek 3:47c76be6d402 22 #define enc1B D10
annesteenbeek 3:47c76be6d402 23 #define enc2A D13
annesteenbeek 3:47c76be6d402 24 #define enc2B D12
annesteenbeek 3:47c76be6d402 25
annesteenbeek 56:f730962fbb53 26 #define pwm_frequency 50000