Step 1b: Calibrate the motors (Adv)

Step 1b: Calibrate the motors (Adv)

Calib-Adv-00-hero-20261029-224438.png

Tutorial: pib#5 Motor Calibration

Every motor has to be calibrated before it is built into pib. pib#5 Advanced uses two motor types — 26 motors in total for a two-arm pib: 18x E27-STS3215, 4x E18-STS3095 and 4x ST3200. All of them are calibrated the same way: each motor is set to its middle position and gets its own ID.

We suggest building pib’s head and installing the software on the Raspberry Pi first.

You need a Windows PC with the FD servo software for the calibration!

 

 

Calib-Adv-00-hero-20261029-224438.png

Tutorial: pib#5 Motor Calibration

Every motor has to be calibrated before it is built into pib. pib#5 Advanced uses two motor types — 26 motors in total for a two-arm pib: 18x E27-STS3215, 4x E18-STS3095 and 4x ST3200. All of them are calibrated the same way: each motor is set to its middle position and gets its own ID.

We suggest building pib’s head and installing the software on the Raspberry Pi first.

You need a Windows PC with the FD servo software for the calibration!

 

 

Overview: Needed Parts

Non-printable Parts:

Quantity

Part name

18

E27-STS3215

4

E18-STS3095

4

ST3200

1

E13-SPL-82

1

E14-Power_Supply

1

Bus Servo Adapter (Waveshare)

1

10 cm (red-black) power cable

1

USB-C cable

Also needed:

Quantity

Item

1

Windows PC

1

FD servo software package (download)

Step-by-Step Tutorial

Step 0: Motors to Calibrate

 

Calibrate all motors with this tutorial before you build them into pib: 18x E27-STS3215, 4x E18-STS3095 and 4x ST3200

 

Calib-Adv-01-motors-20261029-224438.png

 

Step 1: Connect the Power Supply

 

Plug the output jack of E14-Power_Supply into the Bus Servo Adapter and connect the adapter to your PC with a USB-C cable.

Needed Parts: 1x E14-Power_Supply, 1x Bus Servo Adapter, 1x USB-C cable

Calib-Adv-02-power-20261029-224438.jpg

 

Step 2: Connect a Motor

 

Connect the motors one at a time to the Bus Servo Adapter using their cable. Each motor gets its ID and is calibrated on its own.

Calib-Adv-03-connect-20261029-224438.jpg

 

Step 3a: Install the Serial Driver

 

Download the software package from this link. Install the serial driver: open CH34x_install_Windows_v3_4.exe and follow the setup wizard.

Calib-Adv-04-driver-20261029-224438.png

 

Step 3b: Open the FD Software

 

Open FD_1_9_8_1.exe from the software package.

Calib-Adv-05-fd-exe-20261029-224438.png

 

Step 4: Set the Middle Position

 

Click Com and select the open port, choose the baud rate 1000000 and click Open. Then click Search.

Select the motor that appears in the list and click Set to move it to the middle position 2047.

Calib-Adv-06-fd-connect-20261029-224438.png

 

 

Step 5a: Set the Motor ID

 

Click Programming, enter the ID of the motor from the table in Step 5b and click Save.

Calib-Adv-08-fd-id-20261029-224438.png
Calib-Adv-09-fd-saved-20261029-224438.png

 

 

Step 5b: Table of Motor IDs

 

Give every motor the ID of its joint. The table shows each ID, its motor type and the bricklet (Bus Servo Adapter 1–4) it is connected to later.

The E18-ST3200 motors are the shoulder verticals (inner shoulders), and the elbows.

Motor name

ID

Bricklet

Motor

thumb_right_opposition

10

1

E27-STS3215

thumb_right_stretch

11

1

E27-STS3215

index_right_stretch

12

1

E27-STS3215

middle_right_stretch

13

1

E27-STS3215

ring_right_stretch

14

1

E27-STS3215

pinky_right_stretch

15

1

E27-STS3215

wrist_right

16

1

E27-STS3215

lower_arm_right_rotation

17

1

E27-STS3215

upper_arm_right_rotation

19

1

E18-STS3095

shoulder_horizontal_right

20

2

E18-STS3095

turn_head_motor

51

2

E27-STS3215

tilt_forward_motor

50

2

E27-STS3215

shoulder_horizontal_left

40

2

E18-STS3095

thumb_left_opposition

30

3

E27-STS3215

thumb_left_stretch

31

3

E27-STS3215

index_left_stretch

32

3

E27-STS3215

middle_left_stretch

33

3

E27-STS3215

ring_left_stretch

34

3

E27-STS3215

pinky_left_stretch

35

3

E27-STS3215

wrist_left

36

3

E27-STS3215

lower_arm_left_rotation

37

3

E27-STS3215

upper_arm_left_rotation

39

3

E18-STS3095

shoulder_vertical_right

21

4

ST3200

shoulder_vertical_left

41

4

ST3200

elbow_left

38

4

ST3200

elbow_right

18

4

ST3200

 

Note: Daisy Chain

 

This can only happen after calibration. Serial servos are connected in a daisy chain. Every servo has two ports: use one to connect to the next motor and the other one towards the bricklet. Only motors of the same bricklet are daisy-chained, and one cable goes from the motor where the chain starts to its bricklet.

The picture shows an example.

Calib-Adv-11-daisy-chain-20261029-224438.png

 

Note: Servo Cables

 

For all next steps you can use three kinds of cable with the servo motors. All of them work, but the middle one is the best: it fits better and comes in different lengths, so you don’t need extension cables.

Calib-Adv-12-cables-20261029-224438.jpg

 

Step 6: Calibrate the Remaining Motors

 

Disconnect the calibrated motor, connect the next one and repeat Steps 4 to 5a until all motors are calibrated.

Important: After a motor has been calibrated, avoid turning its shaft until the motor is installed in its final position.

Once finished, you can take the setup apart: you will need the power supply, the cables and the motors in the other tutorials.

Calib-Adv-13-well-done-20261029-224438.png

 

Congratulations! All motors are calibrated

E-Mail Support: team@pib.rocks | Discord: discord.gg/GRdpyeDu7P | Web: pib.rocks | Shop: shop.pib.rocks