Command List for FocusCube 3
Device exposes a USB to Serial COM port:
Manufacturer: PegasusAstro
Product: FocusCube3
VID: 303a
PID: 9000
Connection Settings: 115200, 8N1 (DTR on)
(All commands should be terminated with a new line /n)
Send: F# or ##
Receive: FC3__A
Explanation: Displays device unique identification. The id is an 8 byte char. The last char , e.g A. is the revision of the electronic board.
Send: FA
Receive: FC3:::::
FC3 = Identification of FocusCube3.
position: Position in steps.
is_running: Motor is running [0 or 1].
temperature: Ambient temperature (external temperature sensor)
direction: Motor direction. 0 = normal, 1 = reverse
backlash: Motor Backlash Compensation value
To set the speed:
Send: SP:. [e.g FS:400]
Receive: SP:
To get the speed:
Send:SP
Receive: SP:
Explanation: Sets and reports motor max speed. Speed is an unsigned integer
Setting is stored in memory and retreived on device boot
Send: BL
Receive:
Explanation: Set motor backlash. can get values from 0 to 1000.
0 = Backlash Conpensation OFF
Setting is stored in memory and retreived on device boot
Send: FM:
Receive: FM:
Explanation: Move rotator's motor in absolute steps. .
Send: FG:
Receive: FG:
Explanation: Move rotator's motor in relative steps from current position. .
Send: FD:
Receive: FD:
Explanation: Motor direction: 0 = normal, 1 = reverse.
Setting is stored in memory and retreived on device boot
Send: FH
Receive: FH:1
Explanation: Halt motor.
Send: FN:
Receive: FN:
Explanation: Sync position to new step value. Motor does not move, it only syncs its position to this number.
is unsigned int32.
Send: FT
Receive: FT:
Explanation: Reports sensor temperature in degrees Celsius. is a double value.
Send:FV
Receive: FV:
Explanation: Reports firmware version that is a string with major, minor and device revision. firmware version e.g 1.4.1
Send: FI
Receive: FI:
Explanation: Report if motor is moving. is an integer. 0 = idle, 1 = is moving.
Send: FU
Receive: FU:
Explanation: Shows uptime of device in seconds.
Send: FQ
Receive: no output
Explanation: Device reboots , firmware reloads.
Send: EF
Receive: EF:1
Explanation: Zero fill FRAM. Motor position settings are cleared.
Send: EE
Receive: EE:1
Explanation: Reset to default all rotator's settings.
Send: WS
Receive: ,, : ,, : ….
Explanation: Lists top ten in signal strength available WiFI networks in the area.
Send: WN:
Receive:
Explanation: Set Network Name of WIFi Client.
Send: WP:
Receive:
Explanation: Set Client Password. Should be >=8 chars.
When device receives a client password , it uses the cliend SSID and tries to set the WiFi connection. If connection is not successful it will try every 10 seconds.
Send: AN:
Receive:
Explanation: Set Access Point Name.
Receive:
Explanation: Set Access Point Password. When device receives an AP password it uses AP Name and password to configure the Access Point (Hotspot).
Send: AL
Receive:
Explanation: Display configured access point (hotspot) SSID name and password.
Send: AE:
Receive:
Explanation: Enable or Disable Access Point (hotspot). 0 = disable, 1 = enable
Send: A?
Receive:
Explanation: Reports if Access Point (hotspot) is enables or disabled. 0 = disabled , 1 = enabled
Get Channel:
Send: AC
Receive:
Explanation: Reports configured access point channel.
Set Channel
Send: AC:
Receive:
Explanation: Sets the access point channel. Can accept a from 1 to 11.
Send: WA
Receive: :::
Explanation: Reports WiFi information of client connected to WiFi SSID.
is the SSID network that the client is connected to
is the assigned DHCP ip that client has
is the security encryption of network. It is an interger and number 3 represents WPA2 security.
{signal_strengh) is the signal quality in percentage 0-100%.
Send: WZ
Receive: 1
Explanation: Resets all WiFi settings back to factory default.