forked from PKAstro/Gemini-2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
2nd_Communication_Port_Cable.html
323 lines (253 loc) · 11.9 KB
/
2nd_Communication_Port_Cable.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head profile="http://www.w3.org/2005/10/profile">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon"/>
<link rel="stylesheet" href="ajxmenu.css" type="text/css">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta content="en-us" http-equiv="Content-Language" />
<title>Second Communication Port Cable for Gemini-1</title>
<link href="gemini-2.css" rel="stylesheet" title = "light" type="text/css">
<link href="gemini-2-dark.css" rel="stylesheet" title = "dark" type="text/css">
<script src="style_switcher.js"></script>
<link href="theme-selector.css" rel="stylesheet" type="text/css">
<script src="w3data.js"></script></head>
<body onload="set_style_from_cookie()">
<div w3-include-html="header.html" ></div>
<div class="AJXMenueDFaTFD" w3-include-html="navigation.html"></div><script>w3IncludeHTML();</script>
<table align="center" style="max-width: 900px; min-width: 200px;">
<tr>
<td class="h2">Second Communication Port Cable for Gemini-1</td>
</tr>
</table>
<table align="center" style="max-width: 900px; min-width: 200px;">
<tr>
<td class="style7">The Pictures and testing of this cable was provided by Brian Portman. Thanks Brian for your help.<br />
Please read all the steps before attempting to build this cable.
</td>
</tr>
</table>
<table align="center" style="max-width: 900px; min-width: 200px;">
<tr>
<td class="style6">
<ol><li>
This page will teach you how to make a cable that can be
connected to the to the "DB15 Hand Controller Port" of the Gemini-1.
This cable will provide a USB to Serial virtual port into your computer
by replacing the Deluxe Hand Controller connected to the DB15
connector.
</li>
<li>
There are drivers for many different operating systems available.
See <a href="http://www.ftdichip.com/Drivers/VCP.htm" target="_blank">http://www.ftdichip.com/Drivers/VCP.htm</a> for the different drivers,
including MAC OSX, Windows, Windows 8.1 and Linux.
</li>
<li>
This cable can be used if your main RS-232 port has gone on the
fritz, or just as a second port. You can have this port connected to
ASCOM, and the main RS-232 port connected to GCC for example. The
reverse is also true. The one word of caution if using both ports at
the same time, is do not send conflicting commands to the Gemini
from the applications connected to the Gemini. Unpredictable
results can happen, and you could damage your mount.<li>
For this cable to be safe in connecting into the Gemini Deluxe hand
controller port, you should use an
<a href="#USB-Isolator" target="_self">USB Isolator</a>.<li>
GPS receivers will not work through this communications port, as the
Gemini does not interrogate this port for GPS.<li>
Also you will have to use a program that can tell the Gemini how to
boot. See <a href="#booting" target="_self">item 6</a> under using the cable below.<li>
Here are the items you will need to build this cable:
</li>
<ol type="a">
<li>A USB to TTL 5V Serial FTDIchip cable. Part number
<a href="http://shop.clickandbuild.com/cnb/shop/ftdichip?productID=125&op=catalogue-product_info-null&prodCategoryID=102" target="_blank">TTL-232RG-VIP-WE</a> available from
<a href="http://www.digikey.com/product-search/en?keywords=TTL-232RG-VIP-WE" target="_blank">Digikey</a> or
<a href="http://www.mouser.com/ProductDetail/FTDI/TTL-232RG-VIP-WE/?qs=%2fha2pyFadujx5k75gqjHkoYcPogD7SIlE6dZpulE3h4Uft8ZSATqhw%3d%3d" target="_blank">Mouser</a>.
</li>
<li>A DB15 Male Connector with Solder cup
connections. From
<a href="http://www.digikey.com/product-detail/en/DA-15P-K87/1003-1885-ND/2581298" target="_blank">Digikey</a> from
<a href="http://www.mouser.com/ProductDetail/HARTING/09642217800/?qs=7xTtp7L5VAcn%2fPcPP6NCZw%3d%3d" target="_blank">Mouser</a>
</li>
<li>A plastic D-Sub Backshell for covering the
connector. From
<a href="http://www.digikey.com/product-search/en?keywords=1-1991253-5" target="_blank">Digikey</a> from
<a href="http://www.mouser.com/ProductDetail/TE-Connectivity/1-1991253-5/?qs=c%2f3c818u0Z4mKodtYTnNsw%3d%3d" target="_blank">Mouser</a></li>
<li>Some heat shrink to fit over the solder cup
connections. </li>
<li>A short peace of wire. </li>
<li>A good Soldering Iron, wire cutters and wire strippers,
and some way to heat the heat shrink.</li>
<li>An USB ISOLATED Adapter. Optional but highly
recommended.</li>
</ol>
</li>
</ol>
</td>
</tr>
<tr>
<td class="style7"><br /><br />
<a href="gemini-images/featureport-serial/PC182517.jpg" target="blank">
<img alt="" height="656" src="gemini-images/Gemini1/USB-Serial-cable/TTL-232RG-VIP-WE.jpg" width="900" class="auto-style2" /></a><br />The package as it arrived from
Mouser or Digikey, nicely sealed in anti-static packaging.</td>
</tr>
<tr>
<td class="style7"><br /><br /><br />
<a href="gemini-images/featureport-serial/PC182519.jpg" target="_blank">
<img alt="" class="auto-style2" height="562" src="gemini-images/featureport-serial/thumbnails/PC182519_small.jpg" width="750" /></a>
<br /> Cable removed from package, the cable will have an transparent
plastic end.<br /><br /> </td>
</tr>
</table>
<table align="center" style="max-width: 900px; min-width: 200px;">
<tr>
<td class="style7">
<img alt="" height="1200" src="gemini-images/Gemini1/USB-Serial-cable/IMG_1671.jpg" width="900" />
<br /> The parts you will need.</td>
</tr>
<tr>
<td class="style6"><br /><br />
We will use the colored wire table from the
<a href="http://www.ftdichip.com/Support/Documents/DataSheets/Cables/DS_TTL-232RG_CABLES.pdf">FTDI
Manual</a> to determine how to wire the cable.
<hr />
</td>
</tr>
<tr>
<td class="style7"><br />
<img alt="" height="477" src="gemini-images/Gemini1/USB-Serial-cable/FTDI_cable_Connections.jpg" width="900" /><br />
</td>
</tr>
<tr>
<td class="style7">
<br />
And the chart from the Paragraph 6.2 of the
<a href="downloads/pdf/GeminiL4UserManual.pdf" target="_blank">Gemini-1 Users Manual</a><br />
<img alt="" height="482" src="gemini-images/Gemini1/USB-Serial-cable/Gemini-1_Manual_table.jpg" width="600" /></td></tr>
</table>
<table align="center" style="max-width: 900px; min-width: 200px;">
<tr>
<td class="style6" width="900">
Here is how the wires will be connected.
<ol><li>The Orange Wire (TxD) on the cable will be connected to Pin 11
on the DB15 Connector.</li>
<li>The Yellow Wire (RxD) on the cable will be connected to Pin 15
on the DB15 Connector.</li>
<li>The Red Wire (+5V input) on the cable will be connected to Pin 1
on the DB15 Connector. </li>
<li>The Black Wire (Ground) will need to be connected to two pins of
the DB15 connector.<ol type="A">
<li> This is where the short peace of wire comes in.
It will needed to bridge between connector pins 5 and 14.</li>
<li>The black wire from the cable will need to also go into
either pin 5 or 14.</li>
</ol>
</li>
<li>The green and brown wires will not be used. I would put
heat shrink over them, and keep them in the DB15 plastic cover.</li>
</ol>
</td>
</tr>
</table>
<table align="center" style="max-width: 900px; min-width: 200px;">
<tr>
<td class="style7" width="900"><br /><br />
Here a picture of the connector wires.<br />
<img alt="" height="1200" src="gemini-images/Gemini1/USB-Serial-cable/Wired_Connector.jpg" width="900" />
</td>
</tr>
</table>
<table align="center" style="max-width: 900px; min-width: 200px;">
<tr>
<td class="style7" width="900"><br /><br />
Picture of the completed cable: <br />
<br />
<img alt="" height="828" src="gemini-images/Gemini1/USB-Serial-cable/completed_cable.jpg" width="900" /></td>
</tr>
</table>
<table align="center" style="max-width: 900px; min-width: 200px;">
<tr>
<td class="style6" width="900">
<a name="USB-Isolator"></a>
Now Please note that this cable has no electrical isolation built in.
This cable is connecting directly into the pins of the processor of the
Gemini-1. Any kind of ground loop or static charge could possibly
damage the processor. I Therefore
<span class="auto-style3"><strong><em>highly recommend that you provide an USB Isolator</em></strong></span> such as the one of ones the below: <br />
<ul>
<li>
<a href="http://www.keterex.com/kxusb150.php" target="_blank">
http://www.keterex.com/kxusb150.php</a> or same unit at</li>
<li>
<a href="http://www.mouser.com/ProductDetail/Keterex/KXUSB-150/?qs=%2fha2pyFadujAILCkpEIfMsVbMBCCnvQep%252baEFHwr61U%3d" target="_blank">
mouser.com</a></li>
<li><a href="http://www.olimex.com/dev/usb-iso.html" target="_blank">http://www.olimex.com/dev/usb-iso.html</a> or
<a href="http://www.mouser.com/ProductDetail/Olimex-Ltd/USB-ISO/?qs=sGAEpiMZZMsyM1rGGtQxrO1HI6bIq7Ze" target="_blank">from Mouser
</a>
</li>
</ul>
</td>
</tr>
</table>
<table align="center" style="max-width: 900px; min-width: 200px;">
<tr>
<td class="style7" width="900">
<img alt="" height="924" src="gemini-images/Gemini1/USB-Serial-cable/OLIMEX.jpg" width="900" />
<br /> Here a picture of the OLMEX USB ISOLATOR.<br /><br />
</td>
</tr>
</table>
<table align="center" style="max-width: 900px; min-width: 200px;">
<tr>
<td class="style7" width="900">
<img alt="" height="900" src="gemini-images/Gemini1/USB-Serial-cable/cable_with_OLMEX.jpg" width="900" />
<br /> Cable with the OLMEX USB ISOLATOR attached.<br /><br />
</td>
</tr>
</table>
<table align="center" style="max-width: 900px; min-width: 200px;">
<tr>
<td class="style6" width="900">
USING the Cable
<ol><li> Power off the Gemini-1</li>
<li> You will remove the Deluxe Hand controller from the Gemini-1.</li>
<li> Now connect the DB15 end of this cable to the Gemini-1</li>
<li> If Using windows, then you need to install the FTDI Virtual
Serial Port Driver. I recommend using the
<a href="http://www.ftdichip.com/Drivers/CDM/CDM v2.12.04 WHQL Certified.exe" target="_blank">
EXE version</a> as that is quite a bit less hassle free. Other
drivers are available
<a href="http://www.ftdichip.com/Drivers/VCP.htm" target="_blank">
here</a>.</li>
<li> Connect the USB end into one of the USB ports on your computer.
If you installed the driver as in step 4, then your computer will
create a virtual serial port to it. You might have to use the
device manager to determine which port it is.</li>
<li><a name="booting"></a> You are going to have to use an utility such as
<a href="http://www.docgoerlich.de/GCC/" target="_blank">GCC</a> or
the
<a href="/Gemini2_drivers/GeminiTelescopeInstaller.exe" target="_blank">
ASCOM driver</a> or the <a href="#rebooter">rebooter program</a> to
get Gemini-1 to boot.
The reason for this, is that without the Deluxe Hand controller, the
Gemini-1 has no way of knowing which mode to boot in. (Cold, Warm or
Warm-Restart.) If this is the only connection you have then
the program will have to boot the Gemini through it. If you still
also have the RS-232 port active and using it, then you can boot the
Gemini through either communications port.</li>
<li> Turn on your Gemini-1 and enjoy the second communications port.</li>
</ol>
<p> </p>
</td>
</tr>
</table>
<table align="center" style="max-width: 900px; min-width: 200px;">
<tr>
<td class="style7whiteborder" > -->
<div class="style7">
<img alt="" height="195" src="gemini-images/Gemini1/USB-Serial-cable/rebooter.jpg" width="396" /></div></td>
</tr>>
</table>
<link rel="stylesheet" href="ajxmenu_bottom.css" type="text/css">
<div w3-include-html="footer.html" ></div>
</body>