Display
The display info is split into two halves, left servo and right servo, each with identical information for their respective motors.
- Pulse: At the top, the display shows the Pulse lengths for the two servos as set in code.
- Angle: Next is the Angle for the servo as currently set either by the direct knob control or with saved postion recall from one of the buttons.
- Saved Positions: Three saved positions, labeled D0, D1, and D2 are shown. These are the minº, 90º, maxº at startup, but can be changed as shown below.
Direct Control
Turn the two encoder knobs to directly rotate the two servo motors. The motor will turn and the display will update the Angle value to match.
Position Recall
Press the D0, D1, or D2 buttons on the Feather to recall a pre-saved position. Both servos will go to their saved position for a given save slot.
Save Position
Here are the steps to save a new position:
- Rotate encoder knob to go to the desired position
- Press and hold the encoder push knob
- While keeping the encoder knob pressed, press any of the Feather D0, D1, or D2 buttons to save that angle position to that slot for the selected encoder/servo
- Release the Feather D0, D1, or D2 button as well as the encoder knob button
That's it, the position is saved. Now, when you press that D0, D1, or D2 button the servo will return to that saved position.
Playback
Press both encoder buttons at the same time to play back all of the positions in order in a continuous loop. This is great for testing out animatronic animations or robotic motion sequences. Release the two encoder buttons to stop.
Page last edited July 03, 2024
Text editor powered by tinymce.