0% found this document useful (0 votes)
61 views

3-Axis Slider Commands List

This document provides a list of commands and functions for controlling a 3-axis slider via serial communication. It includes over 40 commands for controlling movements, settings, pre-programmed moves, and more. Examples are given for getting status information and controlling pan, tilt, and step modes. It notes that EEPROM values must be set and saved initially to configure settings properly.

Uploaded by

Ahmed Hadj Said
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
61 views

3-Axis Slider Commands List

This document provides a list of commands and functions for controlling a 3-axis slider via serial communication. It includes over 40 commands for controlling movements, settings, pre-programmed moves, and more. Examples are given for getting status information and controlling pan, tilt, and step modes. It notes that EEPROM values must be set and saved initially to configure settings properly.

Uploaded by

Ahmed Hadj Said
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

isaac879

3-Axis Slider Commands List

3-Axis Slider Page 1 of 3


isaac879

Function Command Input Range


Character
Report status R N/A
Set Step Mode m 2, 4, 8, 16
Pan x degrees p float
Tilt x degrees t float
Toggle enable motors e N/a
Set maximum pan speed (deg/s) s float
Set maximum tilt speed (deg/s) S float
Invert pan direction i bool
Invert tilt direction I bool
Set pan hall effect offset (deg) o float
Set tilt hall effect offset (deg) O float
Set homing mode (0: No homing, 1: Slider, 2: Pan & Tilt, 3: All axis) H 0-3
Trigger camera shutter c N/A
Auto home the axis A N/A
Execute moves array ; 1-32767
Add current position to moves array # N/A
Step forward a position in the moves array > N/A
Step backward a position in the moves array < N/A
Move to the first position in the moves array [ N/A
Move to the last position in the moves array ] N/A
Edit the current position in the moves array with current position E N/A
Add a delay in the moves array (ms) d 0-32767
Edit a delay at the current position in the moves array (ms) D 0-32767
Clear all position in the moves array C N/A
Save the current settings in EEPROM U N/A
Start a panoramic-lapse L N/A
Set angle between pictures (deg) b float
Set delay between pictures (ms) B 0-32767
Start a time lapse with x pictures l 1-32767
Move slider x mm x float
Invert slider direction j bool
Set maximum slider speed (mm/s) X float
Auto Home the slider axis Z N/A
Calculate the intercept of the first 2 keyframes T N/A
Move between the 2 keyframes, keeping pointed at the intercept @ 0-32767
Toggle axis acceleration on/off a N/A
Pan acceleration increment delay (µs) q 0-32767
Tilt acceleration increment delay (µs) Q 0-32767
Slider acceleration increment delay (µs) w 0-32767
Scale the speed of all keyframed movements W float

3-Axis Slider Page 2 of 3


isaac879

To use a function listed in the table you need to send the appropriate command over the
serial connection to the Arduino. The serial connection can be over USB or Bluetooth as they
both work the same. You can simply use the serial monitor provided in the Arduino IDE or
one of many Android apps (I use Arduino Bluetooth controller by Giumig Apps). Bluetooth
modules commonly have a default baud rate of 9600 which will need to be changed to
57600 to avoid any timing issues with the code.

Examples:
To get the pan tilt mount to print out its current status just send “R” (without quotes).
To set the step mode to 16th stepping move send: “m16” (without quotes).
To move the pan axis -22.5 degrees send: “p-22.5” (without quotes).

Important:
When the code is first uploaded the EEPROM values will not have been properly set and will
result in unusable values. You will need to set appropriate values then save them to the
EEPROM (by sending he command character U). A restart may then be required.
To see the current setting and stored EEPROM values send the command character R. The
screenshots below show the settings and stored values before and after setting appropriate
EEPROM values.

3-Axis Slider Page 3 of 3

You might also like