Step 3: Make BlueSMiRF connections

The Wireless ARMmite  can be connected to SparkFun's BlueSMiRF moduleWhen using the BlueSMiRF, the power from the wall adapter is applied directly to the BlueSMiRF and it must be limited to 6V or less.   We recommend using a regulated 5V supply such as carried by SparkFun .

The connection can be made with a right angle 0.1" receptacle or by soldering the 2 boards together directly.  The pin diagram is shown below-

Shown below is one orientation with the BlueSMiRF mounted below the ARMmite-

And this orientation is also proper-

PC side connection

The other end of the Bluetooth wireless connection can use a Bluetooth USB dongle .  Follow directions supplied with that unit for installation on the PC.  Do not try to install more than 1 Bluetooth USB dongle on a PC, as the drivers will probably conflict.  Also the Bluetooth software will assign a number of serial ports of which 2 may be used to emulate a serial connection that can be used with the BASICtools. 

WIDCOMM tools

After you install the tools (the latest from SparkFun are the WIDCOMM utilities), you will see a BlueTooth icon on the desktop.  When connecting for the first time open this to "pair" the PC to the BlueSmiRF--

The Bluetooth security code for the SparkFun BlueSmiRF is "default".  In some versions of the BlueSmiRF this pairing must occur within 60 seconds of the BlueSmiRF powering on.  So it may be necessary to cycle power before the pairing.  The symptom for not pairing is that no services will be available for the BlueSmiRF.

Now paired, if you double click on the SparkFun-BT it should display

At this point you should be able to connect the serial port by double clicking or right clicking on this icon.  If the connection is made, the flashing green LED will go off on the BlueSmiRF and its red LED should be continously on.  The icon should now show-

Now you know where the com port has been located, as COM6 in the above example.

You can now start the BASICtools and use COM6.  Warning, the drivers will often at this point get confused, and you may not be able to make the connection, but at least at this point everything is configured correctly.  One indication is that the red LED on the BlueSmiRF will go off, and it will return to flashing green.  The best course is to reboot Windows at this point, start BASICtools, set the com port and baud rate and then make the Bluetooth connection.

Setting the Baud rate

The default baud rate for the BlueSMiRF is 9600 baud.  Once communication is established it can be changed to 19.2Kb or it can be left at 9600.  To run the ARMmite at 9600 baud, install a jumper on the 9600 BAUD location.

The command to change the baud rate is done with an AT command, specifically ATSW20,79,0,0,1<cr>  which can be done with a short BASIC program

version 7

        PRINT "ATSW20,79,0,0,1"

version 6

         SEROUT 16,9600,["ATSW20,79,0,0,1",13]

To return to 9600 baud

        PRINT "ATSW20,39,0,0,1"


BlueSoleil connection

In IVT's BlueSoleil, this is not a trivial excercise.  And it seems to be a bit hit or miss.  The listing of ports in the Control panel also seems a bit arbitrary and the services option of BlueSoleil seems to misreport which COM port will be assigned.  But once a connection is made on the proper port, it does seem to stay there through reboot.

To connect the serial port, you may need to Refresh Devices, Refresh Services, then Connect.  When all is working well you can identify the port being used in the Status window-

At this point BASICtools will work normally, (make sure you check the Wireless option, and note that the serial port will not be one identified as a USB serial - in capital letters)-

Also if you disconnect the service in the BlueSoleil utility, you will need to exit the program, restart it, refresh devices, refresh services and then connect.



On to Step 2