Society of Robots - Robot Forum

Software => Software => Topic started by: gaurav.p on August 03, 2009, 03:59:15 AM

Title: communication between two robots
Post by: gaurav.p on August 03, 2009, 03:59:15 AM
how can i implement this function where one robot instructs the other partner to start.
the implementation should be easy( i hope :P).

-gaurav
Title: Re: communication between two robots
Post by: SmAsH on August 03, 2009, 04:15:38 AM
how far are they?
Title: Re: communication between two robots
Post by: Tomas on August 03, 2009, 04:20:10 AM
bluetooth should be simple enough.
Title: Re: communication between two robots
Post by: SmAsH on August 03, 2009, 04:20:47 AM
but expensive! use ir dude :P for short distances of coarse...
Title: Re: communication between two robots
Post by: gaurav.p on August 03, 2009, 06:46:37 AM
the area of communication is small indeed (80*80cm).i wish i could communicate using bluetooth but they r expensive .how to communicate using Ir
,can u give me  idea or a sort of tutorial .

thanx in advance,

-gaurav
Title: Re: communication between two robots
Post by: wil.hamilton on August 03, 2009, 08:24:24 AM
you could always use wifi, you can buy transmitters/recievers for 4USD each at sparkfun.com
or use something like the xbee
Title: Re: communication between two robots
Post by: Razor Concepts on August 03, 2009, 09:07:26 AM
Multiple RF transmitters from sparkfun will interfere with each other, so you could only have a max of two in the same vicitnity (the two different frequencies).

IR would be the cheapest way.
Title: Re: communication between two robots
Post by: gaurav.p on August 03, 2009, 09:30:33 AM
the problem is how can i use a ir receiver and transmitter to activate the power of the second robot.

-gaurav

PS-how to make two robots cooperate with each other using any sort of communication without any interference of the user any anything else(any medium of communication)????
Title: Re: communication between two robots
Post by: wil.hamilton on August 03, 2009, 10:39:31 AM
you would have to have the robot in a "low power" mode where you can jsut monitor the ir or whatever medium of communication
Title: Re: communication between two robots
Post by: Razor Concepts on August 03, 2009, 11:21:36 AM
Magnet on one robot and a reed switch on the other... after the other robot turns on, it retains power to itself with a mosfet? Kind of inefficient though  :)
Title: Re: communication between two robots
Post by: SmAsH on August 03, 2009, 03:34:24 PM
i would second the low power option... although this would still draw power...
you would have another small mcu (8pin dip) that moniters the ir receiver and sets a transistor closed which controls the power supply?
Title: Re: communication between two robots
Post by: wil.hamilton on August 03, 2009, 06:47:08 PM
i would use  a normally closed mosfet, so it doesnt draw power to keep the rest of the robot "off"

you have a small mcu running off your main power supply monitoring your reciever, then when it recieves a turn on notice, it puts power to the mosfet, opening it, turning the main bot on,  it could also then be used to turn the bot off

should be rather simple, (i might have to build something like that someday, lol)
Title: Re: communication between two robots
Post by: sonictj on August 03, 2009, 07:38:16 PM
I had a friend that created a swarm of robots that communicated over xbee.  They taught eachother to tango lol.

here is the vid

[youtube]IHTA5ldU5sY[/youtube]
Title: Re: communication between two robots
Post by: gaurav.p on August 03, 2009, 11:34:15 PM
gr8 video sonic and i hope(sure) wi,l u would make this bot one day.i m unknown about mosfet so presently i m studying that then i will approach if i have any doubt.ya can i use xbee modules to communicate between each other what is the procedure or any tutorial (i hear xbee is a very large platform so i can easily take help in it and it is often used in many projects).

-gaurav