Author Topic: PING))) Ultrasonic Sensor  (Read 1981 times)

0 Members and 1 Guest are viewing this topic.

Offline Yr0gErGTopic starter

  • Jr. Member
  • **
  • Posts: 18
  • Helpful? 0
PING))) Ultrasonic Sensor
« on: September 30, 2010, 02:28:43 AM »
Hi I would like to know certain applications for this particular sensor. I'm currently thinking of using this sensor in conjunction with a p18f4520 PIC microcontroller to detect a white block of dimensions 100mmX100mmX40mm at distances of 150mm, 350mm and 550mm. Will this sensor be able to perform such a task and to what accuracy? Is there anything to take note of when installing/mounting this sensor? Can i put this sensor close to a surface, like placing it a few cm over a robot base?

Offline garrettg84

  • Robot Overlord
  • ****
  • Posts: 187
  • Helpful? 8
  • Armchair Roboticist Extraordinaire
Re: PING))) Ultrasonic Sensor
« Reply #1 on: October 01, 2010, 02:07:43 PM »
Sounds like it should work, atleast up to the 350mm. The 550 mm you may experience a bit of jitter though. I just mocked up that setup with my ultrasonic sensor (and AVR micro) and a chunk of wood approx 100mm cubed at home. It was good for the 150mm distance, the 350mm distance and the 550mm distance it started some jitter.
-garrett

Offline knossos

  • Robot Overlord
  • ****
  • Posts: 278
  • Helpful? 14
Re: PING))) Ultrasonic Sensor
« Reply #2 on: October 01, 2010, 04:22:26 PM »
Can i put this sensor close to a surface, like placing it a few cm over a robot base?


Remember the signal spreads out in a cone shape (like this < ).  If you are too close to a surface you can get inaccurate readings.  A simple solution is to tilt the sensor upwards so that the bottom of the cone is approx parrallel to the surface.  (Like this /_  ).  You shouldn't have to tilt it much ( No  more than about 1/2 the beamwidth).
"Never regret thy fall,
O Icarus of the fearless flight
For the greatest tragedy of them all
Is never to feel the burning light."
 
Oscar Wilde

Offline MtnbikerET

  • Beginner
  • *
  • Posts: 6
  • Helpful? 0
Re: PING))) Ultrasonic Sensor
« Reply #3 on: October 02, 2010, 11:14:45 PM »
Just make sure its on the front of your robot, and facing perfectly parallel to the object. Perhaps an IR rangefinder would be better for your needs.
p.s: don't try to make your own ultrasonic sensor. I tried it, and utterly failed.

 


Get Your Ad Here