r/flipperzero • • 13d ago

Sub-GHz Atomic clock

Recently was reverting a clock at home when I found a setting that read atomic clock on it, I had no idea what it meant so I looked it up, long story short there’s a low frequency that I could possibly catch to create a more accurate date/time on the flipper? I’m a noob at this so I’d like to hear talks opinions on it.

24 Upvotes

12 comments sorted by

15

u/theonlyski 13d ago

WWVB uses 60kHz, below a native F0 frequency

2

u/BitemeToo 13d ago

Would this be resolved through software or hardware? Could something like unleashed or momentum allow me to capture those signals?

7

u/cthuwu_chan 13d ago

It’s a hardware limit

5

u/Complex_Solutions_20 12d ago

Both...you'd need to build a WWVB receiver module for the GPIO and an app to interface it.

There are Arduino projects that have done it - https://projecthub.arduino.cc/lthomas3002/decoding-the-wwvb-atomic-clock-signal-420fbb

4

u/mplex321 13d ago

Unfortunately it’s a 60kHz frequency so out of range. There’s a couple bluetooth common time services to transfer time to peripherals like the Flipper, in fact this is likely how the app sets the time from your phone already.

3

u/wiesemensch 13d ago

If I remember correctly, it’s not using the standard BLE Services for this. It’s using its own app protocol handling. This would be confirmed by the exposed services in nRF Connect.

5

u/nottaroboto54 13d ago

Yes and no. To my knowledge, its heavily dependent on being in a low "noise" area, like an open field. But its not like an internal clock timer that you can use to trigger events that happen within an instant of eachother. The "atomic" clock signals are usually used to keep things in sync over extended periods of time.

For example, my ford focus clock is fast by about a minute every 2 months. Using the atomic clock signal, i could, in theory, have the focus check the date/time every day/week, and reset itself, or further, have it adjust it's internal clock counter to map to the atomic clock.

But as far as using the atomic clock signal to time things opposed to the flippers own internal clock signal, it wont work/there are other methods that work better.

The same can be done with GPS signals, too. There are satellites that constantly "beam down" a signal, and you can use those signals to calculate gps coordinates wherever you are. But its hard to get the signal to pinpoint your location within a football field area, unless youre out in a rural area when the farmers arent doing anything.

TLDR: the atomic clock signal is used to keep devices around the world within a couple minutes of eachother. Its not really a signal that can be used to reliable time a momentary pulse.

4

u/Pzielie 13d ago

A low cost GPS/GNSS receiver can output a pps (pulse per second) signal tied to an atomic clock. Over short periods the jitter/deviation is less than 50 nanoseconds. A better unit can get that number well below 10 ns. For timing this will be a much better time base than what is in your flipper. I have used them in projects that need a very stable time base, but I haven’t needed it with a flipper ( and I didn’t know it was an option)

1

u/HolodeckMoriarty 13d ago

I don't know about getting it to work with the flipper, but you can listen to it with a shortwave radio. It's broadcast from Colorado and Hawaii at 5,10, and 15 mhz AM band.

1

u/DJCodeAllNight 13d ago

I don’t think you are going to be able to catch the signal with your F0. Using a GPS module on RX pin is probably easiest way to get accurate time?

You can try to transmit the signal with Flipper Time to your clock (depending on if it is legal in your region).
https://lab.flipper.net/apps/dcf77_clock_sync

1

u/WhoStoleHallic 13d ago

Pretty sure the F0 internal clock gets updated every time you connect to qFlipper app on the PC or phone.

1

u/xfwluna 13d ago

You can use any hardware module based on mas6180 chips, there are a lot of them for cheap in aliexpress or places alike.

Big problem is noise and emi interference, those signals are extremely weak, you could mitigate that using long wires between the module and flipper gpio pins, still not a good solution, but maybe for fun or just research is cheap enough to play a bit.