element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Community Hub
Community Hub
Member's Forum Using Multiple Ultrasonic Sensors
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Leaderboard
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Community Hub to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 10 replies
  • Subscribers 565 subscribers
  • Views 754 views
  • Users 0 members are here
  • new_member_introduction
Related

Using Multiple Ultrasonic Sensors

grondak
grondak over 6 years ago

I'd like to build a robot with three sensors for left, front, and right distances.   I'd like to ensure that the output signal of one sensor doesn't get picked up by the others' receivers.  Any ideas here? A physical "horn" to ensure selective hearing (heh)?

 

Thanks!

  • Sign in to reply
  • Cancel

Top Replies

  • michaelkellett
    michaelkellett over 6 years ago +2
    The easiest way to do it is to fire the sensors sequentially. You probably need to allow a time between sensors firing of at least 10 x transit time of the normal maximum detection distance. So if you…
  • dougw
    dougw over 6 years ago +2
    As Michael indicates, this is normally handled with sequential activation. This slows response time so sometimes it is not ideal. Best speed is achieved by using the return from one sensor to trigger the…
  • grondak
    grondak over 6 years ago in reply to dougw +2
    Many of the ultrasonic sensors that are easy to buy have a single circuit board with a transceiver pair. I searched online for a simple way to change the frequency on such boards but didn't find one right…
  • michaelkellett
    michaelkellett over 6 years ago

    The easiest way to do it is to fire the sensors sequentially.

    You probably need to allow a time between sensors firing of at least 10 x transit time of the normal maximum detection distance. So if you can detect at 2m you need to allow 320/40 = 0.125 seconds between one sensor and the next sending pulses.

    (I do mean to divide by 40 in the example because the distance is to the target and back again.)

     

    MK

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • dougw
    dougw over 6 years ago

    As Michael indicates, this is normally handled with sequential activation. This slows response time so sometimes it is not ideal. Best speed is achieved by using the return from one sensor to trigger the start of the next device.

    Another method is to use different frequencies for each sensor direction. This requires different narrow band sensors for each direction.

    It may be also possible to send from a single omni directional transmitter and have separate receivers for each direction. This could still result in a reflected signal arriving before a long return, depending on geometries involved - that needs to be assessed.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • grondak
    grondak over 6 years ago in reply to dougw

    Many of the ultrasonic sensors that are easy to buy have a single circuit board with a transceiver pair.  I searched online for a simple way to change the frequency on such boards but didn't find one right away.  Is there a method that you've seen for this?

     

    Also I like the sequential trigger idea.  An interrupt from receipt could read the timer and initiate the next device, in a ring.  Thank you!

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • grondak
    grondak over 6 years ago in reply to michaelkellett

    Thanks for the 10x figure, michaelkellett!

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • michaelkellett
    michaelkellett over 6 years ago in reply to grondak

    The low cost sensor pairs with electronics use tuned transmitters and receivers so they can only work at the designed frequency,

    I've never seen  a low cost system that used different frequencies to separate sensors.

     

    The 10x figure is a good rule of thumb, based on trying to measure reversing sensors and arrays of them in lab conditions. Once you get your system working you can experiment with  a bit of tuning of the interval.

    The problem with triggering in a ring is that depending on the target the first echo may well not be as big a a later echo from a different target and that the varying time between measurements may well cause problems at a system level.

     

     

    MK

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • dougw
    dougw over 6 years ago in reply to grondak

    Ultrasonic sensors typically have a resonant frequency that can't be changed much.

    A typical SRF04 or other sensor in the SRF series operates at 40 KHz.

    The Maxbotix sensors operate at 42 KHz.

    The URM06 (Sen151, Sen152) operate at 49.5 KHz.

    I have used piezo buzzers as transmitters and receivers as well - they are available in a wide variety of frequencies, but tend to be in the audible spectrum.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • grondak
    grondak over 6 years ago in reply to michaelkellett

    I suspect the next thing to do is to actually write the software and tune it with a test rig. Maybe I'll get to it this weekend!

    I'll post the Arduino or CircuitPy sketch up here for discussion when I do.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • grondak
    grondak over 6 years ago in reply to dougw

    Thanks for the hint re: resonant frequencies. I think I'm stuck with the other methods we've discussed. image I remember pursuing this on my own in the past and your post jogged my memory that Matrixbot are at 42KHz.

    Let's see how a test system works. image

    Tony

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • grondak
    grondak over 6 years ago

    Here is an article from MaxBotix on running multiple sensors.  Summary: the ring method is their preferred/most reliable way to handle multiple sensors. I have 3 Maxbotix HRLV-EZ4 devices, so I can chain them like the diagram!

    michaelkellett and dougw  thank you for the fine discussion.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • clem57
    clem57 over 6 years ago in reply to grondak

    Good work. Waiting to see how this turns out.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube