Go to Post I like the way you are saving weight by cutting out the center of the speed controllers. - jcatt [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 04-12-2005, 21:16
John Gutmann John Gutmann is offline
I'm right here
AKA: sparksandtabs
FRC #0340 (GRR)
Team Role: Mechanical
 
Join Date: Feb 2005
Rookie Year: 2004
Location: rochester
Posts: 804
John Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant future
Send a message via AIM to John Gutmann Send a message via MSN to John Gutmann Send a message via Yahoo to John Gutmann
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   Spotlight this post!  
Unread 04-12-2005, 22:20
Mike's Avatar
Mike Mike is offline
has common ground with Matt Krass
AKA: Mike Sorrenti
FRC #0237 (Sie-H2O-Bots (See-Hoe-Bots) [T.R.I.B.E.])
Team Role: Programmer
 
Join Date: Dec 2004
Rookie Year: 2004
Location: Watertown, CT
Posts: 1,003
Mike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond repute
Re: Robot to robot communication

Quote:
Originally Posted by sparksandtabs
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
Well, you could have robot2robot communications... but for something that simple you can just have an IR receiver/transmitter.

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.
__________________
http://www.mikesorrenti.com/
  #3   Spotlight this post!  
Unread 04-12-2005, 22:25
John Gutmann John Gutmann is offline
I'm right here
AKA: sparksandtabs
FRC #0340 (GRR)
Team Role: Mechanical
 
Join Date: Feb 2005
Rookie Year: 2004
Location: rochester
Posts: 804
John Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant future
Send a message via AIM to John Gutmann Send a message via MSN to John Gutmann Send a message via Yahoo to John Gutmann
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   Spotlight this post!  
Unread 04-12-2005, 23:11
greencactus3 greencactus3 is offline
occra 23.
AKA: ryo
None #1481
Team Role: Alumni
 
Join Date: Feb 2004
Rookie Year: 2006
Location: North Farmington, MI
Posts: 1,523
greencactus3 is a name known to allgreencactus3 is a name known to allgreencactus3 is a name known to allgreencactus3 is a name known to allgreencactus3 is a name known to allgreencactus3 is a name known to all
Send a message via AIM to greencactus3 Send a message via MSN to greencactus3
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   Spotlight this post!  
Unread 04-12-2005, 23:21
SpeakerSilenced SpeakerSilenced is offline
Programming/Electrical Team Member
#0219 (Team Impact)
Team Role: Programmer
 
Join Date: Feb 2005
Rookie Year: 2005
Location: Hackettstown, NJ
Posts: 28
SpeakerSilenced is an unknown quantity at this point
Send a message via AIM to SpeakerSilenced
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.
__________________
"I want to put a ding in the universe" - Steve Jobs
  #6   Spotlight this post!  
Unread 04-12-2005, 23:40
greencactus3 greencactus3 is offline
occra 23.
AKA: ryo
None #1481
Team Role: Alumni
 
Join Date: Feb 2004
Rookie Year: 2006
Location: North Farmington, MI
Posts: 1,523
greencactus3 is a name known to allgreencactus3 is a name known to allgreencactus3 is a name known to allgreencactus3 is a name known to allgreencactus3 is a name known to allgreencactus3 is a name known to all
Send a message via AIM to greencactus3 Send a message via MSN to greencactus3
Re: Robot to robot communication

Quote:
Originally Posted by SpeakerSilenced
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.
bummmer..... ditch the macs!
Quote:
Originally Posted by SpeakerSilenced
Either way, I find your idea on the robots moving each others controls kinda cool.
mustve worded it weird... i didnt say exactly that... i just said one robot uses the transmitter to send signals to the other via radio>servo>potentiometer. or other rotation sensor... or you can pull it off with a touch sensor if you use a servohorn too..
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:
Originally Posted by SpeakerSilenced
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.
hmm... well there is that voltage display... and stuff so im guessing itll hafta just choose the stronger return signal(from the rc)... i dunno but if there was a checker thing on the OI there wiouldnt be any interference problems would there?

Quote:
Originally Posted by SpeakerSilenced
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.
ahh yes.... make one robot wave flags... or send smoke signals... the possibilities are endless lol... morsecode with a lightmight work too.
  #7   Spotlight this post!  
Unread 05-12-2005, 10:04
Cuog's Avatar
Cuog Cuog is offline
Registered Linux User: 390661
AKA: Alex
FRC #0422
Team Role: Mentor
 
Join Date: Nov 2005
Rookie Year: 2004
Location: Richmond, Virginia
Posts: 852
Cuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond repute
Send a message via AIM to Cuog
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
__________________
KK4KQO
http://voltair.us
Too many projects, too little time.
  #8   Spotlight this post!  
Unread 05-12-2005, 10:12
sciguy125 sciguy125 is offline
Electrical Engineer
AKA: Phil Baltar
FRC #1351
Team Role: College Student
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Sunnyvale, CA
Posts: 519
sciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond repute
Send a message via AIM to sciguy125 Send a message via MSN to sciguy125 Send a message via Yahoo to sciguy125
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.
__________________

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GE/S/P a-- e y-- r-- s:++ d+ h! X+++
t++ C+ P+ L++ E W++ w M-- V? PS+ PE+
5- R-- tv+ b+ DI+++ D- G
------END GEEK CODE BLOCK------
  #9   Spotlight this post!  
Unread 05-12-2005, 13:52
CJO's Avatar
CJO CJO is offline
Emeritus Pain in the $@#$@#$@#
AKA: Christopher J. O'Connell
None #1097 (Site 3 Engineering)
Team Role: Alumni
 
Join Date: Feb 2003
Location: Latrobe (over the rainbow), CA
Posts: 217
CJO will become famous soon enoughCJO will become famous soon enough
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.
__________________
Team 1097 -- Site 3 Engineering
~~~~~~~~~~~~~~~~~~~~
2003 Sacramento Rookie All Star
2003 Silicon Valley Rookie All Star
2004 Sacramento Engineering Inspiration Award
2004 Sacramento Visualization Award
2004 Outstanding Volunteer Award (G. Glasser)
2004 Silicon Valley Sportsmanship Award
2004 National Visualization Runner Up
2004 Cal Games Finalist
2005 Sacramento Sportsmanship Award
2005 Sacramento #1 seed
2005 Sacramento Finalist

2005 Silicon Valley Sportsmanship Award
2005 Silicon Valley #1 Seed
2005 Silicon Valley Finalist

  #10   Spotlight this post!  
Unread 05-12-2005, 14:41
seanwitte seanwitte is offline
Registered User
None #0116
Team Role: Engineer
 
Join Date: Nov 2002
Location: Herndon, VA
Posts: 378
seanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant future
Send a message via AIM to seanwitte
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   Spotlight this post!  
Unread 05-12-2005, 17:14
John Gutmann John Gutmann is offline
I'm right here
AKA: sparksandtabs
FRC #0340 (GRR)
Team Role: Mechanical
 
Join Date: Feb 2005
Rookie Year: 2004
Location: rochester
Posts: 804
John Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant future
Send a message via AIM to John Gutmann Send a message via MSN to John Gutmann Send a message via Yahoo to John Gutmann
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   Spotlight this post!  
Unread 05-12-2005, 17:14
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Cañada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Cañada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: Robot to robot communication

Quote:
Originally Posted by CJO
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.
I've gotten the BlueSMiRF to work, but it requires an additional step to form a "relationship" between the master/slave Bluetooth devices. It was a pain to setup, but it did work. It would be nice if we could buy the original SMiRF, which was pretty much plug and play.

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org
  #13   Spotlight this post!  
Unread 05-12-2005, 17:21
John Gutmann John Gutmann is offline
I'm right here
AKA: sparksandtabs
FRC #0340 (GRR)
Team Role: Mechanical
 
Join Date: Feb 2005
Rookie Year: 2004
Location: rochester
Posts: 804
John Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant future
Send a message via AIM to John Gutmann Send a message via MSN to John Gutmann Send a message via Yahoo to John Gutmann
Re: Robot to robot communication

Quote:
Originally Posted by sciguy125
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.
what do you mean abide by the law? How is it illeagle to trasmit a radio signal over like 4 feet?
  #14   Spotlight this post!  
Unread 05-12-2005, 17:43
greencactus3 greencactus3 is offline
occra 23.
AKA: ryo
None #1481
Team Role: Alumni
 
Join Date: Feb 2004
Rookie Year: 2006
Location: North Farmington, MI
Posts: 1,523
greencactus3 is a name known to allgreencactus3 is a name known to allgreencactus3 is a name known to allgreencactus3 is a name known to allgreencactus3 is a name known to allgreencactus3 is a name known to all
Send a message via AIM to greencactus3 Send a message via MSN to greencactus3
Re: Robot to robot communication

Quote:
Originally Posted by sparksandtabs
what do you mean abide by the law? How is it illeagle to trasmit a radio signal over like 4 feet?
depending on frequency its illegal.. different in different countries. around here i think the 27 and 75 mhz are okay. standard groundbased hobby rc equipment. cheaper too.
  #15   Spotlight this post!  
Unread 05-12-2005, 19:32
John Gutmann John Gutmann is offline
I'm right here
AKA: sparksandtabs
FRC #0340 (GRR)
Team Role: Mechanical
 
Join Date: Feb 2005
Rookie Year: 2004
Location: rochester
Posts: 804
John Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant future
Send a message via AIM to John Gutmann Send a message via MSN to John Gutmann Send a message via Yahoo to John Gutmann
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.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT -5. The time now is 04:32.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi