element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • 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
  • 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
Sensors
  • Technologies
  • More
Sensors
Sensor Forum How to detect vehicle sound at 100 m distance using microphone and Arduino?
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Sensors to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 10 replies
  • Subscribers 339 subscribers
  • Views 269 views
  • Users 0 members are here
Related

How to detect vehicle sound at 100 m distance using microphone and Arduino?

abhishekks
abhishekks 3 days ago

Hello everyone,

I am working on a project where I need to detect the sound of vehicles (cars, heavy trucks) from a distance of around 100 m. The microphone will be placed in an open area on land, and the goal is to identify when a vehicle is approaching.

Currently, I am evaluating microphones like AOM-5024L-HD-R and CMA-4544PF-W, connected to a MAX9814 preamplifier module, with the output fed into an Arduino Uno ADC.

My questions are:

  1. What type of microphone is most suitable for long-distance vehicle detection (100 m)?
  2. How can I calculate whether the microphone output voltage will be sufficient for reliable detection at that distance?
  3. Should I use additional filters (e.g., low-pass or band-pass) to separate vehicle sound from background noise (wind, people, etc.)?
  4. Would I need a higher-gain preamplifier or a different approach (like a geophone or array microphone) for better detection?

Any advice, references, or design suggestions will be very helpful.

  • Sign in to reply
  • Cancel

Top Replies

  • beacon_dave
    beacon_dave 3 days ago in reply to abhishekks +2
    If it is a narrow capture angle you could perhaps try a large diameter parabolic reflector with the mic placed at the focal point. It's surprising what you can hear with your ear at the focal point of…
  • michaelkellett
    michaelkellett 3 days ago +1
    This can help you: https://calculator.academy/road-noise-calculator/ Then use the sound level to work out how much output from your microphone. You will have huge problems with wind noise and other…
  • beacon_dave
    beacon_dave 3 days ago in reply to beacon_dave +1
    Depending on the application, a camera with motion tracking algorithm might also be worth considering as an alternative.
Parents
  • robogary
    0 robogary 3 days ago

    Very intriguing project ! With no experience myself with the signal processing portion, Id like to learn more by asking questions that hopefully the community can help with.

    The microphone analog input of the sound source to Arduino has 2 properties: frequency bandwidth and amplitude. The amplitude for the Arduino input is 0-5v for 1023 counts. Your microphone detection of traffic at 100m is likely alot smaller amplitude than at 1m. Does the dynamic range of the signal provide digital resolution in Arduino , i.e. 50mV is 1 count ? 

    Traffic noise is likely low frequency- maybe as low as 30-50Hz, maybe to 500 Hz ? Analog filter would be good to get rid of unnecessary audio content.

    Do you envision to scan the analog input as fast as possible, or interrupt to create sampling comparable to 1 or 2 kHz ? 

    I could be making this task way overcomplicated, do you have some example code or library to convert the digital samples to a frequency spectrum ? I expect this library would be significant.

    I have played with a MSGEQ IC that uses a comparator ladder and filters to output bits based on frequency. 

    https://www.digikey.com/htmldatasheets/production/2071107/0/0/1/msgeq7.html?gclsrc=aw.ds&gad_source=1&gad_campaignid=120565755&gclid=Cj0KCQjw_rPGBhCbARIsABjq9cdKCctZg2WHu3NC_ZxKhzYaMPR5LzzfQyZzkXQYnzaytEZl5qho1fMaAieCEALw_wcB

    The Arduino code needed to scan & demultiplex is straightforward,  but you likely could not tell the difference between a truck at 100m or a duck at 1 m , without some knowledge of the frequency spectrum signature of the source. 

    Id like to understand more of the digital signal processing part, but particular to your project, maybe it better to focus on ground vibration for vehicle detection rather than audio. 

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • robogary
    0 robogary 3 days ago

    Very intriguing project ! With no experience myself with the signal processing portion, Id like to learn more by asking questions that hopefully the community can help with.

    The microphone analog input of the sound source to Arduino has 2 properties: frequency bandwidth and amplitude. The amplitude for the Arduino input is 0-5v for 1023 counts. Your microphone detection of traffic at 100m is likely alot smaller amplitude than at 1m. Does the dynamic range of the signal provide digital resolution in Arduino , i.e. 50mV is 1 count ? 

    Traffic noise is likely low frequency- maybe as low as 30-50Hz, maybe to 500 Hz ? Analog filter would be good to get rid of unnecessary audio content.

    Do you envision to scan the analog input as fast as possible, or interrupt to create sampling comparable to 1 or 2 kHz ? 

    I could be making this task way overcomplicated, do you have some example code or library to convert the digital samples to a frequency spectrum ? I expect this library would be significant.

    I have played with a MSGEQ IC that uses a comparator ladder and filters to output bits based on frequency. 

    https://www.digikey.com/htmldatasheets/production/2071107/0/0/1/msgeq7.html?gclsrc=aw.ds&gad_source=1&gad_campaignid=120565755&gclid=Cj0KCQjw_rPGBhCbARIsABjq9cdKCctZg2WHu3NC_ZxKhzYaMPR5LzzfQyZzkXQYnzaytEZl5qho1fMaAieCEALw_wcB

    The Arduino code needed to scan & demultiplex is straightforward,  but you likely could not tell the difference between a truck at 100m or a duck at 1 m , without some knowledge of the frequency spectrum signature of the source. 

    Id like to understand more of the digital signal processing part, but particular to your project, maybe it better to focus on ground vibration for vehicle detection rather than audio. 

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • abhishekks
    0 abhishekks 31 minutes ago in reply to robogary

    hi robogary,

    thanks for your knowledge.
    my first phase of project is to detect vehicle sound (ex: Innova car) from distance moving towards mic. output should be some voltage level and while moving towards Mic voltage level should increase.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • 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