You are on page 1of 7

SEARCH SIGN IN

SIGN IN HOME BUY SOFTWARE PRODUCTS EDUCATION RESOURCES COMMUNITY HELP

Blog Home > Dual ultrasonic sensors combine for 2D echolocation

Dual ultrasonic sensors combine for 2D


echolocation
Posted by: ARDUINO TEAM — July 13th, 2018
SEARCH SIGN IN

SIGN IN HOME BUY SOFTWARE PRODUCTS EDUCATION RESOURCES COMMUNITY HELP

Ultrasonic sensors are great tools for measuring linear distance or object presence. As shown
in this experiment by “lingib,” two sensors can also be combined to determine not just linear
distance to a sensor, but its position in an X/Y plane.

For his experiment, he hooked two of these units up to an Arduino Uno at a known distance
from each other, with one emitter blanked out with masking tape. The non­blanked emitter
pulses an ultrasonic signal, which is bounced back to it as well as the second sensor by the
measured object. From the time it takes to receive the return signal, distance to each sensor
SEARCH SIGN IN
can be inferred, giving a triangle with each side known. Trigonometry is then used to pinpoint
the item’s position, and a Processing sketch displays coordinates on lingib’s computer.
SIGN IN HOME BUY SOFTWARE PRODUCTS EDUCATION RESOURCES COMMUNITY HELP
This Instructable explains how to pinpoint the location of an object using an Arduino,
SEARCH SIGN IN
two ultrasonic sensors, and Heron’s formula for triangles. There are no moving parts.

Heron’s Sformula
IGN IN HOME
allows BUY
you to Scalculate
OFTWARE PRODUCTS
the EDUCATION
area of any triangle forR Ewhich
SOURCES COMMUNITY
all sides are HELP

known. Once you know the area of a triangle, you are then able to calculate the
position of a single object (relative to a known baseline) using trigonometry and
Pythagoras.

The accuracy is excellent. Large detection areas are possible using commonly available
HC­SR04, or HY­SRF05, ultrasonic sensors.

Construction is simple … all you require is a sharp knife, two drills, a soldering iron, and
a wood saw.
SEARCH SIGN IN
Dual Sensor Echo Locator

SIGN IN HOME BUY SOFTWARE PRODUCTS EDUCATION RESOURCES COMMUNITY HELP

Boards: UNO

Categories: ARDUINO FEATURED

Like 267 Tweet Compartilhar

You can follow any responses to this entry through the RSS 2.0 feed. You can leave a
response, or trackback from your own site.
SEARCH SIGN IN

SIGN IN HOME BUY SOFTWARE PRODUCTS EDUCATION RESOURCES COMMUNITY HELP


LEAVE A REPLY
You must be logged in with your Arduino account to post a comment.

PREVIOUS BLOG POST NEXT BLOG POST

Morse code input for Android with Stepper motor utilized as a rotary
Arduino encoder with Arduino

BLOG HOME
SEARCH SIGN IN

SIGN IN HOME BUY SOFTWARE PRODUCTS EDUCATION RESOURCES COMMUNITY HELP

NEWSLETTER

ENTER YOUR EMAIL TO SIGN UP SUBSCRIBE

Terms Of Service
Privacy Policy
Contact Us
About Us
Careers
© 2018 Arduino

You might also like