I know this is an old thread, sorry I'm so late to the game.
I won't bother commenting on how pointless and unhelpful the above conversation was, other than to say that I found this thread while searching for advice on how to do the same thing as Mendesrr. How disappointing that this was how a request for guidance was received. Sigh. For the benefit of future Google searchers, here is how you interface with a BlueSmirf, (sort of) without Arduino:
- TrendNet TBW-106UB bluetooth dongle (Trendnet)
- BlueSmirf Gold (BlueSmirf Gold)
- OpenSegment Serial LED Seven Segment display (OpenSegment) [could be any serial device]
- Power source (such as this thing)
- Laptop running windows 10 with Arduino IDE installed (ver. 1.6.8 ), and the BlueSoleil package (included with the Trendnet dongle) or just figure it out with Windows.
How to communicate between devices:
The Trendnet dongle comes with a "BlueSoleil Space" software package. This helps to interface the dongle with the computer. It is probably not needed, and you could do this through windows. I will describe these steps with BlueSoleil instead of Windows' interface since it's how I did it. (When I was first trying to figure this out, I did connect directly to an XP laptop without BlueSoleil.) Plug in your dongle and make sure it works with your computer. You could setup a connection to a bluetooth speaker or phone to test it out.
Solder wires to Vcc, GND, Rx and Tx on the BlueSmirf. Connect Rx and Tx together temporarily. Connect Vss to 5v and Gnd to GND. I use an Adafruit PowerBoost 1000 Charger and a Lipo to power my setup via battery or USB (not required, could be any power source). The Red LED on the BlueSmirf should blink twice a second.
Note: Sparkfun/Roving Networks says the BlueSmirf is only in Config mode for 60 seconds on startup. I did not find this to be the case, and found I could enter command mode at any time.
Find the BlueSmirf in the BlueSoleil software and pair to it. Then, using the "Serial" icon along the top (third from left in my version), connect to the bluetooth serial port (first you pair with it, then you connect to its serial port). In my case it says this is COM5. Your BlueSmirf should show a green LED when connected.
Open Arduino IDE. Go to Tools/ and select the same port as the bluetooth serial port (in my case, again, COM5). Then open the Serial Monitor.
Set the Baud to 115200 (the default of the BlueSmirf), and the line ending type (next to baud) to "no line ending".
Type "$$$" (all commands are entered with no quotes) into the command line and press enter. The red LED on the BlueSmirf will start to blink fast, indicating it is in command mode now.
From command mode you change settings of the BlueSmirf using commands from the manual sparkfun provides. Make sure to change line ending type back to "newline" before entering commands. You can enter a "D" to see a list of the current settings. Type "E" to see even more.
From here, I set baud to 9600 with the command "SU, 96", because my display operates best at 9600. The BlueSmirf will print "AOK" when a setting has been changed. Other settings allow you to change the name of your device ("SN, MYDEVICE"), restore to factory defaults ("SF, 1"), etc., among other things. If you change the baud, you will need to reconnect in Arduino in the new baud after power is cycled (commands take effect after power cycling). If you mess things up and can't reconnect, there is a way to hard reset the BlueSmirf tying certain pins to ground. Its discussed in the manual. (Manual)
Note: Setting the config timer to zero ("ST, 0") actually makes it so you can't enter command mode. Sparkfun implies in their writeup that "ST, 0" makes it so that there is no timer and you can enter command mode at any time ("Another handy command, if you’re lazy like me, is ST,0, which turns the config timer off"). This is not true. You will be locked out of config mode and need to do a hard reset to factory defaults if you do this (i did this). What you really want is "ST, 255" for continuous config mode. (Sparkfun writeup)
- When you're done with settings, power everything off. Disconnect Rx and Tx from each other and plug Tx into your display. Turn everything back on, and connect back up to the BlueSmirf using BlueSoleil or Windows (or OSX). Once a connection is established, back in the Arduino IDE, you should be able to type commands for your display directly into the command line for the display to process. For example, my display (the Sparkfun OpenSegment LED Seven Segment display) requires the line ending type to be set to "no line ending" (because it looks for line ending characters when it parses instructions). For example, to clear my screen, I type "v" and hit enter, and to print a 1, I type "1" and press enter, etc.
That should give future searchers some help in the right direction. In the end what I actually wanted to do is send commands from an Arduino (hey look an Arduino-specific application!!) to a stand-alone LED sign over the BlueSmirf. Actually I wanted to do it while also using the same bluetooth dongle to interface with a PS3 handheld controller. It took a while, but I finally figured it out.
I used an Arduino Mega 2560 with a USB Host Shield 2.0 from Circuits@home (Here), the same bluetooth dongle, BlueSmirf, and display. By plugging the Bluetooth dongle into the USB host shield, the Arduino could communicate over bluetooth. At first I couldn't get the Arduino to find the BlueSmirf and connect.
After a lot of trial and error, I found that by putting the BlueSmirf in pair mode ("SM, 6"), setting authentication to open mode ("SA, 0"), and by setting the remote bluetooth address to that of the dongle ("SR, bluetooth hex address"), I could force the BlueSmirf to look for and connect to the USB Host Shield on startup instead of the other way around. This allowed a connection to be established and everything to just work. I used the bluetooth/SPP example from the host shield library to get started, but it's really easy to integrate into other Arduino sketches (the host shield library even has an SPPMulti example for combining different bluetooth devices. You basically just set up a serial connection to your display as you would any other serial connection and let the BlueSmirf do the connecting by itself.
Here are my BlueSmirf settings for making everything work with the USB Host Shield (obtained by pressing "D" and then "E" in the serial terminal during command mode):
Rem=001583E4345A (!!the address of your own dongle here!!)
Anyway, I hope this rambling post helps someone stumbling around the internet searching this issue.
P.S. I suggest the name of this thread be changed to "Computer -> Bluetooth USB ... (wireless) ... BlueSMiRF Silver -> Serial LCD" for clarity since none of this thread deals with Adobe Flash.