Hacker News

tylerjaywood
I used pulsar detection techniques to turn a phone into a watch timegrapher chronolog.watch

tylerjaywoodop3 days ago

I built an audio timegrapher feature for my watch accuracy app, ChronoLog. Professional timegraphers use a piezo contact sensor and can cost upwards of $1,000. I wanted to do it with a phone mic.

The problem: an iPhone's built-in microphone picks up a mechanical watch's tick at about 1.5 dB SNR. The solution turned out to be epoch folding — the same technique radio astronomers use to find pulsars. Stack 100+ tick periods together and you get +20 dB of effective gain, enough to reliably measure rate and beat error.

The post covers the full DSP pipeline — bandpass filtering, epoch folding, autocorrelation (and why it finds harmonics before fundamentals at low SNR), Kalman filtering for convergence — and what I learned from five rounds of device testing.

TApplencourt22 minutes ago

How does it compare to other apps ("watch accuracy meter" for example) on android?

hn-front (c) 2024 voximity
source