Author Topic: multiple sonar sensors  (Read 2112 times)

0 Members and 1 Guest are viewing this topic.

Offline leeguy92Topic starter

  • Jr. Member
  • **
  • Posts: 14
  • Helpful? 0
multiple sonar sensors
« on: November 30, 2008, 03:26:32 PM »
hi, all.
I need to build two robots, which will each make use of sonar ranging sensors.
I have never done any serious robotics before, but it seems to me there could be a problem(a large one) here where one robot hears another's pulse and assumes it to be it's own.

what are my options here? can i operate one robot at a different frequency, so it isn't heard by the other one?
It just seems like they are all 40khz.

Any help would be appreciated.
Lee.

Offline szhang

  • Robot Overlord
  • ****
  • Posts: 140
  • Helpful? 1
Re: multiple sonar sensors
« Reply #1 on: November 30, 2008, 04:03:25 PM »
yeah they'll get confused.  For one robot usually what you do is fire the sonars in a some order, like firing the ones in the front, then ones in the back etc.  you have to play with the order to get it working right.

For two robot, it is really hard unless there are walls between the robots.  You can play with the frequency if you have just a tranducer and make your own circuit to process the signals.  But I don't know how well that'll work.

Offline leeguy92Topic starter

  • Jr. Member
  • **
  • Posts: 14
  • Helpful? 0
Re: multiple sonar sensors
« Reply #2 on: November 30, 2008, 04:20:57 PM »
thanks for the reply.
The actual application is two robot 'tanks' in a circular arena, which each have an infrared beacon on top of them.
The sensors on each robot allow it to tell if it is looking at another robot(infrared photodiode), and how far away it is from objects such as walls, and other robots(Sonar).
so separating them isn't really an option.

The only solution i can think of is to somehow allow one robot to take control, so that only one robot can fire it's sonar at a time, and they would stay synchronized. i think a wireless system is just overkill.

hmm.....

Offline leeguy92Topic starter

  • Jr. Member
  • **
  • Posts: 14
  • Helpful? 0
Re: multiple sonar sensors
« Reply #3 on: November 30, 2008, 05:32:45 PM »
ok, i just had an idea.

Is it possible to get infrared LED/detector pairs which operate on different wavelengths?

I would prefer to leave sonar out of the equation anyway because of echo complications.

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,652
  • Helpful? 169
    • Society of Robots
Re: multiple sonar sensors
« Reply #4 on: December 02, 2008, 11:49:28 PM »
Quote
The only solution i can think of is to somehow allow one robot to take control, so that only one robot can fire it's sonar at a time, and they would stay synchronized. i think a wireless system is just overkill.
Having them communicate to take turns using sonar is the best option. I've done it and it works well.

Quote
Is it possible to get infrared LED/detector pairs which operate on different wavelengths?
but . . . infrared is a specific wavelength already :P
browse through the IR sensor datasheets and look at their sensitivity vs wavelength charts . . . you might find two that are different enough to work

Offline leeguy92Topic starter

  • Jr. Member
  • **
  • Posts: 14
  • Helpful? 0
Re: multiple sonar sensors
« Reply #5 on: December 03, 2008, 07:10:55 AM »
thanks for the reply.
so, what communication method would you use?
any particular protocol - bluetooth?
if not, what frequency is good (and legal in the uk) for this(i would imagine 27mhz)

it really needs to be a module - i have no experience(though, lots of reading) of building wireless circuits.
« Last Edit: December 03, 2008, 07:12:46 AM by leeguy92 »

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,652
  • Helpful? 169
    • Society of Robots
Re: multiple sonar sensors
« Reply #6 on: December 03, 2008, 09:26:12 PM »
I used a wireless internet connection (the robots all had laptops).

Any wireless module you buy will work and should be legal (or they wouldn't sell it).

 


Get Your Ad Here