Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

ATmega128 conntion to Bluetooth, General informations needed

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    www.mcselec.com Forum Index -> BASCOM-AVR Archive
View previous topic :: View next topic  
Author Message
Benny81

Bascom Member



Joined: 31 Dec 2010
Posts: 7

germany.gif
PostPosted: Thu May 19, 2011 7:47 am    Post subject: ATmega128 conntion to Bluetooth, General informations needed Reply with quote

Good morning Everyone,

I am new in this Forum, so hopefully someone is aible to help.

My idea is to connect the "Roving Networks RN41" Bluetooth module with a ATmega128 controller. I will need that Bluetooth connection for diffrent applications. But I don't have the understanding for the basics... Embarassed

Is someone in this forum who can describe the basics? How important is it to have the "service class" or "device class"? What will the Bluetooth controller do if this both classes will be defined? I read somethings about "services". What will this services do?
What will be needed if I like to connect one other Bluetooth device? What will the receiver do?

If someone will have a short desription that will be very helpful for me...

Thanks a lot!!!!

Benjamin
Back to top
View user's profile
six1

Bascom Expert



Joined: 27 Feb 2009
Posts: 553

germany.gif
PostPosted: Thu May 19, 2011 2:50 pm    Post subject: Reply with quote

Hi Benny,
you can search for BT-222 Modul. There are a few projects in Bascom!

also have a look at Ben's Hobbycorner site!

http://members.home.nl/bzijlstra/software/examples/9DOF.htm

in the German Bascom Board http://bascomforum.de/ is stuff too, but today and maybe tomorrow closed, because of moving Very Happy

cy Michael

_________________
For technical reasons, the signature is on the back of this message.


Last edited by six1 on Thu May 19, 2011 3:22 pm; edited 1 time in total
Back to top
View user's profile
MAK3

Bascom Member



Joined: 24 Sep 2010
Posts: 449
Location: Germany

germany.gif
PostPosted: Thu May 19, 2011 3:13 pm    Post subject: Reply with quote

Hello,

here is also a BT-222 documentation:
(you see it only when logged in)
http://www.mcselec.com/index2.php?option=com_forum&Itemid=59&page=download&id=1657

MAK3
Back to top
View user's profile
JC

Bascom Member



Joined: 15 Dec 2007
Posts: 627
Location: Cleveland, OH

usa.gif
PostPosted: Thu May 19, 2011 3:54 pm    Post subject: Reply with quote

Hi Benny,

This Circuit Cellar Article discusses connecting a BT GPS to a BT module tied to a microcontroller. While not Bascom, and not an AVR, it does explain several of the basic concepts.

JC
Back to top
View user's profile Visit poster's website
Benny81

Bascom Member



Joined: 31 Dec 2010
Posts: 7

germany.gif
PostPosted: Thu May 19, 2011 7:15 pm    Post subject: Reply with quote

Thanks for your first answers. I will check that Links. But I hope someone can give more informations!? Thanks a lot!

Regards
Benjamin
Back to top
View user's profile
Benny81

Bascom Member



Joined: 31 Dec 2010
Posts: 7

germany.gif
PostPosted: Fri May 20, 2011 11:15 am    Post subject: Reply with quote

Hello,

so now I have understand that I have to program the BT device by ASCII commands. After programming I will leave the command mode and can send the infomations via Bluetooth.

But I will send the informations to a selected MAC adress. The MAC adress should be called by a menue. So during the communication I'd like to change the adress. How should I do that. Do I have to reset the module and should I change into the command mode?

What do you think?

Thanks a lot!!
Back to top
View user's profile
Benny81

Bascom Member



Joined: 31 Dec 2010
Posts: 7

germany.gif
PostPosted: Fri May 20, 2011 12:35 pm    Post subject: Reply with quote

Is someone in this forum who can tell, how important it should be to use the rigth service- and device- classes? Embarassed

Rolling Eyes

It is realy confusing to find the service-class and device-class for that application.

Thanks a lot.
Back to top
View user's profile
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    www.mcselec.com Forum Index -> BASCOM-AVR Archive All times are GMT + 1 Hour
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
You cannot attach files in this forum
You cannot download files in this forum