Go to Post Mmmm scrap used parts. Dismantle, find data sheets and have fun.:D - techhelpbb [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 22-01-2008, 18:04
Nathan's Avatar
Nathan Nathan is offline
Registered User
FRC #1501 (Team T.H.R.U.S.T.)
Team Role: Alumni
 
Join Date: Sep 2006
Rookie Year: 2007
Location: United States
Posts: 149
Nathan has a spectacular aura aboutNathan has a spectacular aura aboutNathan has a spectacular aura about
What's the best ultrasonic?

What is the best ultrasonic sensor? We need to buy some... I've been looking at these:

http://www.maxbotix.com/
http://www.parallax.com/Store/Sensor...me,ProductName

I don't think either of those take interrupt ports, a big plus in my mind.

So what do you guys think the best ultrasonic is? Not limited to the two posted above of course.

TIA,
Nathan
__________________
Save money with PriceWombat, a shopping comparison and price tracking tool (that I made!).

Check out my hobby electronics business!

My former robotics team: Huntington County 4-H Robotics
  #2   Spotlight this post!  
Unread 22-01-2008, 18:43
ubergeek5075's Avatar
ubergeek5075 ubergeek5075 is offline
Registered User
FRC #0910 (Foley Freeze)
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2005
Location: Troy, MI
Posts: 14
ubergeek5075 is an unknown quantity at this point
Re: What's the best ultrasonic?

We've used the Maxbotix ones without a hitch. Attach +5V, GND and AN to an analog port, and away you go.

Beware of using two at a time facing in the same general direction. The internal logic gets confused and unstable readings follow because they will interfere with each other.

See Maxbotix FAQ for a solution to that problem. If you control them with the RC (and pulse them at the same time), they won't interfere with each other.

We've had success with them, so I hope that you do,
Good Luck
__________________
2005 Newton Division Finalists
2006 IRI Champions
2007 Curie Division Champions
2007 MARC Champions
2007 ARC Champions
2007 Capped in autonomous....Twice
Just remember two things: THE Answer is 42, and
DON'T PANIC!
  #3   Spotlight this post!  
Unread 22-01-2008, 19:31
EHaskins EHaskins is offline
Needs to change his user title.
AKA: Eric Haskins
no team (CARD #6 (SCOE))
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Elkhorn, WI USA
Posts: 998
EHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond repute
Send a message via MSN to EHaskins
Re: What's the best ultrasonic?

I tested the Matbotix in 2006. They worked great. If I remember correctly an 8bit ADC the value is almost exactly the distance in inches.
__________________
Eric Haskins KC9JVH
  #4   Spotlight this post!  
Unread 06-02-2008, 12:00
Nathan's Avatar
Nathan Nathan is offline
Registered User
FRC #1501 (Team T.H.R.U.S.T.)
Team Role: Alumni
 
Join Date: Sep 2006
Rookie Year: 2007
Location: United States
Posts: 149
Nathan has a spectacular aura aboutNathan has a spectacular aura aboutNathan has a spectacular aura about
Re: What's the best ultrasonic?

We bought several of the Maxbotix sensors, but are having some serious issues with them.

Sometimes when we have the sensor hooked up and are reading the value in the terminal window the value will go insanely high, and then when we rotate the sensor the insane value returns to a normal value. By "insane value" I mean it jumps from around 13 to 213.

Has anybody else had this issue? We really want to use these ultrasonic considering we bought like 10 of them!!

Thanks,
Nathan
__________________
Save money with PriceWombat, a shopping comparison and price tracking tool (that I made!).

Check out my hobby electronics business!

My former robotics team: Huntington County 4-H Robotics
  #5   Spotlight this post!  
Unread 06-02-2008, 12:33
nparikh's Avatar
nparikh nparikh is offline
i heart infrared
AKA: Neil Parikh
FRC #0025 (Raider Robotix)
Team Role: College Student
 
Join Date: Jan 2004
Rookie Year: 2003
Location: North Brunswick
Posts: 285
nparikh has a reputation beyond reputenparikh has a reputation beyond reputenparikh has a reputation beyond reputenparikh has a reputation beyond reputenparikh has a reputation beyond reputenparikh has a reputation beyond reputenparikh has a reputation beyond reputenparikh has a reputation beyond reputenparikh has a reputation beyond reputenparikh has a reputation beyond reputenparikh has a reputation beyond repute
Send a message via AIM to nparikh Send a message via MSN to nparikh
Re: What's the best ultrasonic?

Agreed that the Maxbotix ones work! We used them on our 07 robot and have a stock of a few of them in case we want to use IR again!
__________________
Doing the right thing is always better than doing the easy thing.

Team 25 Alumnus
Attending: NJ Regional, Boston Regional, the Championship Event
  #6   Spotlight this post!  
Unread 06-02-2008, 13:02
Nathan's Avatar
Nathan Nathan is offline
Registered User
FRC #1501 (Team T.H.R.U.S.T.)
Team Role: Alumni
 
Join Date: Sep 2006
Rookie Year: 2007
Location: United States
Posts: 149
Nathan has a spectacular aura aboutNathan has a spectacular aura aboutNathan has a spectacular aura about
Re: What's the best ultrasonic?

Any idea why ours return bad values every once in a while?

-Nathan
__________________
Save money with PriceWombat, a shopping comparison and price tracking tool (that I made!).

Check out my hobby electronics business!

My former robotics team: Huntington County 4-H Robotics
  #7   Spotlight this post!  
Unread 06-02-2008, 13:51
gnormhurst's Avatar
gnormhurst gnormhurst is offline
Norm Hurst
AKA: gnorm
#0381 (The Tornadoes)
Team Role: Programmer
 
Join Date: Jan 2004
Location: Trenton, NJ
Posts: 138
gnormhurst will become famous soon enoughgnormhurst will become famous soon enough
Re: What's the best ultrasonic?

We're using a Vex unit. There's driver code available on this forum. Search for "sonar".

What you are seeing does not seem unusual. If there is just one or two bad readings in a row, you can write code to ignore sudden changes.

Also, consider that vibrations from the motors, etc, can confuse the sensor. We were getting mysterious readings but only when the motors were running. Unbolting the sensor from the bot and holding it by hand eliminated the problem. We remounted it using foam.

Note that if you use bolts through the foam to the chassis, the bolts will conduct the vibrations past the foam to the sensor. Mount the sensor to the foam, then the foam to the chassis.
__________________
Trenton Tornadoes 381
2004 Philadelphia Regional Winners
2006 Xerox Creativity Award
---
My corner of the USPTO.
My favorite error message from gcc: main is usually a function
My favorite error message from Windows: There is not enough disk space available to delete this file.
  #8   Spotlight this post!  
Unread 07-02-2008, 21:05
Nathan's Avatar
Nathan Nathan is offline
Registered User
FRC #1501 (Team T.H.R.U.S.T.)
Team Role: Alumni
 
Join Date: Sep 2006
Rookie Year: 2007
Location: United States
Posts: 149
Nathan has a spectacular aura aboutNathan has a spectacular aura aboutNathan has a spectacular aura about
Re: What's the best ultrasonic?

Yes, we could ignore the sudden changes, but since we wanted to use these for collision avoidance that wouldn't help us...
__________________
Save money with PriceWombat, a shopping comparison and price tracking tool (that I made!).

Check out my hobby electronics business!

My former robotics team: Huntington County 4-H Robotics
  #9   Spotlight this post!  
Unread 07-02-2008, 21:59
Phalanx's Avatar
Phalanx Phalanx is offline
Formerly Team 1089 (Mercury)
AKA: Michael Reffler
FRC #5431 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jun 2005
Rookie Year: 1999
Location: Lewisville, TX (previously NJ)
Posts: 384
Phalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond repute
Re: What's the best ultrasonic?

Quote:
Originally Posted by Nathan View Post
Sometimes when we have the sensor hooked up and are reading the value in the terminal window the value will go insanely high, and then when we rotate the sensor the insane value returns to a normal value. By "insane value" I mean it jumps from around 13 to 213.
Nathan
We've used them and they work well.
A few things I have found with them in order of significance....

1) On "power-up" they need a large, clear, wide and obstacle free area for self calibration to work well, if they don't calibrate well you will get odd readings.

2) They don't respond well to rapid large change in distance. For example, it's reading an object 10ft away, you put your hand in front of it and quickly remove it, it will take a few cycles to recover from that. Use an averaging routine or similar logic to get several readings before acting.

3) Isolate them from vibrations as much as possible, vibrations will get picked up and misinterpreted.

4) Use RF shielded cabling to eliminate other noise.
__________________
Don't just ask the experts, become one!
Leadership is not about ability. It's about responsibility!
Diagonally Parked in a Parallel Universe. It's okay we do Quantum Physics



Last edited by Phalanx : 07-02-2008 at 22:02.
  #10   Spotlight this post!  
Unread 07-02-2008, 23:02
Nathan's Avatar
Nathan Nathan is offline
Registered User
FRC #1501 (Team T.H.R.U.S.T.)
Team Role: Alumni
 
Join Date: Sep 2006
Rookie Year: 2007
Location: United States
Posts: 149
Nathan has a spectacular aura aboutNathan has a spectacular aura aboutNathan has a spectacular aura about
Re: What's the best ultrasonic?

When I've been turning on the RC (thus the ultrasonics) I had the obstacle about 12 inches in front of it. So maybe that is the issue, they aren't "calibrating" correctly?

I'm starting to like our daventechs more and more here...

Thanks,
Nathan
__________________
Save money with PriceWombat, a shopping comparison and price tracking tool (that I made!).

Check out my hobby electronics business!

My former robotics team: Huntington County 4-H Robotics
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
What's the best solution for a homebuilt robot arm? Chriszuma Chit-Chat 11 25-06-2006 01:55
What's the best free photo sharing site? Elgin Clock IT / Communications 7 27-11-2005 01:41
What's the best organizational structure for photos? maikull Chit-Chat 2 17-03-2005 17:47
What's the best free portal software? DCA Fan Website Design/Showcase 7 04-05-2003 17:32
What's the best qualifying rounds strategy? Ken Leung General Forum 24 24-03-2002 18:25


All times are GMT -5. The time now is 23:40.

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