|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Sonar Sensors legal
If someone has already posted this, please direct me to the discussion.
My team does not want to use dead-reckoning during autonomous, and we're considering using sonar to find balls. We have two "VEX Robotics Ultrasonic Range Finder Kits." It is from VEX (http://www.studica.com/products/shop...ceid=27 1877). It is an ultrasonic range module. Do you think this is legal? thank you, Cosato22 |
|
#2
|
|||||
|
|||||
|
Re: Sonar Sensors legal
I don't see anything in the rules against using them.
The rules in question would be the custom circuit/sensor rules. |
|
#3
|
|||||
|
|||||
|
Re: Sonar Sensors legal
Cosato,
As long as the sensors are COTS items and not something you have on hand but is no longer available you may use them. Please be aware that the field is a loud place and the player stations have diamond plate on the front. The environment will differ from your shop or practice field. |
|
#4
|
|||||
|
|||||
|
Re: Sonar Sensors legal
If your goal is to look for a ball, you already know where it is. You place it on a dot that is at a known place on the field, so as long as you put the robot in the right place you're OK. You can use a broken-beam sensor to tell you when you have it. All you really need to do is use your encoders to drive for x inches, then creep forward the last ~3 while checking the broken-beam sensor. Thus, you don't really need ultrasonic.
|
|
#5
|
|||
|
|||
|
Re: Sonar Sensors legal
I'm really familiar with the ultrasonics and I'd like to suggest you try IR sensors instead.
I can recommend these: Robodyssey.com IR sensors page They sell two different Sharp sensors that come in two different ranges. At the bottom of the page they have a nice mounting bracket that I've used with great success. Cables, sensor pair, mounting for under $50 The ultrasonics are sensitive to the materials around them, sounds don't bounce exactly like you think, carpet sucks them up and non-flat surfaces (like a ball) don't reflect the way you want. IR with the much shorter wavelenght has better bounce. The Sharp IRs are my "go to" sensors for finding things 5" to 5' away. |
|
#6
|
|||
|
|||
|
Re: Sonar Sensors legal
Thanks for all the responses!
Al Skierkiewicz, what is a COTS item? Foster, do the sensors work with Labview code? About how long does it take for them to ship? I live in Hawaii. Foster, it sounds as though one can use two infrared sensors without interference. Is that true? thank you, Colby |
|
#7
|
|||||
|
|||||
|
Re: Sonar Sensors legal
COTS: Commercial Off-The-Shelf.
Full and complete Manual definition (Section 8.2): Quote:
I wouldn't be surprised if a sender/receiver IR unit could be configured in the same way, if needed. |
|
#8
|
|||
|
|||
|
Re: Sonar Sensors legal
I responded to Colby in a PM on how to get overnight shipping.
As far as many IR sensors go, it is possible to put a large number of sensors on the robot. You are limited by two things: 1) Number of analog ports available. These are very simple voltage devices (the closer the object is, the more light is reflected, the more light they see the higher the voltage) so it's not a load on the system. 2) Reflections from other IR sources. The beam from the IR LED that is illuminating the target is fairly narrow. But due to bounce patterns that light may be seen by another sensor. You can use this to your advantage by using the sin/cos formulas to triangulate the position. You can also narrow the focus by putting the sensor in a tube. (EricH's example) It takes some experimenting, but it's pretty fast to make changes and figure it out. And since the hold back allowance has gone up 20 lbs it shouldn't be a problem keeping a few of the 1oz sensors to play with. Good luck! |
|
#9
|
|||
|
|||
|
Re: Sonar Sensors legal
Thanks for all the info.
I'm still wondering about code. Is there a VI I could find somewhere to program the infra-red? I've been looking around, and I found one for labview 9.0, but we only have labview 8.6.1 in this competition. Should I write it myself? How do I do that? thanks, Colby |
|
#10
|
|||
|
|||
|
Re: Sonar Sensors legal
Treat it as an analog device. The value that the sensor puts out is higher the closer the target is. You'll need to do some minor testing: Put the sensor on the robot. Put the ball 5" away. Take a reading. Move the ball 6" away, take a reading. Move the ball, read, repeat.
From the data points collected you should be able to create a formula that will convert the value into distance. (like .1 volt ~ 1"). The formula will depend on the IR sensor that you use. If you buy the ones from the Robodyssey.com IR sensors page they come with a little BasicX program that shows the distance formula. Good luck! |
|
#11
|
|||
|
|||
|
Re: Sonar Sensors legal
so the basicx program shows up in Labview as a Vi? With open and close Vis?
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Ultrasonics / Sonar | nekng | C/C++ | 9 | 17-02-2009 14:03 |
| sonar is being lame | Sparky_68 | Programming | 5 | 13-02-2009 00:55 |
| How to program sonar | FearlessLeader | C/C++ | 1 | 11-02-2009 22:39 |
| SONAR sensors for collision avoidance | windell747 | Programming | 4 | 21-01-2008 18:57 |
| VEX Sonar question | Joohoo | Programming | 2 | 06-05-2006 01:18 |