CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Help with BlueTooth?

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
arrow



Joined: 17 May 2005
Posts: 213

View user's profile Send private message

Help with BlueTooth?
PostPosted: Tue May 02, 2006 3:23 am     Reply with quote

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

View user's profile Send private message Send e-mail

PostPosted: Tue May 02, 2006 4:21 am     Reply with quote

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? Wink


Last edited by Storic on Tue May 02, 2006 4:24 am; edited 1 time in total
Victor



Joined: 27 Oct 2003
Posts: 12

View user's profile Send private message

PostPosted: Tue May 02, 2006 4:23 am     Reply with quote

Make sure you use at least 9600bps on the BT module.
pierrot
Guest







configuration
PostPosted: Tue May 02, 2006 4:23 am     Reply with quote

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

View user's profile Send private message

PostPosted: Tue May 02, 2006 4:34 am     Reply with quote

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

View user's profile Send private message

PostPosted: Tue May 02, 2006 5:52 am     Reply with quote

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

View user's profile Send private message

PostPosted: Tue May 02, 2006 5:53 am     Reply with quote

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

View user's profile Send private message Send e-mail

PostPosted: Tue May 02, 2006 5:56 am     Reply with quote

have you gone through the tutorial http://www.sparkfun.com/commerce/present.php?p=BlueTooth%20Tutorial

ANdrew
_________________
What has been learnt if you make the same mistake? Wink
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group