View Single Post
  #4   Spotlight this post!  
Unread 24-10-2014, 12:01
ehochstein's Avatar
ehochstein ehochstein is offline
Coach, Volunteer & Mentor
AKA: Evan Hochstein
FTC #5943 (ESGM)
Team Role: Coach
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Bloomington, Minnesota
Posts: 933
ehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant future
Re: Buying components from eBay?

Keep in mind you're also paying for quality. I've used the MaxBotix sensor (from AndyMark) before at it works very well.

I looked up the HC-SR04 sensor and read a couple of the reviews on Amazon, I've quoted a portion on one below.

Quote:
These SR-04s are readily available now for under two dollars each. I have a dozen of them from various importers. They work OK with various Arduino libraries. It's an extremely useful sensor for countless project.

As some people noted, they also return garbage data at times, especially right after the distance to the target changes. Some of the units are better than others that way, some are quite bad. What the issue seems to be is not responding fast enough for the software, or not at all. Many example sketches translate the invalid state to "0 cm". A filter in the code to discard bad results helps, but that slows average response. If you use the NewPing library's timer interrupt mode, you get no "0 cm", the code waits, sometimes a second or more. I'm not 100% clear on this yet. It's best to buy several and use the better ones. For me, the more expensive 3 pin "Ping" module, that the SR04 apparently copied, performs much better.
__________________
Minnesota FIRST Senior Mentor | 2013-?

Stratasys Applications Engineering Technician | 2016-?

2009 Regional Win – 2470 @ 10k Lakes (Thanks 2826 and 1714)
2013 WFFA Recipient – 2470 @ 10K Lakes
2016 Ri3D: 'Snow Problem Reveal
2017 Ri3D: 'Snow Problem Reveal

The opinions expressed above are the personal opinions of the author and do not necessarily represent the views and opinions of any organization the author is affiliated with.