Go to Post Paul Copioli - A guy who is 13 years older than me, but acts about 13 years younger. - Amanda Morrison [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 24-12-2005, 14:24
Gdeaver Gdeaver is offline
Registered User
FRC #1640
Team Role: Mentor
 
Join Date: Mar 2004
Rookie Year: 2001
Location: West Chester, Pa.
Posts: 1,370
Gdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond repute
Sharp IR distance sensors

As far as autonomous navigation I've seen allot of posts on encoders, gyro's, accelerometers, Banner sensors but, nothing on Sharp IR distance sensors. Today I've been playing with a Sharp GP2Y0A02YK 5' max distance sensor mounted on a Vex servo with a square bot and encoders. Using only Easy C 1.1 I've got the square bot driving straight, random drive with object avoidance, Wall hugging with just the IR and several other autonomous strategies. The Sharp IR sensors put out a analog voltage proportional to distance. A simple and quick ADC gives an accurate distance measurement with a very narrow field of focus. Mounting the IR sensor on a servo allows a scan and mapping of the area in front of the robot. Have any other teams tried these sensors? I haven't seen any at competitions or remember any posts.
So here's a link to a site that sells them
http://www.hobbyengineering.com/SectionS.html
Any comments on their application on FRC robots?
  #2   Spotlight this post!  
Unread 24-12-2005, 16:36
Rickertsen2 Rickertsen2 is offline
Umm Errr...
None #1139 (Chamblee Gear Grinders)
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2002
Location: ATL
Posts: 1,421
Rickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant future
Send a message via AIM to Rickertsen2 Send a message via Yahoo to Rickertsen2
Re: Sharp IR distance sensors

Quote:
Originally Posted by Gdeaver
As far as autonomous navigation I've seen allot of posts on encoders, gyro's, accelerometers, Banner sensors but, nothing on Sharp IR distance sensors. Today I've been playing with a Sharp GP2Y0A02YK 5' max distance sensor mounted on a Vex servo with a square bot and encoders. Using only Easy C 1.1 I've got the square bot driving straight, random drive with object avoidance, Wall hugging with just the IR and several other autonomous strategies. The Sharp IR sensors put out a analog voltage proportional to distance. A simple and quick ADC gives an accurate distance measurement with a very narrow field of focus. Mounting the IR sensor on a servo allows a scan and mapping of the area in front of the robot. Have any other teams tried these sensors? I haven't seen any at competitions or remember any posts.
So here's a link to a site that sells them
http://www.hobbyengineering.com/SectionS.html
Any comments on their application on FRC robots?
I used a few of these once in a non-FIRST bot that wonders around the room avoiding obstacles. I also made a wall follower out of one of our practice bots using these. They work well from my experience. The only drawback is that they are not directly porportional to distance, but for most applicaitons this does not matter, and if it does, it they can be linearized fairly easily.
__________________
1139 Alumni

Last edited by Rickertsen2 : 24-12-2005 at 16:40.
  #3   Spotlight this post!  
Unread 25-12-2005, 12:01
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: Sharp IR distance sensors

As I understand, the Sharp sensors have a maximum range of 30 inches... 3.5 feet. When you have a robot moving 7 feet per second (conservative estimate), that means you have one half a second to "see" the object, make the calculations to find out which way to turn to avoid the object, and then actually make the motor adjustments to turn, and then actually turn. Ultrasonic sensors, however, can have a range substantially bigger. The SRF08 ($56.99) has a range from 1 inch to 18 feet.

This may work if you were to stop once you have detected an object, and then turn around your axis and continue forward, but that would be an awfully slow and inefficient way of doing things. This makes the sensors not very useful for object avoidance. It may be of good use for say, not ramming straight into a wall. This would be executed by mounting it on a servo, then once an object is detected, scan left and right to make sure the object is a wide flat area (and not say, a pole.) It would also be good for wall-following, but (at least in this years game) you would follow the wall for about 2 seconds and then ram straight into a side goal.

It all comes down to what you are trying to accomplish. When you are playing on a pre-determined surface (such as the FIRST field), I find an encoder/gyro combination to be a lot better. If you are in unfamiliar territory, then an ultrasonic/infrared sensor will be a better choice.
__________________
http://www.mikesorrenti.com/
  #4   Spotlight this post!  
Unread 25-12-2005, 19:47
TimCraig TimCraig is offline
Registered User
AKA: Tim Craig
no team
 
Join Date: Aug 2004
Rookie Year: 2003
Location: San Jose, CA
Posts: 221
TimCraig is a splendid one to beholdTimCraig is a splendid one to beholdTimCraig is a splendid one to beholdTimCraig is a splendid one to beholdTimCraig is a splendid one to beholdTimCraig is a splendid one to beholdTimCraig is a splendid one to behold
Re: Sharp IR distance sensors

Quote:
Originally Posted by Mike
30 inches... 3.5 feet
  #5   Spotlight this post!  
Unread 25-12-2005, 21:30
Gdeaver Gdeaver is offline
Registered User
FRC #1640
Team Role: Mentor
 
Join Date: Mar 2004
Rookie Year: 2001
Location: West Chester, Pa.
Posts: 1,370
Gdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond repute
Re: Sharp IR distance sensors

The listed sensor measures out to 5'. The other closer range sensors could be used to detect when a game piece was in grasping range and position.
  #6   Spotlight this post!  
Unread 25-12-2005, 22:18
devicenull devicenull is offline
Robot? We need a robot?
no team
 
Join Date: Sep 2004
Rookie Year: 1234
Location: n/a
Posts: 359
devicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nice
Re: Sharp IR distance sensors

We used them last year to measure the height of a component on our robot. As I recall, they worked quite well, except when we managed to loosen one of the solder joints
  #7   Spotlight this post!  
Unread 25-12-2005, 22:48
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: Sharp IR distance sensors

Quote:
Originally Posted by TimCraig
Haha, this is why I should stop making long posts that early in the morning.
__________________
http://www.mikesorrenti.com/
  #8   Spotlight this post!  
Unread 26-12-2005, 17:36
Andrew Rudolph's Avatar
Andrew Rudolph Andrew Rudolph is offline
Git 'em!
no team (Robot in 3 Days)
Team Role: Mentor
 
Join Date: May 2001
Rookie Year: 2000
Location: Orlando, FL
Posts: 921
Andrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond repute
Send a message via AIM to Andrew Rudolph
Re: Sharp IR distance sensors

There is more than one kind of sharp sensor, heres a quick list of whats offered at acroname.com....


Quote:
Sharp GP2D02 IR Ranger
Very popular 8-bit IR Ranger with range of about 3"-30".
Sharp GP2D120 IR Sensor
Reports distance as an analog voltage with a range of 1.5" to 12".
Sharp GP2D05 IR ranger
A high precision object sensor.
Sharp GP2D12 Detector Package
Reports distance as an analog voltage with a range of 4"-30".
Sharp GP2D15 Detector Package
Digital version of the popular Sharp IR detector preset to 10".
Sharp GP2Y0D02YK IR Sensor
Digital version of the popular Sharp IR detector preset to 31.5".
Sharp GP2Y0A02YK IR Sensor
Reports distance as an analog voltage with a range of ~8"-60".
We used GP2D12's on 1083's robot in 2004 for autonomous, we would drive at the wall, use the sensors to triangulate us following the wall, then encoders would track how far we had traveled so the bot would stop and punch the ball off the Tee. They worked pretty flawlessly once we got the numbers right and shielded them enough from the surrounding light.
__________________
iR3 Creative Engineering
Robot in 3 Days

FTC 6323 The Pink TeamMentor
FTC 8996 Pink Fluffy BunniesMentor
FRC 233 The Pink Team Mentor
FRC 1902 Exploding Bacon Mentor
  #9   Spotlight this post!  
Unread 27-12-2005, 07:49
Gdeaver Gdeaver is offline
Registered User
FRC #1640
Team Role: Mentor
 
Join Date: Mar 2004
Rookie Year: 2001
Location: West Chester, Pa.
Posts: 1,370
Gdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond repute
Re: Sharp IR distance sensors

Andrew's post was what I was hopping to see. The Sharp IR sensors compliment encoders and gyros. The also can replace limit switches. The are relatively cheap and easy to interface. Hopefully some teams took note.
  #10   Spotlight this post!  
Unread 09-02-2007, 21:32
ktrussell ktrussell is offline
Registered User
AKA: Kenny Trussell
FRC #1057 (Blue Knights)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Sandersville, GA
Posts: 7
ktrussell is an unknown quantity at this point
Re: Sharp IR distance sensors

I've seen mention that one "MAY" need to shield the sensor from the ambient light. Those of you who used the Sharp sensors previously, did you have to provide special shielding from light? The year that FIRST had the IR beacons, we had our robot tracking to the beacons very well on practice day but on Friday, when they turned on the bright lights for the TV cameras, our receivers were blinded. Will the Sharp distance sensors experience anything like this?
  #11   Spotlight this post!  
Unread 09-02-2007, 23:33
yongkimleng yongkimleng is offline
deus ex programmeur
AKA: James Yong
FTC #0747
Team Role: Mentor
 
Join Date: Aug 2006
Rookie Year: 2004
Location: Singapore, West
Posts: 134
yongkimleng is a jewel in the roughyongkimleng is a jewel in the roughyongkimleng is a jewel in the rough
Send a message via MSN to yongkimleng
Re: Sharp IR distance sensors

From my own use in the past, one point is not to have direct strong light fall onto the sharp IR sensor, even though it has a recessed receiver. Other than that, it does its own ambient light compensation quite well.
Refer to the item's datasheet for more information.
P.S. the soldier joint on its connectors are very weak.
__________________
| jamesyong.net |
FVC2007, FTC2008
  #12   Spotlight this post!  
Unread 10-02-2007, 00:43
dtengineering's Avatar
dtengineering dtengineering is offline
Teaching Teachers to Teach Tech
AKA: Jason Brett
no team (British Columbia FRC teams)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Vancouver, BC
Posts: 1,831
dtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond repute
Re: Sharp IR distance sensors

We've had very good luck with a wide range of Sharp IR sensors.

Just make sure that if you are planning to use them this year for detecting any parts of the rack that you test them using diamond plate. We found that the diamond plate was so reflective that if we were at anything other than exactly 90 degrees to the plate that the IR would simply bounce off... and not return to the sensor.

We're thinking sonar is the answer for detecting diamond plate, but will use the IR for monitoring the height of our lift.

Jason
  #13   Spotlight this post!  
Unread 10-02-2007, 15:20
ktrussell ktrussell is offline
Registered User
AKA: Kenny Trussell
FRC #1057 (Blue Knights)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Sandersville, GA
Posts: 7
ktrussell is an unknown quantity at this point
Re: Sharp IR distance sensors

Thanks for that tip, Jason. I saw in the datasheet that mirrors could cause a problem. I had assumed the diamond plate would be OK. I was wanting to use IR for that to avoid the more likely chance of interference from others Ultrasonic. I plan to experiment with both, however, today as a matter of fact. Now I've got to find some diamond plate..I wonder if aluminum foil would be a good substitute.
  #14   Spotlight this post!  
Unread 10-02-2007, 20:36
ktrussell ktrussell is offline
Registered User
AKA: Kenny Trussell
FRC #1057 (Blue Knights)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Sandersville, GA
Posts: 7
ktrussell is an unknown quantity at this point
Re: Sharp IR distance sensors

I tried aluminum foil wrapped around cardboard and found exactly the problem Jason describes. As I sweep the foil through angles off 90 degrees I find various spots where the object seems to disappear to the sensor. I would say it isn't totally useless by any means for detecting the diamond plate (well, my simulated diamond plate, at least) but one will need to be aware of its faults.
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
jumper cabling from sensors to controller Gary Dillard Electrical 4 23-12-2005 07:42
Distance between IR sensors? supergrover Programming 1 31-03-2004 15:52
Getting Fancy with Sensors FadyS. Programming 30 10-03-2004 15:02
Why not analog sensors?? gnormhurst Programming 16 07-03-2004 16:14
optimum sensing distance for sensors DaveG702 Electrical 3 31-01-2003 22:06


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