Ultrasonic

The VEX Ultrasonic Range Finder helps determine how far away an object is.

The VEX Ultrasonic Range Finder, or simply the VEX Sonar, is a rangefinding device which uses pulses of high-frequency sound to estimate the distance to an object. It connects to the VEX Cortex or V5 Brain using two digital ports; one port to send a sound wave, and the other to receive it. The sensor runs continuously as long as it is being powered, meaning that even if no software is requesting the sensor's distance reading, it is still active. When the sensor is active, a faint and rapid ticking noise can be heard from the sensor.

In VEXcode, the Ultrasonic Range Finder returns the distance in the unit of measure that the programmer chooses, since unit of measure is a parameter necessary to get the distance. However, in PROS, the Ultrasonic Range Finder returns the distance specifically in centimeters. The sensor's distance range is between 3cm and 300cm. According to the VEX Robotics website, the sensor is sensitive enough to detect a pole with a diameter of 3cm at a distance greater than 2m.

Soft or rounded objects do not reflect sound as well and can confuse or elude the VEX Ultrasonic Range Finder. Using more than one VEX Ultrasonic Range Finder at a time can also cause interference.

Teams Contributed to this Article:

  • BLRS (Purdue SIGBots)

  • 904U (B.E.S.T.I.E. Robotics)

Last updated

Logo

This work is licensed under a Attribution-ShareAlike 2.0 Generic License