Hacker News
I used pulsar detection techniques to turn a phone into a watch timegrapher
tylerjaywood
|next
[-]
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.
CamelCaseCondo
|root
|parent
|next
[-]
TheJoeMan
|root
|parent
|next
|previous
[-]
staplung
|root
|parent
[-]
``` Before you start the delivery of accelerometer updates, specify an update frequency by assigning a value to the accelerometerUpdateInterval property. The maximum frequency at which you can request updates is hardware-dependent but is usually at least 100 Hz.
```
100Hz is way too slow. Presumably some devices go higher but according to the article the peak signal is in the 3kHz to 15kHz range.
aanet
|next
|previous
[-]
When you say "phone mic" do you mean the embedded one, or an external one?
silisili
|next
|previous
[-]
I bought and use the item linked below. It's big, and feels like tech straight out of the cold war era, but works great.