Society of Robots - Robot Forum

Software => Software => Topic started by: klims on August 29, 2009, 01:17:15 AM

Title: Bluetooth Tutorial - questions
Post by: klims on August 29, 2009, 01:17:15 AM
Hey guys,

I recently bought a BlueSmirf for my Axon and am having some trouble setting it up.
I followed the video tutorial but I have a few questions that were not answered.

1. what software are you using on the PC end to connect to the BlueSmirf? Maybe Bluesoleil?
2. how does connecting through Hyperterminal make a connection to the BlueSmirf? does something need to be configured?

What I have tried is to connect to the BlueSmirf using Bluesoleil, then connect through Hyperterminal.
This lets me receive (not send) data from the Axon but it seems to be gibberish, albeit consistent gibberish
I have checked all the connections and wiring so its unlikely that is the cause of any of my issues.

The tutorial made it seem so easy! I must be overlooking something... any suggestions?


EDIT:
I have the BlueSmirf connected to UART0
I am powering the device off the 5v regulated bus on the Axon.
I do not have CTS and RTS jumpered
Title: Re: Bluetooth Tutorial - questions
Post by: Truckstop on August 29, 2009, 04:13:18 AM
check the baud rate. no i don't have any experience with the blue smurf but its a good place to start.

Truckstop
Title: Re: Bluetooth Tutorial - questions
Post by: kpmcgurk on August 29, 2009, 06:47:38 AM
I think this is what you are asking!!

You will need to make sure that either your computer has Bluetooth integrated or you have a Bluetooth usb key.

-How to connect to it: you connect to the Bluetooth on your robot the same way that you would with any Bluetooth device, such as your mouse.

-Once you have connected Via Bluetooth your "receive" should be given a com port on your computer, then when you connect to it through hyperterminal you choose that com port, and everything should work out just fine!!!!

REMEMBER THE ROBOT AND BLUESMIRF NEEDS TO BE POWERED DURING ALL OF THIS...
Title: Re: Bluetooth Tutorial - questions
Post by: klims on August 29, 2009, 08:55:57 AM
Yeah this all makes sense. I have tried it all :/

I am definitely connecting correctly to the BlueSmirf using Bluesoleil (I checked a few tutorials)

No matter what baud rate I configure on the axon I get the same gibberish output. This makes me think something fishy is going on with the baud rates.

Any other suggestions guys?  
Title: Re: Bluetooth Tutorial - questions
Post by: klims on August 30, 2009, 06:58:33 AM
Turns out all I needed to to was enter the command mode on the BlueSmirf and bring down the baudrate to be 38400... For whatever reason it didn't work at factory preset 115200

thanks for the input guys
Title: Re: Bluetooth Tutorial - questions
Post by: Truckstop on August 30, 2009, 04:36:33 PM
Any time.  ;D
Title: Re: Bluetooth Tutorial - questions
Post by: Klinger on October 10, 2009, 08:22:40 AM
What command code did you enter?
Title: Re: Bluetooth Tutorial - questions
Post by: klims on October 10, 2009, 11:03:59 PM
Can't remember exactly. You'll need to read through the BlueSmirf user manual to find out. I think I remember something about $ sign though...
Title: Re: Bluetooth Tutorial - questions
Post by: radhoo on October 11, 2009, 12:57:50 AM
An alternative is using chinese UART Bluetooth modules you can get on ebay.

Setting up the components is easy:
http://www.pocketmagic.net/?p=869 (http://www.pocketmagic.net/?p=869)

I've tested the bluetooth connection using Hyperterminal, but once I start coding the robot brain it will be done directly from the smartphone.

EDIT: my baud rate is currently 9600bps.