Settings

Theme

Time Station Emulator

github.com

240 points by FriedPickles 5 days ago · 60 comments

Reader

cvoss 5 days ago

I once programmed my TI-84 calculator to do exactly this! The only missing thing was a circuit to convert the audio jack output voltage into the needed form for an antenna. I had the CS know-how but no EE know-how, so I never got it to work. It was fun to dream about confusing my high school's clocks though. (Sadly, the other obstacle was that the clocks only listened for the signal overnight, which improved their chances of detecting the weak broadcast out of far-away Colorado.)

  • NegativeK 4 days ago

    I didn't know that about the overnight; that's neat. I'm often in my garage before work, and I always assumed the 5am reset time was just because only weirdos are noticing a clock whir its arms around then.

    • xattt 4 days ago

      I live just beyond the fringe zone for reception of WWVB on my Casio Waveceptor. Depending on solar conditions, and how I leave the watch overnight (south-east facing window with space to a metal window frame for a coupling effect), I can get it to sync once in a while.

  • direwolf20 4 days ago

    > audio jack

    That's a serial port, except when you're playing Bad Apple

anfractuosity 4 days ago

You can apparently lock shopping trolleys using the same kind of principle - https://www.tmplab.org/2008/06/18/consumer-b-gone/

And https://www.youtube.com/watch?v=LmSyb0kBvGE

  • axus 4 days ago

    He kind of buried the lede, there's another MP3 to unlock them.

mikestew 5 days ago

“One of the higher-frequency harmonics inevitably created by any real-world DAC during playback will then be the original fundamental, which should leak to the environment as a short-range radio transmission via the ad-hoc antenna formed by the physical wires and circuit traces in the audio output path.”

Sometimes I think I’m a smart guy…and then I read of people doing shit like this.

  • fragmede 4 days ago

    Van Eck Phreaking dates back to 1982, which used CRTs, and if you're aware of that, it's not an insurmountably huge logical leap to realize that modern hardware can be exploited the same way (thanks to greater sensitivity in receiving devices).

    https://en.wikipedia.org/wiki/Van_Eck_phreaking

  • hahahahhaah 4 days ago

    THIS is what you call hacking

    • gchadwick 4 days ago

      A shame this hasn't shot to number 1 on HN and stayed there. At least it's getting reasonable upvotes.

      This is a truly fantastic piece of hacking, going by the original meaning of the word as used within the dawn of the computer era.

  • jofzar 4 days ago

    Came here to say this, I literally can't believe this works.

    It's like a couple of years ago where someone showed a proof of concept of turning a HDD into a microphone

    • jasonjayr 4 days ago

      It turns out those shopping car wheel locks use the same kind of low-frequency RF that can leak from your phone speaker. Someone made an app that allows you to lock or unlock certain shopping carts.

    • xattt 4 days ago

      … and I thought the Scanjet 5p “Ode to Joy” easter egg was incredible.

  • qingcharles 3 days ago

    Me, every day on HN, feeling that imposter syndrome.

jhbadger 4 days ago

This could be really useful in the future. NIST has been talking about retiring its radio-syncing signal, as there are better modern alternatives with satellites, the Internet, etc. But last time they suggested this there was an outcry, not just from the public with old radio-synced clocks and watches, but also industry with legacy equipment using it. This provides a solution.

  • lxgr 4 days ago

    Satellite-based time signals also seem easier to spoof, given the inherent power constraints of the transmitters.

    That said, newer ones can use authentication, which (together with a reasonably accurate local oscillator) can prevent at least trivial spoofing.

    • WorldMaker 4 days ago

      The most common satellite-based time signal today is GPS and global navigation system signals are possible to spoof, but it is harder than "trivial" at least.

Chaosvex 5 days ago

Shame there's no video demonstrating it working. It's a fun idea but without a demo, I'm left wondering about the efficacy.

sublinear 4 days ago

I can't tell if I'm fooling myself or if this actually (partially) worked. Is it possible for only the hour and seconds to sync if the signal isn't perfectly received? How long is it supposed to take to sync the time? Is it possible that this can confuse clocks that get a strong enough real signal while the phone is running this nearby?

I just tried it on a clock that has only ever successfully synced once many years ago, and it's still in the same bad location that never seemed to get a strong enough signal.

Its crappy little LCD animation did indeed seem to dance in sync with when I would turn the signal on and off on my phone. It took a few minutes of trying but then suddenly the hour and seconds updated to the exact time. Had to set the minutes manually :/

  • wildzzz 4 days ago

    It takes a whole minute for the entire data frame to be transmitted. While 1 bps is great for propagation, WWVB (and it's kin) is a really weak signal to pickup using the tiny antennas these kinds of clocks have. There's a relationship between received power, modulation type, data rate, error correction, and error rate so changing one will change others. Thus it can sometimes take at least several minutes for all of the timing data to be gathered as there is no error correction included in the data frame. Also the HF spectrum is incredibly noisy as switch-mode power supplies (pretty much in everything these days) produce a ton of interference so taking a battery powered clock outside can help greatly.

    WWVB clocks are great but aren't so good these days. NTP is pretty much as good as anyone will ever need in their home but this has the downside of usually requiring internet access. GPS clocks have been the standard for 30+ years for anyone needing precision timing.

SamBam 4 days ago

I have a big old analog radio-controlled clock in my classroom, and it's always about 4 minutes fast, which would drive me nuts except most of my students can't read analog time so they're never confused by it.

Regardless, I'm excited to try this out next time I'm in the classroom. I'm a little confused by time zones, however. My clock has no controls on the back whatsoever (at least that I can find, I haven't opened it up), so I assume it doesn't know what time zone I'm in.

So do I need to set the time zone on the station emulator? There's an "offset" setting, but it says it's only for correcting "minor errors."

  • LeoPanthera 4 days ago

    If you are in the USA, your clock must have a time zone control (or be fixed to one time zone), because the WWVB signal broadcasts UTC.

    • SamBam 4 days ago

      Ah, hunting the serial number led me to discover that the clock is part of a centrally-synchronized wireless clock system. The company is discontinued, so who knows how old these are. So I'm going to hunt down a wireless transmitter somewhere in the building that is setting my clock four minutes fast... Oh well, I don't get to try out OP's cool tech!

airbreather 4 days ago

check out this guy, doing something similar sending Lora packets without a radio - https://youtu.be/eIdHBDSQHyw?si=MGteEp72Mz52qNqu

"This video explores LoRaWAN communication using a microcontroller without a dedicated radio chip. CNLohr demonstrates techniques to transmit LoRa packets over surprisingly long distances, pushing the limits of inexpensive hardware. The project involves creative software and hardware interaction to generate signals at unexpected frequencies."

McGlockenshire 5 days ago

This is pretty darn cool, but I have to say I was somewhat let down by the WWVB signal. I was expecting the entire audible range instead of simply the extracted data. That being said, that's also really darn cool.

I find the WWV/WWVB droning soothing somehow.

LeoPanthera 4 days ago

It says it doesn't work on iOS Safari, but iOS users can get the "Clock Wave" app from the app store which does the same thing. (And allows fun time zone tricks with clocks from other countries.)

  • ricktdotorg 4 days ago

    thank you for this reply! i've got 6x CASIO watches and have struggled to the time on them synced for over a decade. a quick [small] purchase later and every single one of my CASIOs are synced. i'm so happy. its the little things that matter. thanks again.

pesfandiar 4 days ago

I'm surprised and impressed that this works. I would've guessed phones have enough RF shielding and low-pass filters in the audio path to prevent this.

tamimio 4 days ago

Very impressive, I just tried it, the first time it worked but synced the wrong time, despite the device time is correct, the browser (preview part) had the wrong time however. I tried to offset the time and sync it again, the watch is detecting the signal but no sync.

Nonetheless, pretty amazing!

  • tamimio 3 days ago

    Just an update on this, it turned out my watch also adds an offset hence the wrong time, just remove the site offset and it works flawlessly!

com2kid 4 days ago

I remember years ago I bought a clock that advertised it set itself using the atomic clock broadcast.

Which it did. The very first time it was plugged in, and then never again after. The clock also kept horrible time, it lost a couple minutes every month. Truly an astonishing piece of wtf engineering.

  • kotaKat 4 days ago

    What's weird is it seems like for a long time now I haven't seen "self setting" clocks on retail shelves in a while at big box stores. Everyone went back to just manual timekeeping and I haven't seen a self-setter in a hot minute.

    • lxgr 4 days ago

      I really wish microwaves and ovens came with radio-controlled clocks.

      While the mains frequency is usually a great (long-term) stable frequency source, the bigger problem is that all microwaves I know lack a backup battery and require re-setting after unplugging them.

    • sumtechguy 4 days ago

      I recently bought 2 of them.

      You have to specifically look for the feature. Most do not have it.

      • kotaKat 2 days ago

        Just to revisit this - I actually bought an "automatic setting" clock now that I saw one at Walmart.

        Unfortunately, Sharp is lying. "Accu-Set(tm)" is them factory-programming the clock IC and just shipping a button cell in the box and hoping it holds time. My clock was 5 minutes behind and I have to manually set it. No RDS, no radiotime, nothing.

        Oi... guess I have to be even more specific in my product hunt.

wrs 5 days ago

And the 2024 lateral thinking award goes to...

  • geerlingguy 5 days ago

    Ha, there's one radio clock in my house that I still keep going for sentimental reasons... it's had a rough time setting itself for a few years, likely due to its placement in the house.

    I'll have to test this out sometime, what a fun idea!

scoops_ 4 days ago

I’ll have to see if this can work with a multi band 6 gshock, I assume it’s similar to a standard atomic clock?

hahahahhaah 4 days ago

I was like is the clock transmission only 50khz and then wow it relies on harmonics.

cantalopes 5 days ago

What? Wow

kiwijamo 4 days ago

I read the title as 'Train Station Emulator'. :)

pimlottc 4 days ago

This certainly looks impressive but it’s a bit misleading to say it works on “almost any phone” when it doesn’t work on iPhone (which only allows mobile Safari)

brilliang 4 days ago

Whenever I see things like this, my first thought is that somebody is going to write something to mess up nearby atomic clocks, just because they can, then I think- why, why did you do this?

Then someone will respond: you’re just catatrophising- anyone could’ve done this years before now, and I’ll say no, because it wasn’t up on frontpage HN there with code so that anyone would think of it. Then they’ll say, well why did you tell everyone that idea then! It’s your fault! Then I’ll say that someone would’ve done it if it weren’t me. Then I’ll go have a beer.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection