This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
wiki:servo_pane [2017/11/23 03:06] jfrench Imported by DokuWiki Advanced Plugin |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | |||
- | |||
- | |||
- | |||
- | ====== Servo Tab ====== | ||
- | |||
- | This tab contains parameters for configuring the two RC-servo ports on Pixy. The port pinouts, as well as which port is which can be found [[wiki:Port_Pinouts|here]]. To bring up the Servo Tab, first bring up the Configure Dialog (click on the gear icon or select **File➜Configure**). Now select the **Servo** tab under **Pixy Parameters**. | ||
- | |||
- | {{wiki:img:3cf3e01f3ad221366d74bb1d736cee26701be520.jpg?300}} | ||
- | |||
- | * **S0 lower limit:** This parameter sets the lower limit of servo 0. | ||
- | |||
- | * **S0 upper limit:** This parameter sets the upper limit of servo 0. | ||
- | |||
- | * **S1 lower limit:** This parameter sets the lower limit of servo 1. | ||
- | |||
- | * **S1 lower limit:** This parameter sets the upper limit of servo 1. | ||
- | |||
- | * **Servo frequency:** measured in Hz, this parameter sets the frequency of the PWM signal that controls both servos. | ||
- | |||
- | Note: the lower limit values control how far clockwise the servos move, with more negative being farther clockwise. The upper limit values control how far counter-clockwise the servos move, with more positive being farther counter-clockwise. | ||
- | |||
- | You can test the limits by issuing servo move commands from the command/status window. Hit the **stop** button and type in the following commands: | ||
- | |||
- | * "rcs_setPos 0 0" moves servo 0 to its clockwise limit | ||
- | * "rcs_setPos 0 1000" moves servo 0 to its counter-clockwise limit | ||
- | * "rcs_setPos 1 0" moves servo 0 to its clockwise limit | ||
- | * "rcs_setPos 1 1000" moves servo 0 to its counter-clockwise limit | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||