by oblib · 3y ago · 0 comments
I live a rural area surrounded by public land and lots of hunters so hearing gunshots is common because there's almost always some kind of game in season, and fireworks are common as well because those are legal all year long here as well.
I found this awhile back: https://www.best-microcontroller-projects.com/sound-origin-d..., but I've not tried to set it up.
I have a few old RPi boards so I'll see if I can get this up and running.
It was quite challenging. There are several articles online about how to use a GPS to get really accurate time however, once you disconnect from the network it didn't work. What none of them said was that the default configuration of chrony and gpsmon resulted in the incorrect start order, so gpsmon was failing to communicate with chrony via shared memory. I solved a bunch of other problems as well.
And... I managed to find a way to shrink the installed file system so I could create new partitions on the same Raspberry Pi, without requiring another computer. A result that allowed me to make the full installation and configuration happen with one command only. Many people would be put off if another computer was needed for partitioning.