How does the Ping ultrasonic range finder work?

How does the Ping ultrasonic range finder work?

The Ping))) is an ultrasonic range finder from Parallax. It detects the distance of the closest object in front of the sensor (from 2 cm up to 3m). It works by sending out a burst of ultrasound and listening for the echo when it bounces off of an object.

How does the ultrasonic range finder on Arduino work?

Arduino Ping Ultrasonic Range Finder Code. The Ping))) is an ultrasonic range finder from Parallax. It detects the distance of the closest object in front of the sensor (from 2 cm up to 3m). It works by sending out a burst of ultrasound and listening for the echo when it bounces off of an object.

How to use multiple ultrasonic sensors in a chain?

To sequentially read each sensor, connect your triggering device to pin 4 (RX) of the first sensor, then connect pin 5 (TX) output of the first sensor to the RX pin of the next sensor that is to be ranged in sequence. Do this with however many sensors are to be used in the chain.

How often can you start a maxsonar ultrasonic sensor?

For the MaxSonar sensors, you can start multiple ultrasonic sensors at the same time by pulling the RX pins high for the 20uS. For the LV-MaxSonar sensors, this can be done as often as every 50ms. For the XL-MaxSonar sensors, this can be done as often as every 100mS or more.

How does an Arduino ping range finder work?

It pings the obstacles with ultrasound. The Arduino or Genuino board sends a short pulse to trigger the detection, then listens for a pulse on the same pin using the pulseIn () function. The duration of this second pulse is equal to the time taken by the ultrasound to travel to the object and back to the sensor.

What are the pins on an ultrasonic sensor?

This is a very simple and useful ultrasonic sensor. There are four pins that you would use to interface with the sensor: VCC, Trig (signal output pin), Echo (signal input pin), and GND. Each of the four pins are connected to the Arduino: VCC to 5v, Trig to a digital pin, Echo to a digital pin, and GND to GND (ground).