Motor pinout mapping
In pib, motors are connected to 1 of 3 Tinkerforge servo bricklets and 1 of 10 pins of the bricklet. For Cerebra to be able to run correctly the physical connection in real pib should match the connection in database. Shown below is a table showing where you should connect motors.
This list is for which bricklet should motors be connected to. Bricklet 1 is on the left in real pib, 2 in the middle and 3 at the right.
Motor name (jointΒ connected to motorΒ like thumb rotator)β | BrickletΒ number (1 to 3) | BrickletΒ pin (0 to 9)β |
"turn_head_motor"β | 1β | 0β |
"tilt_forward_motor"β | 1β | 1β |
"upper_arm_left_rotation"β | 2β | 5β |
"elbow_left"β | 2β | 6β |
"lower_arm_left_rotation"β | 2β | 7β |
"shoulder_vertical_left"β | 3β | Uses 2 motors one connected to pin 7 and the other connected to pin 9β |
"shoulder_horizontal_left"β | 3β | 0β |
"upper_arm_right_rotation"β | 3β | 1β |
"elbow_right"β | 3β | 2β |
"lower_arm_right_rotation"β | 3β | 3β |
"shoulder_vertical_right"β | 3β | Uses 2 motors one connected to pin 5Β andΒ the other connected to pin 8β |
"shoulder_horizontal_right"β | 3β | 6β |
"thumb_right_opposition"β | 1β | 3β |
"thumb_right_stretch"β | 1β | 4β |
"index_right_stretch"β | 1β | 5β |
"middle_right_stretch"β | 1β | 6β |
"ring_right_stretch"β | 1β | 7β |
"pinky_right_stretch"β | 1β | 8β |
"thumb_left_opposition"β | 1β | 9β |
"thumb_left_stretch"β | 2β | 0β |
"index_left_stretch"β | 2β | 1β |
"middle_left_stretch"β | 2β | 2β |
"ring_left_stretch"β | 2β | 3β |
"pinky_left_stretch"β | 2β | 4β |
"wrist_left"β | 1β | 2β |
"wrist_right"β | 3β | 4β |
Β