Acoustic Drone Detection On the Cheap with ESP32
We donât usually speculate on the true identity of the hackers behind these projects, but when [TN666]âs accoustic drone-detector crossed our desk with the name âBatearâ, we couldnât help but wonderâ is that you, Bruce? On the other hand, with a BOM consisting entirely of one ESP32-S3 and an ICS-43434 I2S microphone, this isnât exactly going to require the Wayne fortune to pull off. Indeed, [TN666] estimates a project cost of only 15 USD, which really democratizes drone detection.
The key is what you might call âretrovationââ innovation by looking backwards. Most drone detection schema are looking to the ways we search for larger aircraft, and use RADAR. Before RADAR there were acoustic detectors, like the famous Japanese âwar tubasâ that went viral many years ago. RADAR modules arenât cheap, but MEMS microphones areâ and drones, especially quad-copters, arenât exactly quiet. [TN666] thus made the choice to use acoustic detection in order to democratize drone detection.
Of course thatâs not much good if the ESP32 is phoning home to some Azure or AWS server to get the acoustic data processed by some giant machine learning model. That would be the easy thing to do with an ESP32, but if youâre under drone attack or surveillance itâs not likely you want to rely on the cloud. There are always privacy concerns with using other peopleâs hardware, too. [TN666] again reached backwards to a more traditional algorithmic approachâ specifically Goertzel filters to detect the acoustic frequencies used by drones. For analyzing specific frequency buckets, the Goertzel algorithm is as light as they comeâ which means everything can run local on the ESP32. They call that âedge computingâ these days, but we just call it common sense.
The downside is that, since weâre just listening at specific frequencies, environmental noise can be an issue. Calibration for a given environment is suggested, as is a foam sock on the microphone to avoid false positives due to wind noise. It occurs to us the sort physical amplifier used in those âwar tubasâ would both shelter the microphone from wind, as well as increase range and directionality.
[TN] does intend to explore machine learning models for this hardware as well; he seems to think that an ESP32-NN or small TensorFlow Lite model might outdo the Goertzel algorithm. He might be onto something, but weâre cheering for Goertzel on that one, simply on the basis that itâs a more elegant solution, one weâve dived into before. It even works on the ATtiny85, which isnât something you can say about even the lightest TensorFlow model.
Thanks to [TN] for the tip. Playboy billionaire or not, you can send your projects into the tips line to see them some bat-time on this bat-channel.
I wonder how this fairs at detecting the figure 8 style drone propellers.
Perhaps the edge geometry could be adjusted to add other frequencies to confuse an automated detection system.
How it works
Once you click Generate, Ollama reads this article and crafts 5 comprehension questions. Your answers are graded against the article content â general knowledge won't be enough. Score 70+ to count toward your certificate.
Questions are cached â you'll always get the same 5 for this article.