-
Notifications
You must be signed in to change notification settings - Fork 2
/
README.html
34 lines (32 loc) · 1.89 KB
/
README.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# ASCOM.Stroblhofwarte.Rotator
The Stroblhof Rotator is a simple and sturdy rotator device
for astronomical observations. It could be build without access to
a lathe or milling machine. The rotator device is made out of aluminium
and steel. It is driven by a NEMA 14 stepper motor. The rotator could
rotate (approximately) between between 0° and 330°.
The electronics are made out of a arduino uno and a shield with ST820 driver.
Each stepper driver can be used, the DRV8825 driver supports 32 microsteps for
smooth operation.
The communication between this driver and the arduino is done with a simple
serial protocol, 9600 baud. A command ends with
a colon (:), the response ends with a hash (#).
```
Command Response Description
-----------------------------------------------------------------------------
ID: ROTATOR# Device identification
TRxxx: 1# Move right xxx degrees (float with decimal point)
TLxxx: 1# Move left xxx degrees
TAxxx: 1# Move absolute to xxx degrees
GP: xxxx# Return the current position
ST: 1# Stop the current movement
MV: 0# or 1# #1: Rotator is moving, otherwise 0#
MOFF: 1# The motor is disabled after movement
MON: 1# The motor is always powerd
IF: <INFO># Hardware state info
SZ: xxx.xx# Minimal step size in degree
IN: 1# Rotator initialize its position via limit switch
IS: 1# Set the motor speed factor f for initialization (base speed * f)
SP: 1# Set the motor speed factor f for normal movements (base speed * f)
PPxxx.xx: 1# Set the park position to xxx.xx°
PA: 1# Move the rotator to the park position
```