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 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
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • 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
In Reach! – Ultrasonic Sensor Sensing Challenge
  • Challenges & Projects
  • Design Challenges
  • In Reach! – Ultrasonic Sensor Sensing Challenge
  • More
  • Cancel
In Reach! – Ultrasonic Sensor Sensing Challenge
Forum Echo Park – Sound tube and Hardware Cleanup Post 5
  • News
  • Forum
  • Projects
  • DC
  • Files
  • Members
  • More
  • Cancel
  • New
Join In Reach! – Ultrasonic Sensor Sensing Challenge to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 0 replies
  • Subscribers 42 subscribers
  • Views 40 views
  • Users 0 members are here
  • Echo Park
  • parking assistant
  • In Reach!
  • Ultrasonic Sensor Sensing Challenge
  • TDK USSM1.0 PLUS-FS
Related

Echo Park – Sound tube and Hardware Cleanup Post 5

ralphjy
ralphjy 1 day ago

Sound tube

I'll have to give some credit to beacon_dave again for cajoling me into trying a sound tube to make the ultrasonic sensor more directional.  I had been complaining about latency I was getting from trying to use a moving average filter to reduce the multi-path noise that I was getting.  I had previously tried a short 30mm tube that I had printed for another project, but I couldn't really see any positive effect.

Here it is being used with my ESP32 setup:

image

I realized that the best way to get a quantitative look at the effect of a tube would be to use the Demo board with its GUI for quick visualization.  It seemed intuitive to me that the tube wasn't going to help much with the transmitted pulse, but would help restrict the angle of the received echoes.  I have no idea how I would go about optimizing a sound tube, so I took a seat of the pants empirical approach with the goal of just making the noise "better".   Dave had a picture of a long (>300mm) sound "trumpet" that was used on an 80's era ultrasonic tape measure.  It is basically a long tapered tube with the small end at the sensor.  I've seen sound tubes for PIL Sensors, but they are used only on the short range (400mm), high frequency (360KHz) sensors.  I decided to mimic the design of the SR04T - Ultrasonic distance sensor cone on Thingiverse that is designed for a 40KHz sensor.

image

I ended up trying a 40mm cylinder with a 30mm cone on top as it was quick to design and print.

image

I then printed a new mounting plate for the sensor and here is the new setup (I call it the sound trumpet in honor of Dave Relaxed):

image

image

Testing

To test the effect of the trumpet, I ran a series of envelope plots:

No trumpet, no target

image

No trumpet, square panel target at 120cm

image

Trumpet added, square panel target at 120cm

image

I'll admit that looking at the envelope data, I couldn't determine that I'd improved anything.  It looks like the amplitudes all increased and shifted in time.  The primary echo was wider.

What really surprised me was the Streamout readings.  Without the tube it was measuring 90cm and with the tube it was measuring 50cm.  I was using default thresholds, so I was probably catching the first secondary echo which had more amplitude with the trumpet added.

I had read that it might help to line the tube with sound absorbing material to prevent getting reflections caused by the transmit pulse.  So, I tried lining the tube with 1/8" felt that is used for furniture pads.

image

Re-ran the envelope tests.

Trumpet with felt lining, no target

image

Trumpet with Felt Lining, square panel target at 120cm

image

Now, the part that I don't fully understand is the Streamout data now shows 128cm and it is extremely stable (quiet).

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

I, then modified the thresholds (increased them for near echoes) and Streamout showed 123cm and it was even more stable.

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

So, I'm extremely happy with the results.  I'll need to modify the project setup so that I can use the trumpet and do additional testing in the garage.

Hardware cleanup

I'm in process of cleaning up the project hardware to get ready for final testing.

  • Created a separate assembly for the LED strip and buzzer so that they can be mounted above the sensor assembly for visibility (I settled on 50cm above).  I rewired things so that the buzzer and Neopixel wires are in the same Grove cable.
  • Modified the USSM sensor mount to accommodate the sound trumpet.
  • Made shelf mounting brackets for the LED and sensor assemblies.
  • Cleaned up wiring.
  • Added test points for the sensor level shifter.
  • Retested the hardware

Here is the side view of the final assembly with the trumpet and shelf mount.  The LED assembly is on the desk in back.

image

And the front view - you can see the felt lining in the trumpet cylinder.

image

And the assembly test video.

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

What's next?

Lots of software integration left.  Code became unmanageable, so need to modularize it.  And the final garage testing.  Many opportunities to break stuff.

And, of course, the Project Blog is going to take a bunch of time...

  • 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