Command List for Falcon Rotator v2
Device exposes a USB to Serial COM port:
Manufacturer: PegasusAstro
Product: FalconRotator2
VID: 303a
PID: 9002
Connection Settings: 115200, 8N1 (DTR on)
(All commands should be terminated with a new line /n)
Send: F# or ##
Receive: F2R_{ID}_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: F2R:{position}:{is_running}:{speed}:{microsteps}:{direction}
F2R = Identification of Falcon 2 Rotator.
position: Position in degrees.
is_running: Motor is running [0 or 1].
speed: Motor Speed.
microsteps: Motor Microstep drive. [2, 4, 8, 16 or 32]
direction: Motor Direction [ 0 = normal , 1 = reverse].
To set the speed:
Send: FS:{speed}. [e.g FS:500]
Receive: FS:{speed}
To get the speed:
Send:FS
Receive: FS:{speed}
Explanation: Sets and reports motor max speed. Speed is an unsigned integer
Setting is stored in memory and retreived on device boot
Send: FD
Receive: FD:{degrees}
Explanation: Report rotator’s position in degrees. {degrees} is a double value.
Send: MD:{degrees}
Receive: MD:{degrees}
Explanation: Move rotator to degrees. {degrees} in a double value.
Send: MS:{steps}
Receive: MS:{steps}
Explanation: Move rotator’s motor in steps. {steps are int32}.
Send: FN:{boolean}
Receive: FN:{boolean}
Explanation: Reverse rotator’s motor direction. 0 = normal, 1 = reverse.
Setting is stored in memory and retreived on device boot
Send: SD:{degrees}
Receive: SD:{degrees}
Explanation: Sync rotator’s position to degrees. Rotator does not move, it only syncs its position to this number. Degrees is a double.
Send:FV
Receive: FV:{firmware_major.firmware_minor}
Explanation: Reports firmware version that is a string with major and minor. firmware version e.g 1.4
Send: FH
Receive: FH:1
Explanation: Halt / Stop motor. Stops also any active de-rotation.
Enable De-Rotation with RoR (Rate of Rotation)
Send: DR:{RoR} E.g: DR:40
Receive: DR:{RoR} DR:40
Disable De-Rotation
Send: DR:0
Receive: DR:0
Explanation: Enable / Disable Field De-Rotation.
{RoR} is the rate of rotation in arcsecs per second.
If {RoR} is !=0 then derotation starts.. derotation_value can also take negative values for reverse rotation. Some targets need reverse RoR.
Send: TSOL:1
Receive: TSOL:1
Explanation: Track in solar rate.
Send TSOL:0 to disable solar tracking
Send: TSDR:1
Receive: TSDR:1
Explanation: Track in sIdereal rate.
Send TSDR:0 to disable sidereal tracking
Send: FR
Receive: FR:{is_moving}
Explanation: Report if rotator is moving. {is_moving} is an integer. 0 = idle, 1 = rotator is moving.
Send: FU
Receive: FU:{uptime}
Explanation: Shows uptime of device in seconds. {uptime is an unsigned int32}
Send: FF
Receive: no output
Explanation: Device reboots , firmware reloads.
Send: FLIM:{boolean}
Receive: FLIM:{boolean}
Explanation: Enable or Disable limit of 220 degrees to prevent cable snag / twist.
Setting is stored in memory and retreived on device boot
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.
USE ONLY IF YOU KNOW OF WHAT YOU ARE DOING.
Send: MSTEP:{mstep}
Receive: MSTEP:{mstep}
Explanation: Set motor micro-stepping and tune automatically speed multiplier. {mstep} accepts microstep value of 2, 4, 8, 16, 32
Default value is 4 microsteps
USE ONLY IF YOU KNOW OF WHAT YOU ARE DOING.
Send: MCUR:{current in mA}
Receive: MCUR:{current in mA}
Explanation: Set current of motor controller in milliamps. Accepted values are 50 to 1500 mA. Default is 800 mA.
Send: WS
Receive: WS:{ssid_name},{signal_strength},{encryption_type} : {ssid_name},{signal_strength},{encryption_type} : ….
Explanation: Lists top ten in signal strength available WiFI networks in the area.
Send: WN:{network_name}
Receive: WN:{network_name}
Explanation: Set Network Name of WIFi Client.
Send: WP:{client_password}
Receive: WP:{client_password}
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:{ap_name}
Receive: AN:{ap_name}
Explanation: Set Access Point Name.
Receive: AP:{ap_password}
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: AL:{ap_name:ap_password}
Explanation: Display configured access point (hotspot) SSID name and password.
Send: AE:{boolean}
Receive: AE:{boolean}
Explanation: Enable or Disable Access Point (hotspot). 0 = disable, 1 = enable
Send: A?
Receive: A?:{ap_status}
Explanation: Reports if Access Point (hotspot) is enables or disabled. 0 = disabled , 1 = enabled
Get Channel:
Send: AC
Receive: AC:{channel}
Explanation: Reports configured access point channel.
Set Channel
Send: AC:{channel}
Receive: AC:{channel}
Explanation: Sets the access point channel. Can accept a {channel} from 1 to 11.
Send: WA
Receive: WA:{wifi_ssid}:{wifi_ip}:{encryption_type}:{signal_strength}
Explanation: Reports WiFi information of client connected to WiFi SSID.
{wifi_ssid} is the SSID network that the client is connected to
{wifi_ip} is the assigned DHCP ip that client has
{encryption_type} is the encryption security 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: WZ
Explanation: Resets all WiFi settings back to factory default.