T-Series/Commands/Calibrate Joystick
Set Calibration Mode - Cmd 33
Warning: This is an "include" page. As such, its contents may be included in multiple other pages. To see a list of all pages that include this page, click on "What links here" in the bottom left navbar. If you make changes to this page, be sure that your changes are appropriate to all pages on which this content will be included. You are also encouraged to review our Zaber Wiki Editing Guidelines. This header will not be included in other pages.
| Instruction Name | Set Calibration Mode |
|---|---|
| Applies to | T-JOY |
| Firmware Version | 5.04 and up |
| Command Number | 33 |
| Command Type | Setting |
| Command Data | Calibration Mode |
| Reply Data | Calibration Mode |
| Safe to retry? | Yes |
| Returns Current Position? | No |
| Persistence | n/a |
| Summary | Calibrates the joystick by adjusting the limits and the deadbands. |
There are two sets of calibration variables: limits and deadbands. Limits define the maximum angular displacement of all axes of manipulation. Deadbands define the area around the neutral position of the joystick where no action should occur. Deadbands are useful to adjust the sensitivity of the joystick to vibration or accidental movement from the neutral position. Acceptable Calibration Mode values are: 0, 1, or 2. Mode 1 is for calibrating the maximum limits. Mode 2 is for calibrating the deadbands. Mode 0 exits the calibration routine.
The T-JOY is pre-calibrated before shipping so that it should work well right out of the box. Note that restoring default settings using command #36 will have no affect on the joystick calibration. There is no default calibration since each joystick has slightly different properties that prevent a single set of settings from working well on all devices.
The joystick should work well as calibrated. We do not recommend re-calibrating it unless you encounter problems such as motion occurring while the joystick is in the neutral position, or an inability to reach maximum velocity even with the joystick fully displaced.
To calibrate the limits, follow these steps:
- Issue command 33, data 1 to put joystick in “calibrate limits” mode
- Move joystick all the way to the left and all the way to the right
- Move joystick all the way up and all the way down
- Turn joystick knob all the way counter-clockwise and all the way clockwise
- Issue command 33, data 0 to save the measured limit parameters
To calibrate the deadbands, follow these steps:
- Issue command 33, data 2 to put joystick in “calibrate deadbands” mode
- Wiggle joystick slightly to the left and right of the neutral position. Try to move only within the limits of the slack. Do not move past the point where resistance begins.
- Wiggle joystick slightly up and down from the neutral position
- Turn joystick knob slightly counter-clockwise and clockwise from the neutral position
- Issue command 33, data 0 to save the measured limit parameters
