Installing Bluetooth •PDF• •Print• •E-mail•

How To install wireless bluetooth adapter to Sitech servo controlled telescope

Note: Listed below are the items and methodolgy I used.  Variations will probably work.  Different brand dongle may work.  A different version of Windows on the serial computer for programming the Serial5 may work.  A different terminal emulation program besides the one linked below may work (but the obvious choice, HyperTerminal, did not work).  What this documentation records is what I used and worked, and believe me, it took a month and a half and several different components and computers and many people helping to accomplish this, but at least be assured that if you are unsuccessful with the tools at your immediate disposal, the methods listed below will work.

You will need:

A Bluetooth equipped Windows 7 computer (I'm using a Dell Inspiron Mini 10.1" netbook).  If not built in, use Targus brand bluetooth dongle.  Others may work, but this one is proven.

 

Aircable Serial 5 or 5X bluetooth/serial rs232 adapter and null modem from http://www.aircable.net

 

A Windows XP computer with a DP9 serial port.  This does not have to be the computer that will drive the telescope, and is needed only for a few minutes to program the Serial5 adapter.

 

DC power supply. 10 mA average 4.55-15 V.  Tap off of your telescope's power supply or supply independant power on the order of 4-8 each AA, C, or D cell batteries wired in series (a battery box from Radio Shack works fine).  Rechargeable Nickel Metal Hydride batteries are recommended.  Attach an H size plug to fit in Serial5.  Note: 9V battery is insufficient amperage. 

UPDATE: I wired a DC-DC Converter Buck Step Down Voltage Module 4.75-24V to 0.93-18V 2.5A output into the telescope to provide power to the bluetooth, along with a low voltage meter to show the voltage (I originally used a blue led meter for bluetooth, but it was far too bright and I changed it out for a red one).  I used a medium size project box from Radio Shack.  Initially I powered it off of the 18V Dewalt that powers Sitech and the servo motors, but it causes too great a drain (without bluetooth the Dewalt battery lasts 7-8 hours, with it only 1 1/4 hours), so I now have it powered via cigarette lighter plug to the 12V battery that provides power to the dew heaters and mirror cooling system.  Plenty of amp hours there.

 

Below are images of the units I used (bought off eBay):

 

 

To install:

Download and install this software on the Windows XP computer with the serial port: WinSSD 

 

Plug in null modem to Windows XP computer's serial port.  Plug in Serial5 adapter to null modem.  Apply power to Serial5.  Launch WinSSD.  Select Com1, Open, under Settings, Baud 115200, DataBits 8, Parity None, Stop Bits 1 Flow Control Hardware.   Now select Terminal.  Type +++ and then Enter.  You won't see what you type, but you will see a response from the Serial5.  Type u and the value you need to enter is the baud rate divided by 100.  Sitech uses either 9600 or 19200.  I used 19200, so type 192 then enter.  Type l (lower case L) to review the settings.

 

Next, plug in the computer that will control the telescope (with all the Sitech software installed) to the controller.  Launch ServoConfig.  Click on Terminal.  Type SB2 enter.  This will program the controller to use 19200 baud rate.

 

Disconnect controller.  Set DIP switches on Serial5 to 19200 per label on back. Plug in Serial5 to controller and power it up.  On computer launch Bluetooth/Add Device (on Windows 7 click on the Bluetooth icon in the menu bar in the lower right).  Select the Aircable device, click Add.  Open Devices and Printers.  Double click on the icon for the AirSerial.  Click on hardware.  Note the COM port number.  Open Computer Management, click on Device Manager.  Click on Ports (COM & LPT).  You will see two com ports for Standard Serial over Bluetooth Link (COMX).  Make sure they are set to Bits per second 19200, data bits 8, Parity, None, Stop bits: 1, Flow Control: none.  If you don't like the port number of the one you noted from the Hardware properties in the step above, select Advanced and change it, but it shouldn't matter.

 

You're almost done.  Launch ServoConfig.  Set COM Port to the COM port you noted above.  The blue light will turn on the Serial adapter indicating it is connected, and ServoConfig should be happy.  Quit ServoConfig.  Launch Sitech.exe.  Click on Config.  Change Config.  Misc.  Set COM port.  You may have to scroll to the top to find the one you're using because it will be active.  Click save, and test the scope is controlling.

 

If you set the wrong COM port in ServoConfig, it will crash, and you'll have to open the servoconfig.cfg file and manually change the port number.  To find the file, use the little app. "Everything'.

 

Finally, on my computer, when I boot the computer and launch either ServoConfig or Sitech.exe, a bluetooth connection will not be established automatically unless I first unplug the bluetooth usb dongle and plug it back in again.  Note, this is only on boot.  If I quit Sitech and re-launch, it will establish a connection, but if the computer is off and I turn it on, first thing is to unplug the dongle and plug it back in again.

 

 

•Profile Information•

Application afterLoad: 0.001 seconds, 0.44 MB
Application afterInitialise: 0.021 seconds, 2.72 MB
Application afterRoute: 0.025 seconds, 3.35 MB
Application afterDispatch: 0.058 seconds, 7.00 MB
Application afterRender: 0.098 seconds, 9.64 MB

•Memory Usage•

10128616

•42 queries logged•

  1. SELECT *
      FROM jos_session
      WHERE session_id = 'at9sck47r1r6hfol6g8h483d64'
  2. DELETE
      FROM jos_session
      WHERE ( time < '1561036785' )
  3. SELECT *
      FROM jos_session
      WHERE session_id = 'at9sck47r1r6hfol6g8h483d64'
  4. INSERT INTO `jos_session` ( `session_id`,`time`,`username`,`gid`,`guest`,`client_id` )
      VALUES ( 'at9sck47r1r6hfol6g8h483d64','1561037685','','0','1','0' )
  5. SELECT *
      FROM jos_components
      WHERE parent = 0
  6. SELECT folder AS type, element AS name, params
      FROM jos_plugins
      WHERE published >= 1
      AND access <= 0
      ORDER BY ordering
  7. SELECT m.*, c.`option` AS component
      FROM jos_menu AS m
      LEFT JOIN jos_components AS c
      ON m.componentid = c.id
      WHERE m.published = 1
      ORDER BY m.sublevel, m.parent, m.ordering
  8. SELECT template
      FROM jos_templates_menu
      WHERE client_id = 0
      AND (menuid = 0 OR menuid = 88)
      ORDER BY menuid DESC
      LIMIT 0, 1
  9. SELECT a.*, u.name AS author, u.usertype, cc.title AS category, s.title AS section, CASE WHEN CHAR_LENGTH(a.alias) THEN CONCAT_WS(":", a.id, a.alias) ELSE a.id END AS slug, CASE WHEN CHAR_LENGTH(cc.alias) THEN CONCAT_WS(":", cc.id, cc.alias) ELSE cc.id END AS catslug, g.name AS groups, s.published AS sec_pub, cc.published AS cat_pub, s.access AS sec_access, cc.access AS cat_access 
      FROM jos_content AS a
      LEFT JOIN jos_categories AS cc
      ON cc.id = a.catid
      LEFT JOIN jos_sections AS s
      ON s.id = cc.section
      AND s.scope = "content"
      LEFT JOIN jos_users AS u
      ON u.id = a.created_by
      LEFT JOIN jos_groups AS g
      ON a.access = g.id
      WHERE a.id = 82
      AND (  ( a.created_by = 0 )    OR  ( a.state = 1
      AND ( a.publish_up = '0000-00-00 00:00:00' OR a.publish_up <= '2019-06-20 13:34:45' )
      AND ( a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2019-06-20 13:34:45' )   )    OR  ( a.state = -1 )  )
  10. UPDATE jos_content
      SET hits = ( hits + 1 )
      WHERE id='82'
  11. SELECT id, title, module, position, content, showtitle, control, params
      FROM jos_modules AS m
      LEFT JOIN jos_modules_menu AS mm
      ON mm.moduleid = m.id
      WHERE m.published = 1
      AND m.access <= 0
      AND m.client_id = 0
      AND ( mm.menuid = 88 OR mm.menuid = 0 )
      ORDER BY position, ordering
  12. SELECT value
      FROM jos_joomlawatch_config
      WHERE name = 'JOOMLAWATCH_LANGUAGE'
      LIMIT 1
  13. SELECT value
      FROM jos_joomlawatch_config
      WHERE name = 'JOOMLAWATCH_LIVE_SITE'
      LIMIT 1
  14. SELECT value
      FROM jos_joomlawatch_config
      WHERE name = 'JOOMLAWATCH_SERVER_URI_KEY'
      LIMIT 1
  15. SELECT value
      FROM jos_joomlawatch_config
      WHERE name='JOOMLAWATCH_IGNORE_IP'
      LIMIT 1
  16. SELECT value
      FROM jos_joomlawatch_config
      WHERE name='JOOMLAWATCH_IGNORE_URI'
      LIMIT 1
  17. SELECT id AS maxid
      FROM jos_joomlawatch
      WHERE browser IS NOT NULL
      ORDER BY id DESC
      LIMIT 1
  18. SELECT value
      FROM jos_joomlawatch_config
      WHERE name = 'JOOMLAWATCH_MAXID_VISITORS'
      LIMIT 1
  19. SELECT ifnull(max(id),0) AS maxFk
      FROM jos_joomlawatch_history
      WHERE browser IS NOT NULL
  20. INSERT IGNORE INTO jos_joomlawatch_history SELECT *
      FROM jos_joomlawatch
      WHERE id > 64311
  21. INSERT IGNORE INTO jos_joomlawatch_uri_history SELECT *
      FROM jos_joomlawatch_uri
      WHERE fk > 64311
  22. SELECT count(ip) AS count
      FROM jos_joomlawatch_blocked
      WHERE ip = '54.209.227.199'
      LIMIT 1
  23. SELECT count(ip) AS count
      FROM jos_joomlawatch_blocked
      WHERE ip LIKE '54.209.227.*%'
      LIMIT 1
  24. SELECT count(ip) AS count
      FROM jos_joomlawatch_blocked
      WHERE ip LIKE '54.209.*%'
      LIMIT 1
  25. SELECT count(ip) AS count
      FROM jos_joomlawatch_blocked
      WHERE ip LIKE '54.*%'
      LIMIT 1
  26. SELECT id, username
      FROM jos_joomlawatch
      WHERE ip = '54.209.227.199'
      LIMIT 1
  27. UPDATE jos_joomlawatch_uri2title
      SET count = count+1, timestamp = '1561037685'
      WHERE (`uri` = '/bluetooth.html')
  28. SELECT id
      FROM jos_joomlawatch_uri2title
      WHERE (`uri` = '/bluetooth.html')
      LIMIT 1
  29. INSERT INTO jos_joomlawatch_uri (id, fk, timestamp, uri, title)
      VALUES ('', '64366', '1561037685', '/bluetooth.html', 'Installing Bluetooth')
  30. SELECT value
      FROM jos_joomlawatch_config
      WHERE name = 'JOOMLAWATCH_IP_STATS'
      LIMIT 1
  31. SELECT count(id) AS count
      FROM jos_joomlawatch_info
      WHERE (`group` = '4'
      AND name = '4'
      AND date = '18067')
  32. UPDATE jos_joomlawatch_info
      SET value = value+1
      WHERE (`group` = '4'
      AND name = '4'
      AND date = '18067')
  33. SELECT *
      FROM jos_joomlawatch_goals
  34. SELECT value
      FROM jos_joomlawatch_config
      WHERE name = 'JOOMLAWATCH_LIVE_SITE'
      LIMIT 1
  35. SELECT value
      FROM jos_joomlawatch_config
      WHERE name = 'JOOMLAWATCH_ADFREE'
      LIMIT 1
  36. SELECT value
      FROM jos_joomlawatch_config
      WHERE name = 'JOOMLAWATCH_LIVE_SITE'
      LIMIT 1
  37. SELECT value
      FROM jos_joomlawatch_config
      WHERE name = 'JOOMLAWATCH_ADFREE'
      LIMIT 1
  38. SELECT value
      FROM jos_joomlawatch_config
      WHERE name = 'JOOMLAWATCH_LIVE_SITE'
      LIMIT 1
  39. SELECT value
      FROM jos_joomlawatch_config
      WHERE name = 'JOOMLAWATCH_ADFREE'
      LIMIT 1
  40. SELECT value
      FROM jos_joomlawatch_config
      WHERE name = 'JOOMLAWATCH_LIVE_SITE'
      LIMIT 1
  41. SELECT value
      FROM jos_joomlawatch_config
      WHERE name = 'JOOMLAWATCH_LIVE_SITE'
      LIMIT 1
  42. SELECT value
      FROM jos_joomlawatch_config
      WHERE name = 'JOOMLAWATCH_ADFREE'
      LIMIT 1

•Language Files Loaded•

•Untranslated Strings Diagnostic•

•None•

•Untranslated Strings Designer•

•None•