Go to Post I looked at it and originally thought it was a crazy idea... then I looked at it again and it still sounds like a crazy idea. But crazy ideas tend to produce some excellent results. - Yipyapper [more]
Home
Go Back   Chief Delphi > Technical > Electrical
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 15-01-2014, 22:32
Wzup4021 Wzup4021 is offline
Registered User
FRC #4021 (igKnightion)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2014
Location: United States
Posts: 32
Wzup4021 is an unknown quantity at this point
Range Finder?

I'm not sure if this is the right category, but I hope I can find some help. For this years competition we're looking at possibly using a range finder, however the one we have tried in the past (Not sure the exact model, it used radio waves is all that I know) didn't work out very well and wasn't consistent. Has anybody had luck with a good (Possibly infrared?) range finder that isn't very expensive? Looking for around a $100-$150 range. Any help would be greatly appreciated.

PS: Also, what makes a range finder legal/illegal for FIRST FRC?
  #2   Spotlight this post!  
Unread 15-01-2014, 23:26
jwfoss jwfoss is offline
Chasing Elegant Simplicity
AKA: Justin Foss
FRC #0558 (Elm City Robo Squad)
Team Role: Mentor
 
Join Date: Aug 2006
Rookie Year: 2003
Location: New Haven, CT
Posts: 592
jwfoss has a reputation beyond reputejwfoss has a reputation beyond reputejwfoss has a reputation beyond reputejwfoss has a reputation beyond reputejwfoss has a reputation beyond reputejwfoss has a reputation beyond reputejwfoss has a reputation beyond reputejwfoss has a reputation beyond reputejwfoss has a reputation beyond reputejwfoss has a reputation beyond reputejwfoss has a reputation beyond repute
Re: Range Finder?

A number of teams have used the VEX one with success in the past.
__________________
2003-2006 | FRC 0176 | Aces High - Student
2007-2010 | FRC 0229 | Division by Zero - Mentor in Training
2011-2013 | FRC 2168 | Aluminum Falcons - Mechanical Mentor
2013-20xx | FRC 0558 | Elm City Robo Squad - Mechanical Mentor

Last edited by jwfoss : 15-01-2014 at 23:28.
  #3   Spotlight this post!  
Unread 16-01-2014, 00:21
Wzup4021 Wzup4021 is offline
Registered User
FRC #4021 (igKnightion)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2014
Location: United States
Posts: 32
Wzup4021 is an unknown quantity at this point
Re: Range Finder?

I believe that was the one we tried before, but as it got farther out it became very inaccurate unless you had perfect conditions.
  #4   Spotlight this post!  
Unread 16-01-2014, 00:51
otherguy's Avatar
otherguy otherguy is offline
sparkE
AKA: James
FRC #2168 (The Aluminum Falcons)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: CT
Posts: 443
otherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to behold
Re: Range Finder?

Quote:
Originally Posted by Wzup4021 View Post
I believe that was the one we tried before, but as it got farther out it became very inaccurate unless you had perfect conditions.
It's range is 1.5" to ~9.5'. Were you operating outside this window.

We used it in 2011 to detect our distance from the wall in autonomous. We were looking for relatively close distances, somewhere around a foot away. I think we missed a total of two tubes in auto at our two competitions that year. So depending on application it can work quite well.

I've also had good luck (outside of FRC) with the Parallax PING sensors.

I haven't used them myself, but there is quite the range of options available from maxbotix. They have sensors that supposedly can measure to the cm resolution at a range of up to 35ft, which is pretty amazing. You have a $30 voucher for this company in your kit of parts.

There aren't any rules specific to the use of range finders in FRC. Read the robot section of the manual for electrical rules and custom circuits.

As far as what you should use. Nobody is going to be able to tell you that unless you describe your application. When are you envisioning using this sensor. What range of distances will you be from your target. How large is your target. What material is your target made of?

In general ultrasonic sensors will be used for lower resolution higher range applications. Infrared is typically limited in range, but can provide good resolution over that range.
__________________
http://team2168.org
  #5   Spotlight this post!  
Unread 16-01-2014, 01:07
wireties's Avatar
wireties wireties is offline
Principal Engineer
AKA: Keith Buchanan
FRC #1296 (Full Metal Jackets)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Rockwall, TX
Posts: 1,171
wireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond repute
Send a message via AIM to wireties
Re: Range Finder?

We have good luck with these...

http://www.maxbotix.com/Ultrasonic_S...ngefinders.htm
__________________
Fast, cheap or working - pick any two!

Last edited by wireties : 16-01-2014 at 02:41.
  #6   Spotlight this post!  
Unread 16-01-2014, 01:13
Wzup4021 Wzup4021 is offline
Registered User
FRC #4021 (igKnightion)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2014
Location: United States
Posts: 32
Wzup4021 is an unknown quantity at this point
Re: Range Finder?

Well, this is second hand information from a mentor (my first year on the team). He said that after they got to a certain distance (I assume not to far out of range) the cone of the radio waves became big enough that it had a half second delay, along with it not being accurate enough to pin point the target, and was picking up things farther away and occasionally registering them.
  #7   Spotlight this post!  
Unread 16-01-2014, 01:34
wt200999's Avatar
wt200999 wt200999 is offline
Texas Instruments
AKA: Will Toth
FRC #3005 (Robochargers)
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2004
Location: Dallas, Texas
Posts: 325
wt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud of
Send a message via MSN to wt200999
Re: Range Finder?

Quote:
Originally Posted by Wzup4021 View Post
Well, this is second hand information from a mentor (my first year on the team). He said that after they got to a certain distance (I assume not to far out of range) the cone of the radio waves became big enough that it had a half second delay, along with it not being accurate enough to pin point the target, and was picking up things farther away and occasionally registering them.
As long as you are in range of the sensor you shouldn't have much of a delay. The ultrasonic sensors use sound waves, which travel ~1116 ft/s

For the maxbotix sensors the max range is 255 inches or 21 feet, so at the max range, the sound travels a total of 42 feet for a travel time of ~37 ms.

If you look at the maxbotix datasheet they show approximate detection fields based on various targets. For long distance they use a 12" wide target and can detect it within a 2' variation side to side. For closer range they use small dowels to show the side to side bounds of where the sensor can detect. Different sensors from them have different side object detection ability.

Quote:
Originally Posted by otherguy View Post
It's range is 1.5" to ~9.5'. Were you operating outside this window.

I've also had good luck (outside of FRC) with the Parallax PING sensors.

I haven't used them myself, but there is quite the range of options available from maxbotix. They have sensors that supposedly can measure to the cm resolution at a range of up to 35ft, which is pretty amazing. You have a $30 voucher for this company in your kit of parts.
I would highly recommend either of these. With the maxbotix sensors you get a much wider range of sensors to choose from, and they also have a higher resolution product line which may be useful. Their standard sensors have a resolution of 1 inch, and their high resolution sensors claim to have a resolution of 1mm. Definitely use the KOP voucher at least.

Last edited by wt200999 : 16-01-2014 at 01:38.
  #8   Spotlight this post!  
Unread 16-01-2014, 09:49
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,798
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: Range Finder?

Ultrasonic range sensors may give unpredictable results if aimed at the player station. The diamond plate gives unusual reflections. There are laser sensors as well and the rule that comes into play for those is the one covering Class I lasers only. I believe Digikey has some ultrasonic that are inexpensive and easy to use.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #9   Spotlight this post!  
Unread 31-08-2014, 14:35
Nzoner Nzoner is offline
Registered User
AKA: Zoner
FRC #4557 (FullMetal Falcons)
Team Role: Programmer
 
Join Date: Feb 2014
Rookie Year: 2013
Location: Conneticut
Posts: 5
Nzoner is an unknown quantity at this point
Re: Range Finder?

In the 2014 Aerial Assist game my team and I tried to use Ultrasonic sensors, but with no luck. The Ultrasonic sensor could not get a constant reading, and would often jump from 15ft to only a few inches which would triggers safeties and our launch system. So unless we were just unlucky with our three sensors ( all failed) I would say to avoid them. Maxbotix was the brand, I'm interested to see if the VEX Range Finder works better, and will pitch it to my team.
  #10   Spotlight this post!  
Unread 01-09-2014, 02:08
timytamy's Avatar
timytamy timytamy is offline
Registered User
AKA: Tim
FRC #3132 (The Thunder Down Under)
Team Role: Electrical
 
Join Date: Nov 2009
Rookie Year: 2010
Location: Australia
Posts: 293
timytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant future
Re: Range Finder?

Quote:
Originally Posted by Al Skierkiewicz View Post
Ultrasonic range sensors may give unpredictable results if aimed at the player station. The diamond plate gives unusual reflections.
Are the unpredictable results consistent with:

Quote:
Originally Posted by Nzoner View Post
The Ultrasonic sensor could not get a constant reading, and would often jump from 15ft to only a few inches which would triggers safeties and our launch system.
Our software team had similar spikes, and think that it is due to noise on the analogue signal.

Could those of you who used the Maxbotics sensors successfully provide some more info on how you did so? Which signal did you use (analogue/PWM/UART)? If you did anything non-trivial in reading the input (such as filtering), could you also provide some sample code?

We are also at a loss on how to read in the PWM signal (to get over the analogue noise above) directly into the cRIO (and probably roboRIO), if anyone has experience with reading in PWM signals it would be great to hear.
__________________
Tim W
FIRST® Team 3132 - The Thunder Down Under
Sydney, Australia
Website | Facebook | Youtube
  #11   Spotlight this post!  
Unread 01-09-2014, 02:33
pastelpony's Avatar
pastelpony pastelpony is offline
Programmer/Electrical
AKA: Zach M
FRC #3525 (Nuts and Bolts of Fury)
Team Role: Programmer
 
Join Date: Feb 2014
Rookie Year: 2013
Location: Waterbury, Connecticut
Posts: 152
pastelpony will become famous soon enough
Re: Range Finder?

Quote:
Originally Posted by timytamy View Post
Are the unpredictable results consistent with:



Our software team had similar spikes, and think that it is due to noise on the analogue signal.

Could those of you who used the Maxbotics sensors successfully provide some more info on how you did so? Which signal did you use (analogue/PWM/UART)? If you did anything non-trivial in reading the input (such as filtering), could you also provide some sample code?

We are also at a loss on how to read in the PWM signal (to get over the analogue noise above) directly into the cRIO (and probably roboRIO), if anyone has experience with reading in PWM signals it would be great to hear.
We used a Maxbotix ultrasonic sensor this year. We wired it directly to our cRIO's analog breakout and it worked well for detecting how far away the goals were. What language are you programming in and how many other devices are plugged into your analog breakout?
__________________
Team 3525 Head Programmer (2014- ) - Java (Formerly LabVIEW)
  #12   Spotlight this post!  
Unread 01-09-2014, 03:01
timytamy's Avatar
timytamy timytamy is offline
Registered User
AKA: Tim
FRC #3132 (The Thunder Down Under)
Team Role: Electrical
 
Join Date: Nov 2009
Rookie Year: 2010
Location: Australia
Posts: 293
timytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant future
Re: Range Finder?

We currently use Java.

Last year we had two sensors connected, the Maxbotics ultrasonics sensor (the one from the KoP a season or two ago) and a sharp infrared sensor (to channels 4 and 5 respectivly).
__________________
Tim W
FIRST® Team 3132 - The Thunder Down Under
Sydney, Australia
Website | Facebook | Youtube
  #13   Spotlight this post!  
Unread 01-09-2014, 10:06
pastelpony's Avatar
pastelpony pastelpony is offline
Programmer/Electrical
AKA: Zach M
FRC #3525 (Nuts and Bolts of Fury)
Team Role: Programmer
 
Join Date: Feb 2014
Rookie Year: 2013
Location: Waterbury, Connecticut
Posts: 152
pastelpony will become famous soon enough
Re: Range Finder?

I think it could be analog noise from the IR sensor, because iirc running two rangefinders at once is known to cause interference issues.

Unfortunately I don't have access to my team's equipment right now so I can't test my theory on how to read from PWM.
__________________
Team 3525 Head Programmer (2014- ) - Java (Formerly LabVIEW)
  #14   Spotlight this post!  
Unread 01-09-2014, 13:08
wt200999's Avatar
wt200999 wt200999 is offline
Texas Instruments
AKA: Will Toth
FRC #3005 (Robochargers)
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2004
Location: Dallas, Texas
Posts: 325
wt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud of
Send a message via MSN to wt200999
Re: Range Finder?

We also saw occational spikes when trying to use this sensor, I don't recall exactly how we had it set up when we were testing but it would spike to full distance. We went back to the datasheet for the maxbotix and noticed our sensor has a 20 Hz reading rate. We changed are loop rate to 20 Hz and never saw spikes again.

Our competition bot uses the PWM signal from the Maxbotix sensor and is used to detect the ball.
__________________
Programming in LabVIEW? Try VI Snippets!

FIRST LEGO League 2004 - 2005
FRC Team 870 Student 2006 - 2009
FRC Team 3005 Mentor 2013 -
  #15   Spotlight this post!  
Unread 01-09-2014, 18:16
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,798
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: Range Finder?

The diamond plate will produce unusual reflections due to surface texture for IR and ultrasonic. In addition, objects striking the surface of the diamond plate may also produce ultrasonic signals that can confuse or overwhelm the transducers. It is best to take a series of readings and either average the results, do some noise filtering or reject readings that are outside the realm of your environment. i.e. if the readings have been in the 3-4 foot range and you suddenly get a few inches reported, wait for more data. If you have several reporting inches then you might be inches. If you only get one and then it goes back to feet, the later is likely true. Remember in both cases, the rangefinders are looking for reflections.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
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


All times are GMT -5. The time now is 19:20.

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