View previous topic :: View next topic |
Author |
Message |
arrow
Joined: 17 May 2005 Posts: 213
|
Help with BlueTooth? |
Posted: Tue May 02, 2006 3:23 am |
|
|
Hi
I have just baught a Bluetooth module from SparkFun:
The BlueDongle: http://www.sparkfun.com/commerce/product_info.php?products_id=642and
The BlueSMiRF
http://www.sparkfun.com/commerce/product_info.php?products_id=158
I have connected the BlueDongle to the PC and am using Hyperterminal to communicate with it. Upon sending "AT" to the device it returns OK
So I am assuming that it works fine.
I am interfacing the BlueSMiRF with a PIC (16F873) and am using printf
in PICC to send data to the device. This is where the trouble starts.
I do not get any transmission (ie I see nothing on the Hyperterminal screen); I dont even know if I am getting anything sent.
Can someone please help me to get started on solving this problem?
Thank you in advance
a. |
|
|
Storic
Joined: 03 Dec 2005 Posts: 182 Location: Australia SA
|
|
Posted: Tue May 02, 2006 4:21 am |
|
|
Try looking at http://www.national.com/search/search.cgi/main?keywords=blue%20tooth
http://www.national.com/appinfo/wireless/0,1822,891,00.html#private
I have the dev kit from there and works OK. ( Using LMX9830 Bluetooth 2.0 Certified Simply Blue Serial Port Micro-module Serial Port Protocol (SPP) to Antenna )
I use USB blue tooth on my computer and link to my serial Bluetooth (simular as shown on your post) to an RS232 on my computer. I can open 2 x hyperterminal one to Com1 (RS232) and Com4(USB serial) operation at 115200 baud, I can type on one hyperterminal and see on the other and vice verser.
I can plug the serial BT to my PIC TX/RX via uart chip and I can send text from my Micro to the hyperterminal PC (using any nowmal RX/TX sample code as supplied with your compiler)
Andrew _________________ What has been learnt if you make the same mistake?
Last edited by Storic on Tue May 02, 2006 4:24 am; edited 1 time in total |
|
|
Victor
Joined: 27 Oct 2003 Posts: 12
|
|
Posted: Tue May 02, 2006 4:23 am |
|
|
Make sure you use at least 9600bps on the BT module. |
|
|
pierrot Guest
|
configuration |
Posted: Tue May 02, 2006 4:23 am |
|
|
I think you need to configure the BlueSMiRF first. (baud rate...)
This can be done from the PC with the dongle and hyperterminal (+++ and then at commands)
Look at the manual http://www.sparkfun.com/datasheets/RF/BlueSMiRF_v1.pdf
Good luck. |
|
|
arrow
Joined: 17 May 2005 Posts: 213
|
|
Posted: Tue May 02, 2006 4:34 am |
|
|
Hi
Thank you for your replies.
When I put in +++ it does nothing.
After fiddling with the AT commands, I am not even sure that the BlueDongle is connected.
Can someone please tell me how to test that the BlueDongle (my receiver station) is working?
Thank you
a. |
|
|
arrow
Joined: 17 May 2005 Posts: 213
|
|
Posted: Tue May 02, 2006 5:52 am |
|
|
Hi
I have just checked and now it appears that the BlueDongle was not being picked up (the AT previously was being sent to the modem COM3 port on the laptop, and not the BlueDongle!).
Can someone please help me with figuring out the BlueDongle connection?
Thank you
a. |
|
|
arrow
Joined: 17 May 2005 Posts: 213
|
|
Posted: Tue May 02, 2006 5:53 am |
|
|
Hi
I have just checked and now it appears that the BlueDongle was not being picked up (the AT previously was being sent to the modem COM3 port on the laptop, and not the BlueDongle!).
Can someone please help me with figuring out the BlueDongle connection?
Thank you
a. |
|
|
Storic
Joined: 03 Dec 2005 Posts: 182 Location: Australia SA
|
|
|
|