Loading...
Pages: [1]   Go Down
Author Topic: bluetooth communication between two arduinos using two BlueSMiRF silver modules?  (Read 754 times)
0 Members and 1 Guest are viewing this topic.
Vicenza, Italy
Offline Offline
God Member
*****
Karma: 4
Posts: 836
ƎR like no other.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

i have two BlueSMiRF silver modules and i should get a bluetooth communication between my 2 arduinos, for example an arduino send a message to the other using bluetooth and after this one send a message to the other one. ok do you understand my project? (maybe my english is not perfect, sorry i'm italian)
i know that i should use TX and RX and the serial communication to control them using an arduino, but now my problem is that i can't understand what i have to do to set a module as master and the other one as slave  smiley-confuse
and how can i associate these modules together? smiley-confuse
is there anyone that have already done something similar?
help me please smiley-cry
thanks in advance!
Logged

Riccardo Ertolupi of the "Vicenza Thunders" Robotics Team
ƎR like no other.

Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Looks like someone figured this out: http://phillipecantin.blogspot.com/2012/01/arduino-bluetooth-link.html

If you look at the example code for the master, it appears that you need to specify the MAC address of the slave with the "C" command.

I think the default mode is slave, so only the master would need to be told which mode to use, but I am not sure about that.  Hope that helps!
Logged

Vicenza, Italy
Offline Offline
God Member
*****
Karma: 4
Posts: 836
ƎR like no other.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

oh, thanks but i've already solved that problem smiley it was pretty difficult at the beginning but it's actually easy to do! i just watched their datasheet smiley-wink
http://www.sparkfun.com/datasheets/Wireless/Bluetooth/rn-bluetooth-um.pdf
but if someone has the same problem, he can ask me anything, no problem, you are welcome!
Logged

Riccardo Ertolupi of the "Vicenza Thunders" Robotics Team
ƎR like no other.

Pages: [1]   Go Up
Print
 
Jump to: