Author Topic: regarding communication between two mobile robots  (Read 2423 times)

0 Members and 1 Guest are viewing this topic.

Offline vinodhkumarvkTopic starter

  • Beginner
  • *
  • Posts: 4
  • Helpful? 0
regarding communication between two mobile robots
« on: February 24, 2011, 07:09:09 AM »
Dear Sir,

I am newbie to robotics field and i need to develop a communication between two mobile robots. by means  of Bluetooth.

both the WMR's have Bluetooth embedded on them...

so i need any algorithms or any tutorials regarding the programming of two robots.

I am working under C language (Linux platform)

please do help me regarding this issue

Offline rbtying

  • Supreme Robot
  • *****
  • Posts: 452
  • Helpful? 31
Re: regarding communication between two mobile robots
« Reply #1 on: February 24, 2011, 10:35:44 AM »
Use the Bluetooth SPP (Serial Port Protocol), or be somewhat more intelligent and just use ad-hoc wifi, since you're apparently running on a system that can run linux.

Offline vinodhkumarvkTopic starter

  • Beginner
  • *
  • Posts: 4
  • Helpful? 0
Re: regarding communication between two mobile robots
« Reply #2 on: February 25, 2011, 08:24:31 AM »
Dear Sir,

does RFCOMMM refer to --->bluetooth serial port protocol

the bots are  not having any wifi modules embedded?? so how can i connect it in ad-hoc network....


Offline rbtying

  • Supreme Robot
  • *****
  • Posts: 452
  • Helpful? 31
Re: regarding communication between two mobile robots
« Reply #3 on: February 25, 2011, 11:45:48 AM »
rfcomm is the SPP, yes.  If you've got embedded linux running, you can probably afford to put in a USB wifi dongle.  Then your life is much easier - the protocols are all defined already, and you don't have to worry about low-level communications. 

If you must use bluetooth, be aware that it's not the easiest thing to configure - your best bet is to open an rfcomm tunnel between the two bots and pretend it's a serial port.

Offline vinodhkumarvkTopic starter

  • Beginner
  • *
  • Posts: 4
  • Helpful? 0
Re: regarding communication between two mobile robots
« Reply #4 on: February 26, 2011, 07:21:58 AM »
thank u very much sir.....

Yes I have to do it in bluetooth....

im refering this book so that i can get an idea on the bluetooth rfcomm programming.

Bluetooth essentials for programmers By Albert S. Huang, Larry Rudolph

will it be enough?????? and i have very less time to develop my code :(

Offline rbtying

  • Supreme Robot
  • *****
  • Posts: 452
  • Helpful? 31
Re: regarding communication between two mobile robots
« Reply #5 on: February 26, 2011, 02:57:04 PM »
Bluetooth to bluetooth rfcomm can be done by switching one of the modules to master mode, and creating a connection between the two.  Then, treat the resulting /dev/rfcomm* port as a serial port, which is much easier to deal with.  The book you list seems to be good, but I don't have any personal experience with it and thus cannot make a recommendation. 

Offline vinodhkumarvkTopic starter

  • Beginner
  • *
  • Posts: 4
  • Helpful? 0
Re: regarding communication between two mobile robots
« Reply #6 on: February 27, 2011, 08:41:39 AM »
Yes sir, i want to make one robot as master and other as slave...( by means of RFCOMM )

And i want to transfer the data to slave from master....

oh ..kk.....and if u do find information regarding this query please do reply me ..

thank u very much !!!