Subversion Repositories svnkaklik

Rev

Details | Last modification | View Log

Rev Author Line No. Line
508 kaklik 1
EQ-6/Atlas handpaddle protocol (v3 - 11 Jan 2004).
2
 
3
Darren Hutchinson
4
dbh@gbdt.com.au
5
 
6
$Id: eq6-serial.txt,v 1.3 2004/03/07 07:44:59 dbh Exp $
7
 
8
Introduction:
9
 
10
The EQ-6/Atlas hand controller is used to control the operation of the 
11
Atlas/EQ-6 mount. The hand controller also acts as a power switch for 
12
the mount.
13
 
14
The communication bewteen the controller and the mount is 
15
unidirectional, with data being sent from the controller to the mount 
16
over a single wire. The other wires provide ground, +12V from the mount 
17
to the controller, and switched 12V back to the mount.
18
 
19
Cable pinout TBD.
20
 
21
Physical format:
22
 
23
The signal is a 0/5V signal, with a '1' represented by 5 V. Start bits 
24
are '0', stop bits are '1'
25
 
26
Data format:
27
 
28
The data is a set of 6 asynchronous words with a format of 1 start bit, 
29
9 data bits, and 1 stop bit. The bits are transmitted at rate of 935 
30
bits per second. The six words are transmitted every 76.2 ms.
31
 
32
Note that there is no indication in the data of which word is actually 
33
the first in the set of words. The ordering below is a guess based on 
34
the distribution of extra stop bits in the set of words.
35
 
36
The distribution of extra stop bits between the six words depends on 
37
which keys are pressed but it seems unlikely that this is detected or 
38
used by the mount.
39
 
40
The six words are divided into two sets of three, one set for RA, the 
41
other for DEC. Each set contains a sync word, a direction word, and a 
42
speed word.
43
 
44
All words below are shown with the most significant bit on the left. The 
45
least significant bit is transmitted first, immediately after the start 
46
bit. All RA words have bit 8 set to 0, all DEC words have bit 8 set to 1.
47
 
48
Word 1: RA sync
49
 
50
This word is always the bit pattern 001111110 (0x07e).
51
 
52
B0: Always 0
53
B1 - B6: Always 1
54
B7 - B8: Always 0
55
 
56
Word 2: RA direction
57
 
58
This word determines the rotation direction of the RA axis,
59
 
60
B0:  0 = RA left, 1 = RA right.
61
B1 - Bit 8:   Always 0
62
 
63
Note: When no keys are pressed Bit 0 is 0 when the controller is set for 
64
southern hemisphere operation, and 1 when set for northern hemisphere 
65
operation.
66
 
67
Word 3: RA speed
68
 
69
This word determines the speed of the RA axis in multiples of the 
70
sideral rate. There seems to be some logic in the controller for the x2 
71
speed to help with guiding:
72
 
73
B3 - 0  Rate
74
0000       x0 (RA button for opposite direction to hemisphere RA in x2 mode)
75
0001       x1 (No RA button pressed)
76
0010       x2 (RA button for same direction to hemisphere RA in x2 mode)
77
0100       x8
78
1000       x16
79
 
80
B8 to B4: All 0
81
 
82
Word 4: DEC sync (?)
83
 
84
This word seems to be used to synchronize the start of the DEC 
85
information, but it could be used for something else
86
 
87
B0 - B7: All 0
88
B9: Always '1'
89
 
90
Word 5: DEC direction
91
 
92
This word determines the direction of DEC axis rotation.
93
 
94
B0: 0 =  DEC UP, 1 = DEC DOWN
95
B1 - B7: All 0
96
B8: Always 1
97
 
98
Word 6: DEC speed:
99
 
100
This word determines the spped of rotation of the DEC axis.
101
 
102
B3 - B0   Speed
103
0000      x0 (no motion)
104
0010      x2
105
0100      x8
106
1000      x16
107
 
108
B7 - B4: All 0
109
B8: Always 1
110
 
111
Notes:
112
 
113
- The DEC reverse and RA reverse seem to be inputs to the controller MCU 
114
but only control the interpretation of the buttons and are not sent 
115
directly to the mount.
116
 
117
- see eq6-mnt.txt for pinout of cable
118
 
119
Further work:
120
 
121
- Need to determine correct "first word" in set by monitoring data from 
122
startup
123
- Need to check for any special startup words by monitoring data from 
124
startup
125