Last modified by Eric Nantel on 2023/01/23 11:44

Show last authors
1 {{html wiki="false" clean="true"}}
2 <body><table border="0" cellpadding="0" cellspacing="0" >
3 <tbody><tr>
4 <td valign="top" align="left"><font face="Verdana" size="2"><b>BlueSMiRF and SSC-32 Configuration Tutorial.<br>
5 </b>By James Frye</font>
6 <p><b><font face="Verdana" size="2">Updated 06/18/2007.</font></b></p>
7 <p><font face="Verdana" size="2">This tutorial is to help connect a SparkFun BlueSMiRF to the SSC-32 to be used with
8 <a target="_blank" href="https://wiki.lynxmotion.com/info/wiki/lynxmotion/view/ses-software/lynxterm/">LynxTerm</a>
9 or the <a href="https://wiki.lynxmotion.com/info/wiki/lynxmotion/view/ses-software/ssc-32-sequencer/" target="_blank">SEQ-01 Visual Sequencer</a> program.</font></p>
10 <p><font face="Verdana" size="2">We were able to achieve a range of over 50 feet using the 582 ceramic antenna module indoors, line-of-sight. We
11 were unable to test it at a greater distance due to the small size of our office. We can only assume the 158 duck antenna version has a longer
12 range.</font></p></td>
13 <td align="center" valign="top" width="320"><font face="Verdana" size="2"><img src="https://wiki.lynxmotion.com/info/wiki/lynxmotion/download/servo-erector-set-robots-kits/ses-v1-robots/ses-v1-bipeds/bluesmirf-ssc-32-installation/WebHome/smirf15.jpg" border="2" hspace="10" ><br>
14 <strong>Image of BRAT with BlueSMiRF.</strong></font></td>
15 </tr>
16 <tr>
17 <td valign="top" align="left" colspan="2"><font face="Verdana" size="2">&nbsp;</font></td>
18 </tr>
19 <tr>
20 <td valign="top" align="left"><font face="Verdana" size="2"><strong>Necessary Hardware</strong></font>
21 <p><font face="Verdana" size="2">You will need:<br>
22 &nbsp; &gt; Bluetooth USB Dongle (WRL-00150)</font></p>
23 <p><font face="Verdana" size="2">Choose one of these modules:<br>
24 &nbsp; &gt; Bluetooth Modem BlueSMiRF (Int. ceramic ant.) (WRL-00582)<br>
25 &nbsp; &gt; Bluetooth Modem BlueSMiRF RP-SMA (Ext. ant.) (WRL-00158)<br>
26 </font><font face="Verdana" size="2">&nbsp;&nbsp;&nbsp; &gt; 2.4GHz Duck Antenna RP-SMA (WRL-00145)</font></p>
27 </td>
28 <td align="center" valign="top" ><font face="Verdana" size="2"><img src="https://wiki.lynxmotion.com/info/wiki/lynxmotion/download/servo-erector-set-robots-kits/ses-v1-robots/ses-v1-bipeds/bluesmirf-ssc-32-installation/WebHome/smirf00.jpg" border="2" hspace="10" ><br>
29 <b>BlueSMiRF modules and Accessories.</b></font></td>
30 </tr>
31 <tr>
32 <td valign="top" align="left" colspan="2"><font face="Verdana" size="2">&nbsp;</font></td>
33 </tr>
34 <tr>
35 <td valign="top" align="left"><font face="Verdana" size="2"><strong>Step 1.</strong><br>
36 We need to create a custom cable. Using a DC-02 data cable as a
37 base, you will need to remove the violet wire's female connector from the black housing on one end. Refer to Figure 1 for an example of how to
38 easily remove a connector from a black housing.</font></td>
39 <td align="center" valign="top" ><font face="Verdana" size="2"><img src="https://wiki.lynxmotion.com/info/wiki/lynxmotion/download/servo-erector-set-robots-kits/ses-v1-robots/ses-v1-bipeds/bluesmirf-ssc-32-installation/WebHome/dhbmd02.jpg" border="2" hspace="10" ><br>
40 Figure 1.</font></td>
41 </tr>
42 <tr>
43 <td valign="top" align="left" colspan="2"><br class="pb">
44 </td>
45 </tr>
46 <tr>
47 <td valign="top" align="left"><font face="Verdana" size="2"><strong>Step 2.</strong><br>
48 Cover the exposed connector with heatshrink to avoid shorts. Your cable should look like Figure 2.</font></td>
49 <td align="center" valign="top" ><font face="Verdana" size="2"><img src="https://wiki.lynxmotion.com/info/wiki/lynxmotion/download/servo-erector-set-robots-kits/ses-v1-robots/ses-v1-bipeds/bluesmirf-ssc-32-installation/WebHome/smirf01.jpg" border="2" hspace="10" ><br>
50 Figure 2.</font></td>
51 </tr>
52 <tr>
53 <td valign="top" align="left" colspan="2"><font face="Verdana" size="2">&nbsp;</font></td>
54 </tr>
55 <tr>
56 <td valign="top" align="left"><font face="Verdana" size="2"><strong>Step 3.</strong><br>
57 Connect the data and power cables to the BlueSMiRF as shown. Consult
58 Table 3 for connection information. A wiring diagram is available directly following Step 4.<br>
59 &nbsp;</font>
60 <div align="center">
61 <center>
62 <table border="1" bordercolor="#FFFFFF" >
63 <tbody><tr>
64 <td >
65 <div align="center">
66 <table border="1" bordercolor="#000000" >
67 <tbody><tr>
68 <td align="center" bordercolor="#808080" bgcolor="#C0C0C0" colspan="2"><font face="Verdana" size="2">BlueSMiRF
69 Connections</font></td>
70 </tr>
71 <tr>
72 <td align="center" bordercolor="#808080" bgcolor="#C0C0C0"><font face="Verdana" size="2">CTS-I</font></td>
73 <td align="center" bordercolor="#C0C0C0" bgcolor="#FFFFFF"><font face="Verdana" size="2">Violet (Heat shrink end)</font></td>
74 </tr>
75 <tr>
76 <td align="center" bordercolor="#808080" bgcolor="#C0C0C0"><font face="Verdana" size="2">PWR</font></td>
77 <td align="center" bordercolor="#C0C0C0" bgcolor="#FFFFFF"><font face="Verdana" size="2">Power Cable - Red (+)</font></td>
78 </tr>
79 <tr>
80 <td align="center" bordercolor="#808080" bgcolor="#C0C0C0"><font face="Verdana" size="2">GND</font></td>
81 <td align="center" bordercolor="#C0C0C0" bgcolor="#FFFFFF"><font face="Verdana" size="2">Power Cable - Black (-)</font></td>
82 </tr>
83 <tr>
84 <td align="center" bordercolor="#808080" bgcolor="#C0C0C0"><font face="Verdana" size="2">TX-O</font></td>
85 <td align="center" bordercolor="#C0C0C0" bgcolor="#FFFFFF"><font face="Verdana" size="2">Yellow</font></td>
86 </tr>
87 <tr>
88 <td align="center" bordercolor="#808080" bgcolor="#C0C0C0"><font face="Verdana" size="2">RX-I</font></td>
89 <td align="center" bordercolor="#C0C0C0" bgcolor="#FFFFFF"><font face="Verdana" size="2">Blue</font></td>
90 </tr>
91 <tr>
92 <td align="center" bordercolor="#808080" bgcolor="#C0C0C0"><font face="Verdana" size="2">RTS-O</font></td>
93 <td align="center" bordercolor="#C0C0C0" bgcolor="#FFFFFF"><font face="Verdana" size="2">Violet</font></td>
94 </tr>
95 </tbody></table>
96 </div>
97 </td>
98 </tr>
99 <tr>
100 <td bordercolor="#FFFFFF">
101 <p align="center"><font face="Verdana" size="2">Table 3.</font></p></td>
102 </tr>
103 </tbody></table>
104 </center></div>
105 </td>
106 <td align="center" valign="top" ><font face="Verdana" size="2"><img src="https://wiki.lynxmotion.com/info/wiki/lynxmotion/download/servo-erector-set-robots-kits/ses-v1-robots/ses-v1-bipeds/bluesmirf-ssc-32-installation/WebHome/smirf02.jpg" border="2" hspace="10" ><br>
107 Figure 3.</font></td>
108 </tr>
109 <tr>
110 <td valign="top" align="left" colspan="2"><font face="Verdana" size="2">&nbsp;</font></td>
111 </tr>
112 <tr>
113 <td valign="top" align="left"><font face="Verdana" size="2"><strong>Step 4.</strong><br>
114 Connect the data and power cables to the SSC-32 as shown. Consult Table 4 for connection information. A wiring diagram is available directly
115 following this step.<br>
116 &nbsp;</font>
117 <div align="center">
118 <center>
119 <table border="1" bordercolor="#FFFFFF" >
120 <tbody><tr>
121 <td >
122 <div align="center">
123 <center>
124 </center><table border="1" bordercolor="#000000" >
125 <tbody><tr>
126 <td align="center" bordercolor="#808080" bgcolor="#C0C0C0" colspan="2"><font face="Verdana" size="2">SSC-32 Connections</font></td>
127 </tr>
128 <tr>
129 <td align="center" bordercolor="#808080" bgcolor="#C0C0C0"><font face="Verdana" size="2">TX</font></td>
130 <td align="center" bordercolor="#C0C0C0" bgcolor="#FFFFFF"><font face="Verdana" size="2">Blue</font></td>
131 </tr>
132 <tr>
133 <td align="center" bordercolor="#808080" bgcolor="#C0C0C0"><font face="Verdana" size="2">RX</font></td>
134 <td align="center" bordercolor="#C0C0C0" bgcolor="#FFFFFF"><font face="Verdana" size="2">Yellow</font></td>
135 </tr>
136 <tr>
137 <td align="center" bordercolor="#808080" bgcolor="#C0C0C0"><font face="Verdana" size="2">+</font></td>
138 <td align="center" bordercolor="#C0C0C0" bgcolor="#FFFFFF"><font face="Verdana" size="2">Red</font></td>
139 </tr>
140 <tr>
141 <td align="center" bordercolor="#808080" bgcolor="#C0C0C0"><font face="Verdana" size="2">GND</font></td>
142 <td align="center" bordercolor="#C0C0C0" bgcolor="#FFFFFF"><font face="Verdana" size="2">Black</font></td>
143 </tr>
144 </tbody></table>
145 </div>
146 </td>
147 </tr>
148 <tr>
149 <td bordercolor="#FFFFFF">
150 <p align="center"><font face="Verdana" size="2">Table 4.</font></p></td>
151 </tr>
152 </tbody></table>
153 </center></div>
154 </td>
155 <td align="center" valign="top" ><font face="Verdana" size="2"><img src="https://wiki.lynxmotion.com/info/wiki/lynxmotion/download/servo-erector-set-robots-kits/ses-v1-robots/ses-v1-bipeds/bluesmirf-ssc-32-installation/WebHome/smirf03.jpg" border="2" hspace="10" ><br>
156 Figure 4.</font></td>
157 </tr>
158 <tr>
159 <td valign="top" align="left" colspan="2"><br class="pb">
160 </td>
161 </tr>
162 <tr>
163 <td valign="top" align="left" colspan="2"><font face="Verdana" size="2"><strong>Wiring Diagram.</strong><br>
164 Refer to the following diagram for wiring information.</font>
165 <p align="center"><font face="Verdana" size="2"><img src="https://wiki.lynxmotion.com/info/wiki/lynxmotion/download/servo-erector-set-robots-kits/ses-v1-robots/ses-v1-bipeds/bluesmirf-ssc-32-installation/WebHome/bluessc.gif" border="0" hspace="10" ></font></p>
166 </td>
167 </tr>
168 <tr>
169 <td valign="top" align="left" colspan="2"><br class="pb">
170 </td>
171 </tr>
172 <tr>
173 <td valign="top" align="left"><font face="Verdana" size="2"><strong>Step 5.</strong><br>
174 Set the SSC-32's baud rate to 9600, using the jumper configuration as shown.</font></td>
175 <td align="center" valign="top" ><font face="Verdana" size="2"><img src="https://wiki.lynxmotion.com/info/wiki/lynxmotion/download/servo-erector-set-robots-kits/ses-v1-robots/ses-v1-bipeds/bluesmirf-ssc-32-installation/WebHome/smirf04.jpg" border="2" hspace="10" ><br>
176 Figure 5.</font></td>
177 </tr>
178 <tr>
179 <td valign="top" align="left" colspan="2"><font face="Verdana" size="2">&nbsp;</font></td>
180 </tr>
181 <tr>
182 <td valign="top" align="left"><font face="Verdana" size="2"><strong>Step 6.</strong><br>
183 Install the BlueSoleil program, which is included with the KB-018 Bluetooth USB Dongle. Open the program, and plug the dongle into the computer.
184 The "Welcome to Bluetooth" message shown in Figure 6 should pop up. Type in a device name and select a type. Click "OK" to
185 continue.</font></td>
186 <td align="center" valign="top" ><font face="Verdana" size="2"><img src="https://wiki.lynxmotion.com/info/wiki/lynxmotion/download/servo-erector-set-robots-kits/ses-v1-robots/ses-v1-bipeds/bluesmirf-ssc-32-installation/WebHome/smirf05.jpg" border="2" hspace="10" ><br>
187 Figure 6.</font></td>
188 </tr>
189 <tr>
190 <td valign="top" align="left" colspan="2"><font face="Verdana" size="2">&nbsp;</font></td>
191 </tr>
192 <tr>
193 <td valign="top" align="left"><font face="Verdana" size="2"><b>Step 7.</b><br>
194 Apply power to the SSC-32, and click on the orange "sun" in the center of the screen to search for Bluetooth devices.</font>
195 <p><font face="Verdana" size="2">Note: When the SparkFun device is first loaded, it will occasionally appear as a device address instead of a
196 name. You must wait until the BlueSoleil program finishes searching for additional Bluetooth devices for the name to appear. <b>Please wait
197 until the name appears before continuing.</b></font></p>
198 </td>
199 <td align="left" valign="top" >
200 <p align="center"><font face="Verdana" size="2"><a href="http://www.lynxmotion.com/images/assembly/smirf/smirf06b.jpg" target="_blank"><img src="https://wiki.lynxmotion.com/info/wiki/lynxmotion/download/servo-erector-set-robots-kits/ses-v1-robots/ses-v1-bipeds/bluesmirf-ssc-32-installation/WebHome/smirf06.jpg" border="2" hspace="10" ></a><br>
201 Figure 7.</font></p></td>
202 </tr>
203 <tr>
204 <td valign="top" align="left" colspan="2"><br class="pb">
205 </td>
206 </tr>
207 <tr>
208 <td valign="top" align="left"><font face="Verdana" size="2"><b>Step 8.</b><br>
209 Right click on the SparkFun-BT icon, and click on "Refresh Services".</font>
210 <p><font face="Verdana" size="2">Next, right click on the SparkFun-BT icon, and click on Connect &gt; Bluetooth Serial Port Service.</font></p>
211 <p><font face="Verdana" size="2">Note: The first time you connect, the "Quick Connect" dialogue will appear. What you choose here is
212 your choice. <b>Please make a note of which COM port is listed.</b></font></p>
213 </td>
214 <td align="left" valign="top" >
215 <p align="center"><font face="Verdana" size="2"><a href="http://www.lynxmotion.com/images/assembly/smirf/smirf07b.jpg" target="_blank"><img src="https://wiki.lynxmotion.com/info/wiki/lynxmotion/download/servo-erector-set-robots-kits/ses-v1-robots/ses-v1-bipeds/bluesmirf-ssc-32-installation/WebHome/smirf07.jpg" border="2" hspace="10" ></a><br>
216 Figure 8.</font></p></td>
217 </tr>
218 <tr>
219 <td valign="top" align="left" colspan="2"><font face="Verdana" size="2">&nbsp;</font></td>
220 </tr>
221 <tr>
222 <td valign="top" align="left"><font face="Verdana" size="2"><strong>Step 9.</strong><br>
223 <a href="https://wiki.lynxmotion.com/info/wiki/lynxmotion/view/ses-software/lynxterm/" target="_blank">Download</a> and install Lynxterm. Click on "Setup" in the
224 "Port" section and change the baud rate to 9600, and change the COM port to the one listed in the Quick Connect dialogue.</font></td>
225 <td align="center" valign="top" ><font face="Verdana" size="2"><img src="https://wiki.lynxmotion.com/info/wiki/lynxmotion/download/servo-erector-set-robots-kits/ses-v1-robots/ses-v1-bipeds/bluesmirf-ssc-32-installation/WebHome/smirf08.jpg" border="2" hspace="10" ><br>
226 Figure 9.</font></td>
227 </tr>
228 <tr>
229 <td valign="top" align="left" colspan="2"><font face="Verdana" size="2">&nbsp;</font></td>
230 </tr>
231 <tr>
232 <td valign="top" align="left"><font face="Verdana" size="2"><strong>Step 10.</strong><br>
233 Click on "Setup" in the "Terminal" section. Make sure your settings are the same as in Figure 10. <b>Double-check to make
234 sure "Send line feeds with carriage return" is turned off!</b></font>
235 <p>&nbsp;</p>
236 </td>
237 <td align="center" valign="top" ><font face="Verdana" size="2"><img src="https://wiki.lynxmotion.com/info/wiki/lynxmotion/download/servo-erector-set-robots-kits/ses-v1-robots/ses-v1-bipeds/bluesmirf-ssc-32-installation/WebHome/smirf09.jpg" border="2" hspace="10" ><br>
238 Figure 10.</font></td>
239 </tr>
240 <tr>
241 <td valign="top" align="left" colspan="2"><br class="pb">
242 </td>
243 </tr>
244 <tr>
245 <td valign="top" align="left"><font face="Verdana" size="2"><b>Step 11.<br>
246 </b>In the main terminal screen, type "ver" and then hit "enter" to test connectivity to the SSC-32. You should see "ver"
247 replaced with your firmware's version. Now type "+++" and hit "enter" to activate "Configuration Mode" on the
248 BlueSMiRF. You should see "OK" on the screen after you enter the "+++".</font></td>
249 <td align="center" valign="top" ><font face="Verdana" size="2"><a href="http://www.lynxmotion.com/images/assembly/smirf/smirf10b.jpg" target="_blank"><img src="https://wiki.lynxmotion.com/info/wiki/lynxmotion/download/servo-erector-set-robots-kits/ses-v1-robots/ses-v1-bipeds/bluesmirf-ssc-32-installation/WebHome/smirf10.jpg" border="2" hspace="10" ></a><br>
250 Figure 11.</font></td>
251 </tr>
252 <tr>
253 <td valign="top" align="left" colspan="2"><font face="Verdana" size="2">&nbsp;</font></td>
254 </tr>
255 <tr>
256 <td valign="top" align="left"><font face="Verdana" size="2"><b>Step 12.</b><br>
257 Type "AT" and hit "enter". You should see "OK" returned on the screen, confirming that communication is still
258 possible with the BlueSMiRF. If you don't see an "OK", go back through the tutorial and double-check your settings.</font>
259 <p><font face="Verdana" size="2">Now type "ATSW20,472,0,0,1" and hit "enter". This changes the baud rate to 115.2k baud.
260 Note: This command does not return an "OK" on completion.</font></p>
261 <p><font face="Verdana" size="2"><b>Reminder: Terminal applications do not allow the use of the "Backspace" button! If you make a
262 typo, just hit "enter" and try it again.</b></font></p>
263 </td>
264 <td align="left" valign="top" >
265 <p align="center"><font face="Verdana" size="2"><a href="http://www.lynxmotion.com/images/assembly/smirf/smirf11b.jpg" target="_blank"><img src="https://wiki.lynxmotion.com/info/wiki/lynxmotion/download/servo-erector-set-robots-kits/ses-v1-robots/ses-v1-bipeds/bluesmirf-ssc-32-installation/WebHome/smirf11.jpg" border="2" hspace="10" ></a><br>
266 Figure 12.</font></p></td>
267 </tr>
268 <tr>
269 <td valign="top" align="left" colspan="2"><font face="Verdana" size="2">&nbsp;</font></td>
270 </tr>
271 <tr>
272 <td valign="top" align="left"><font face="Verdana" size="2"><b>Step 13.</b><br>
273 Type "ATSI,8". Disregard the rest of the line - it's just leftover from the previous command. You will see a return of "OK"
274 and "01D8,0000,0000" which is the baud rate written in hexadecimal. If this number is different, then you need to repeat Step 12.</font></td>
275 <td align="left" valign="top" >
276 <p align="center"><font face="Verdana" size="2"><a href="http://www.lynxmotion.com/images/assembly/smirf/smirf12b.jpg" target="_blank"><img src="https://wiki.lynxmotion.com/info/wiki/lynxmotion/download/servo-erector-set-robots-kits/ses-v1-robots/ses-v1-bipeds/bluesmirf-ssc-32-installation/WebHome/smirf12.jpg" border="2" hspace="10" ></a><br>
277 Figure 13.</font></p></td>
278 </tr>
279 <tr>
280 <td valign="top" align="left" colspan="2"><br class="pb">
281 </td>
282 </tr>
283 <tr>
284 <td valign="top" align="left"><font face="Verdana" size="2"><b>Step 14.</b><br>
285 Click on "Setup" in the "Port" section, and change the baud rate to 115200.</font>
286 <p><font face="Verdana" size="2">Now disconnect from LynxTerm (press "Disconnect" in the "Port" section) and BlueSoleil
287 (right click on the SparkFun icon, then click Disconnect &gt; Bluetooth Serial Port Service), and turn off the SSC-32.</font></p></td>
288 <td align="left" valign="top" >
289 <p align="center"><font face="Verdana" size="2"><img src="https://wiki.lynxmotion.com/info/wiki/lynxmotion/download/servo-erector-set-robots-kits/ses-v1-robots/ses-v1-bipeds/bluesmirf-ssc-32-installation/WebHome/smirf13.jpg" border="2" hspace="10" ><br>
290 Figure 14.</font></p></td>
291 </tr>
292 <tr>
293 <td valign="top" align="left" colspan="2"><font face="Verdana" size="2">&nbsp;</font></td>
294 </tr>
295 <tr>
296 <td valign="top" align="left"><font face="Verdana" size="2"><b>Step 15.</b><br>
297 Set the SSC-32's baud rate to 115.2k baud, using the jumper configuration as shown.</font>
298 <p><font face="Verdana" size="2">Turn the SSC-32 back on. Reconnect BlueSoleil (right click on the SparkFun icon, then click Connect &gt;
299 Bluetooth Serial Port Service), then reconnect LynxTerm (press "Connect" in the "Port" section).</font></p>
300 <p><font face="Verdana" size="2">In LynxTerm, type "ver" and hit "enter" for the final test. You should see the firmware
301 version returned on the screen if all is well.</font></p>
302 <p><font face="Verdana" size="2"><b>Congratulations!</b> You can now control your robots without the annoyance of wires!</font></p>
303 </td>
304 <td align="left" valign="top" >
305 <p align="center"><font face="Verdana" size="2"><img src="https://wiki.lynxmotion.com/info/wiki/lynxmotion/download/servo-erector-set-robots-kits/ses-v1-robots/ses-v1-bipeds/bluesmirf-ssc-32-installation/WebHome/smirf14.jpg" border="2" hspace="10" ><br>
306 Figure 15.</font></p></td>
307 </tr>
308 <tr>
309 <td valign="top" align="left" colspan="2"><font face="Verdana" size="2">&nbsp;</font></td>
310 </tr>
311 <tr>
312 <td valign="top" align="left"><font face="Verdana" size="2"><b>Step 16.</b><br>
313 For our testing, we did not have to change any timeouts in LynxTerm for reliable communication. However, we did have to change some timeouts in
314 <a href="https://wiki.lynxmotion.com/info/wiki/lynxmotion/view/ses-software/ssc-32-sequencer/" target="_blank">SEQ-01</a>.
315 Click on "Timeouts" and refer to Figure 16 for specific values.</font>
316 <p><font face="Verdana" size="2">It's a good idea to experiment with timeout values. Try to find the smallest values that still allow reliable
317 communication.</font></p></td>
318 <td align="left" valign="top" >
319 <p align="center"><font face="Verdana" size="2"><a href="http://www.lynxmotion.com/images/assembly/smirf/smirf16b.jpg" target="_blank"><img src="https://wiki.lynxmotion.com/info/wiki/lynxmotion/download/servo-erector-set-robots-kits/ses-v1-robots/ses-v1-bipeds/bluesmirf-ssc-32-installation/WebHome/smirf16.jpg" border="2" hspace="10" ></a><br>
320 Figure 16.</font></p></td>
321 </tr>
322 </tbody></table>
323 </body>
324 {{/html}}
Copyright RobotShop 2018