HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
hcfman
sbts-aru
Shell2023–2024
hcfman / sbts-aru

sbts-aru

Low cost Raspberry Pi sound localizing portable Autonomous Recording Unit (ARU)

2Distinct people
35Mentions
1Explicit recommenders
168GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Low cost Raspberry Pi sound localizing portable Autonomous Recording Unit (ARU)

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

I recommend primo EM272 microphone capsules for use with https://github.com/hcfman/sbts-aru. They are high quality, very sensitive with high signal to noise ratio, lauded for…

hcfman used a recommendation phrase. One indexed comment matches. This is a phrase match, not a verdict.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 5:04:57 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by month35 dated mentions

Observed mentions: 2023-09-04 06:56:40 UTC to 2024-07-08 07:06:47 UTC.

02462023-09-01 00:00:00 UTC to 2023-10-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsSep 20232023-10-01 00:00:00 UTC to 2023-11-01 00:00:00 UTC (exclusive): 7 mentions; 3 submissions, 4 comments2023-11-01 00:00:00 UTC to 2023-12-01 00:00:00 UTC (exclusive): 5 mentions; 1 submissions, 4 comments2023-12-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2024-01-01 00:00:00 UTC to 2024-02-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2024-02-01 00:00:00 UTC to 2024-03-01 00:00:00 UTC (exclusive): 3 mentions; 0 submissions, 3 commentsFeb 20242024-03-01 00:00:00 UTC to 2024-04-01 00:00:00 UTC (exclusive): 6 mentions; 0 submissions, 6 comments2024-04-01 00:00:00 UTC to 2024-05-01 00:00:00 UTC (exclusive): 3 mentions; 0 submissions, 3 comments2024-05-01 00:00:00 UTC to 2024-06-01 00:00:00 UTC (exclusive): 4 mentions; 0 submissions, 4 comments2024-06-01 00:00:00 UTC to 2024-07-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2024-07-01 00:00:00 UTC to 2024-08-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsJul 2024

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Sep 20232023-09-01 00:00:00 UTC2023-10-01 00:00:00 UTC101
Oct 20232023-10-01 00:00:00 UTC2023-11-01 00:00:00 UTC734
Nov 20232023-11-01 00:00:00 UTC2023-12-01 00:00:00 UTC514
Dec 20232023-12-01 00:00:00 UTC2024-01-01 00:00:00 UTC202
Jan 20242024-01-01 00:00:00 UTC2024-02-01 00:00:00 UTC101
Feb 20242024-02-01 00:00:00 UTC2024-03-01 00:00:00 UTC303
Mar 20242024-03-01 00:00:00 UTC2024-04-01 00:00:00 UTC606
Apr 20242024-04-01 00:00:00 UTC2024-05-01 00:00:00 UTC303
May 20242024-05-01 00:00:00 UTC2024-06-01 00:00:00 UTC404
Jun 20242024-06-01 00:00:00 UTC2024-07-01 00:00:00 UTC202
Jul 20242024-07-01 00:00:00 UTC2024-08-01 00:00:00 UTC101

What Hacker News says

35 sources
If you want to setup a chrony time server that maintains accuracy to within a microsecond and doesn’t do this with a network connection then you could try my sbts-aru project and just not use the audio recorder parts of it. https://github.com/hcfman/sbts-aru It installs with a single command on all Raspberry Pi versions and takes care of all the dependencies, configuration and startup order details to install and start working with one command. It’s a sound localizing audio recorder platform and that’s why it also sets up accurate time. It’s using GPS to get its time from.
In More Memory Safety for Let's Encrypt: Deploying ntpd-rs
Real nice resource! And if any geeks want to get involved with adding to the recordings but don’t want to invest much, I have a raspberry pi recorder project that can help. It even runs on a pi zero. https://github.com/hcfman/sbts-aru As an added bonus, if what you are recording can be heard on three recorders or more you can sound localize with them. Find out where that wood pecker is pecking from for example. Lastly. You can synchronise the time on all your computers with it as it doubles as a time server with sub-microsecond time accuracy. (PS. Love the comments about New Zealand here, I’m from New Zealand :-) )
In Map of forest sounds from around the world
My project, sbts-aru, https://github.com/hcfman/sbts-aru uses a GPS to synchronise the time with and then even when running completely disconnected from any network the clocks will be accurate to real time with less than 1 microsecond of error. Typically the system time hovers around 100 ns or less from the real time. And I’ve tested this by triggering interrupts on gpio’s on two devices with the same switch and printing the time. Syncing to sub microsecond accuracy is usually achieved in under a minute.
In Long distance sound localization with the Raspberry Pi
That’s a nice read, thank you for that. If he sets up three or more recorders then next time he can find out within minutes of the first bang to within meters. But his article presents a fun challenge. He doesn’t say where his receiver locations are but he does give a triangle dimensions. I wonder if it’s possible to map this onto the street names and then work out which farm it was. It seems likely that there is only one way to map that triangle so each vertex is on the street it is reported to be on. Then you could invent a time, any time and add the number of seconds that he mentions to get the two other times. Now you have the times and the co-ordinates, within the constraints from the time inaccuracies you could run the docker version of my localization program (https://github.com/hcfman/sbts-aru) on this input and it would output th
Read the rest
e map link to the offending farm. With a largish degree of error. Note. From the diagram, the sound source doesn’t fall within the triangle of receivers. This can still work, but the convergence drops off after a time so you can only practically localize this if the distance is not too far outside. But if you make battery powered receivers, you choose a better spot and move one if the recorders so it does fall within the triangle. Also, just one second of error is a lot!
In Long distance sound localization with the Raspberry Pi
Nice to see people able to use tech to help reduce/manage their stress/trauma in such horrific situations. Good point about telegram. As much local control as possible is desirable. Do the text to speech interfaces work offline with the chosen devices ? If so, I’ll likely have a play. I have a project that might be able to help with your situation. A Raspberry Pi based sound localization system. It’s very accurate. Last weekend I localized an explosion (fireworks) to within 20m from the actual location with 4 recorders. two of which were 3km from each other. Unlike most ARUs (autonomous recording units) which are based on microcontrollers and need post processing to determine an event start time, the Pi system could be used as the basis for a real time localization system as the system times is sub microsecond accurate. With likely a smal
Read the rest
l amount of new development and co-operation with your friends you could be alerted in real time when artillery or gunfire is getting close to you. Along with a map location of where it was fired from My license forbids government use (attaching consequences to the small developer unfriendly cyber resilience act that is stealing from small developers and giving to rich ones) but personal civilian use is just fine. https://github.com/hcfman/sbts-aru (PS. I agree on with the sentiments of the above authors about war. It’s sad that our governments instead of putting everything into driving to peace are spending our future climate change defence money on destruction and they are gunning for it with an insane appetite)
In How Home Assistant is being used to protect from missile and drone attacks
Nice article and lovely piece of kit that one from sparkfun. Will likely be getting one next year to further my experiments with gunshot localization, on my Pi-based sound localization platform (https://github.com/hcfman/sbts-aru). Though at the distances I'm localizing the phone based GNSS seems to be working quite well. With an RTk GNSS though I could do some experiments with localizing bat calls. I've tested the Pettersson Ultrasonic microphones with my localization platform and that works fine. I suspect that the bat localization I could achieve if my co-ordinates had RTK accuracy would be pretty damned good! But I have to try it to know.
In RTK Experiments
If you install my sbts-aru project https://github.com/hcfman/sbts-aru It will shrink your partitions, add new ones and install one of these and set up a sub micro second system clock and an audio recorder suitable for sound localization with a single install command. Works on all versions of Pi in both raspbian and bookworm. If you don’t need the recorder just turn it off but you have a rootfs, a swap fs, a config fs and a disk fs.
In Running a Raspberry Pi with a read-only root filesystem
Categorisation will certainly be error prone as there is so much similarity because fireworks and gunshots. The main difference I expect is the speed of the shockwave resulting in steeper spectrograms for gunshots. However, a steep spectrogram is essentially showing a large amount of high as well as low frequencies. The higher frequencies degrade very quickly over distance reducing the difference of a gunshot from a firework the more this degrades. Not finding evidence is a different problem, it could be as simple as using a revolver rather than a semi-auto that ejects the cartridges. In any case, it would be great to see independent testing of this problem by the sort of people in this forum and you can use the software I developed last year (https://github.com/hcfman/sbts-aru) to do so. That software sets the time on the Raspberry Pi t
Read the rest
o have less than 1 microsecond of error, which is more than enough for any validation efforts.
In ShotSpotter: listening in on the neighborhood

Showing the 15 most recent of 35 sources. Enable JavaScript to search and browse every indexed mention.

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.