|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Robot to robot communication
I have been looking at things on the internet and have been really interested in how to, or atleat a theory behind how to do robot to robot communication for robots to work together in a "hive" of 2 or more robots.
For a first simple project I would like to make one robot follow one another. BTW if it helps I am working with a BASIC stamp Last edited by John Gutmann : 04-12-2005 at 21:38. |
|
#2
|
|||||
|
|||||
|
Re: Robot to robot communication
Quote:
I'm not familiar with your exact chip, but if it has RS232 you can use that to talk to the other chips. It'd be a lot cheaper to have a tether, but there are wireless RS232 adapters that would work the same way. |
|
#3
|
||||
|
||||
|
Re: Robot to robot communication
I am not soley trying to make 2 robots follow each other, Like i said i am trying eventually make robots communicate so they can work in a "hive"
Making 2 robots follow eahc other si the first step, because how would they work together if they cannot follow each other. |
|
#4
|
|||
|
|||
|
Re: Robot to robot communication
the IR trans/recieve of the lego mindstorms rcx brick is quite easy to use..
and another idea would use servos and rc controllers. cimply put, both robots hold a controller. they manipulate it and the rc reciever turns those signals into motion of servos. then sensors read the movement of the servos. (Variable angles.... so pots? maybe?) and well the more channels the radio equipment, the more info each robot can send and recieve at once... so well.. kinda like a 2 way radio... using readily available items.. ($10 shipped for a simple 2 channel AM radio transmitter+reciever+crystals off ebay.) |
|
#5
|
|||
|
|||
|
Re: Robot to robot communication
I hate to disagree with you on the Lego mindstorms, an independent study in my group was programming with those and had a really hard time with loading the code on an apple mac.
Either way, I find your idea on the robots moving each others controls kinda cool. But here is another suggestion, what if you set both robots to have the same team number but then only one OI. Unless there is something in the OI that checks how many robots are connected to it it should be fine (although there may be conflict) from there on you can move both robots at the same time and turn autonomous mode on. That leads me to my next idea, you could have the main robot painted green and then use last years CMU camera to have it follow, that would be cool. |
|
#6
|
||||
|
||||
|
Re: Robot to robot communication
Quote:
Quote:
so the radio is just there to give signals notreally to actually control the other robot... which is a cool idea but will give me headaches just thinking about it.. Quote:
Quote:
|
|
#7
|
|||||
|
|||||
|
Re: Robot to robot communication
you could also use an analog in/ out system, its much simpler but i do not know what the BASIC stamps can do, i have had very little experience with them,
Basically each robot has a cable connecting ones ana_out to the others ana_in port and that gives a large number of comands that can be sent and decoded with an if statement block or if basic allows it a case block each one will send a signal to the other and decode the signal as it comes in via each one of their input and output tetherings, however if you get alot or robots out there this gets very complicated and messy, I would not use more than 3 robots at a time with this |
|
#8
|
|||
|
|||
|
Re: Robot to robot communication
It might be interesting to try to come up with a communication protocol using infrared. Depending on your budget (and willingness to abide by federal law), radio might not be within your reach.
If all the robots had IR transmitters and recievers, they could all talk to each other and also send out broadcast messages to everyone. It'd probably have to be designed something like ethernet though. Each robot gets an "address" and only looks at packets that are directed toward itself. I think the method of making sure that only one robot talks at a time might get funky though. |
|
#9
|
||||
|
||||
|
Re: Robot to robot communication
use the SparkFun "BlueSmIRF" which Kevin Watson advocated before. It is really nice (and fairly cheap) and abides by all FCC laws. If you want to branch out a bit, check out come of the links from the Parallax RF page, to find IC's which you can use at the heart of a radio, be warned, however, that they are not FCC certified; I believe you can still use them for "experimental" purposes, but I would check the rules on that.
|
|
#10
|
|||
|
|||
|
Re: Robot to robot communication
The trick is making sure that only one robot transmits at a time. Assuming the population is known you can assign them each a unique ID. They will broadcast to the whole population a packet that includes the sender, intended recipient(s), and the data. The other robots will wait until its their turn based on their ID and the ID of the last sender. Assume robots A, B, C, and D. B can't send until A does, C can't until B, etc. If a robot transmits and doesn't hear anything from the next it will resend or send a packet to skip the next robot.
An alternative would be to promote one as the master and have it tell the others when its their turn to transmit. Assume robots A, B, C, and D, with A as the master. B, C, and D will not send anything until they receive a request from A. A will iterate through the known population and allow them to send their data in turn. Only one should ever be sending at a time so they can share the same channel. They should all listen to the broadcast packets so they know what the other units are doing. |
|
#11
|
||||
|
||||
|
Re: Robot to robot communication
basically as far as communication goes i was thinking of sumthing like a wireless bus with unique IDs, or sumthing along those lines.
I dont wanna have wires inbetween. and painting one wouldn't work because then if you have 3 the 2 that arent painted green will follow the one painted green. I do not wanna depend on sumthing that isnt absolute like color so to speak. i wanna make it a total programming/ electrical solution. Maybe something like each robot have a IR signal unique to its ID. But then the problem is that that limits you to line of sightas far as follow or IR communication goes. It needs to be like small scale GPS I think. maybe some kind of coordinate system. like if robot A is at 2,4 but robot b is at -2,-4 and there is a wall between them. it wouldn't beable to use IR because of the line of sight problem. I know this is difficult but any ideas? O yea I am not using a OI or Rc hence why I said I am Using a basic stamp Last edited by John Gutmann : 05-12-2005 at 17:18. |
|
#12
|
||||
|
||||
|
Re: Robot to robot communication
Quote:
-Kevin |
|
#13
|
||||
|
||||
|
Re: Robot to robot communication
Quote:
|
|
#14
|
|||
|
|||
|
Re: Robot to robot communication
Quote:
|
|
#15
|
||||
|
||||
|
Re: Robot to robot communication
well yea, I wouldn't go out and buy a FCC license to use a certain frequency, I dont know why someone was even thinking of that
I don't mean that in a mean way, I just don't why you would even need something like that for a hobby project, if you know then please share. Unless it is an air based frequency I know bout all that. Last edited by John Gutmann : 05-12-2005 at 19:50. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Winning Robot or Quality Robot? | Eric Bareiss | General Forum | 30 | 09-02-2006 13:19 |
| Manual placement of tetras | Petey | Rules/Strategy | 7 | 22-02-2005 18:04 |
| Robot Collaboration | Karthik | General Forum | 153 | 18-02-2004 03:40 |
| Kamikaze Robot Strategy... | Joe Johnson | Rules/Strategy | 30 | 07-04-2002 21:42 |
| Calling all Lawyers... ...Define "all parts" | Joe Johnson | General Forum | 10 | 13-03-2002 15:12 |