Top
Best
New

Posted by tokyobreakfast 11 hours ago

Converting a $3.88 analog clock from Walmart into a ESP8266-based Wi-Fi clock(github.com)
403 points | 138 commentspage 4
greenie_beans 9 hours ago|
lol i just bought this same clock cuz it was cheap and had no tech except the clock
cyberax 9 hours ago||
I was looking at the way they did the position sync. And they didn't :(

OK, here's how I'd do it: add small magnets at the bottom of the clock hands, and use the ESP's built-in Hall effect sensor to detect them. You can distinguish between hands using the magnetic field orientation.

gambiting 10 hours ago||
That is very cool.

As for the problem of detecting the current position of hands - Casio solved in in watches with their Tough Movement mechanism, where there is a tiny tiny hole in the dial with a sensor behind it - the watch will check if the hands are over it when expected, and if not, automatically adjust - so even if a watch suffers a major impact that might move the hands, they will re-allign themselves. Such a clever and simple solution.

SoftTalker 9 hours ago||
Now do a old fashioned mechanical pendulum clock. You'd probably need some kind of worm gear drive to move the pendulum bob up and down.
kotaKat 11 hours ago||
Of note, having recently shopped at Walmart for a self-setting alarm clock (what I once knew to be “atomic”):

Apparently the entity today known as Sharp sells “AccuSet(tm)” branded clocks that “automatically set time”… but they’re just factory pre-set with a button cell and they include a slider on the bottom to set a timezone offset (only for US timezones). If you’re lucky, the clock’s battery is still good and the clock “set itself” out of the box several minutes late.

If you’re unlucky - surprise, you get to manually set the time anyways.

https://www.amazon.com/Sharp-Digital-Alarm-AccuSet-Automatic...

orev 10 hours ago||
These clocks are irritating because they show up in the results when searching for “radio atomic clock” and similar, and it can be very hard to figure out if they actually use the WWVB radio signal. I’ve concluded that none of them do, because WWVB is only reliable in (most parts) of the US, and companies only want to make things that appeal to a global audience now. La Crosse seems to be the only one that makes them, and unfortunately most of their designs lack any style (i.e. they’re ugly).
drivers99 10 hours ago|||
There are actually other time signals around the world.

I had a Casio wave ceptor (one with analog hands which it doesn't look like they sell anymore; I should have kept it). Anyway, looking at a model that's currently available (WV-200R, but there are 2 other models available), its manual says it gets signals from "Germany (Mainflingen), England (Anthorn), United States (Fort Collins), [and] Japan."

I was curious so I looked those up:

Mainflingen DCF77 77.5 kHz

Anthorn 60 kHz

Fort Collins WWVB 60 kHz

Japan looks like they have Mount Otakayoda 40 kHz, and Mount Hagane 60 kHz.

There are also some other countries that have time broadcasts (e.g. France. Anywhere else?) but not that that watch uses.

geerlingguy 10 hours ago|||
It's like they hired a design firm in the early 00's and decided that design language is the peak of human horology... I wish they'd make a couple new designs.
jonathanlydall 9 hours ago|||
Clocks which are designed to be able to auto set their time in the US will actually also do the auto setting at least as far away as Johannesburg, South Africa.

I know this because when my mother was visiting the US over a decade ago, she found a clock she felt was aesthetically perfect for her psychology practice room at her house.

Twice a year the clock changes its time to be 10 hours (or thereabouts) behind, no doubt due to daylight savings change over.

So she has to readjust the time whenever this happens which she says she doesn’t really mind.

relaxing 10 hours ago||
You want a self-setting radio clock that receives the LF broadcast from WWVB.

There was a kerfuffle a few years back about the funding for the station being cut, but luckily that did not come to be.

PlatoIsADisease 8 hours ago||
I'm mostly interested in what goes wrong.

I've made enough of these projects to know that ~75% need modifications that were not anticipated. For instance, I made a freezer temp sensor to php email for cases where the freezer stops working... but when I opened the freezer, it would send an email. I needed to sample for 30 minutes or something.

Maybe this was simple and you will be part of the 25% that work perfect and need 0 updating.

SoftTalker 6 hours ago|
Yes most things that monitor a sensor in the real world can't react to instantaneous readings. They need to use an average of samples over some time period. Also due to hysteresis, you have to allow time to see any changes in state in response to changes in inputs. Most real-world systems don't respond immediately.
diimdeep 8 hours ago||
I've tried similar project, as it turns out it is surprisingly hard to reliably move second's hand and not wobble in place, you need to drive quartz motor so precisely to make gears move.

Post don't go into detail about schematic, but resistors and diodes around motor is to properly drive motor and protection from Inductive kickback (Flyback) https://www.microtype.io/blog/h-bridge-circuit-design

j45 9 hours ago||
Keeping the clock analog was clutch.
albertsikkema 11 hours ago||
Great idea!
Spivak 10 hours ago|
If you want a pure software solution get yourself an old atomic clock and https://github.com/jj1bdx/WWV play some tunes to set the time.
bityard 10 hours ago|
The repo you linked to is a WWV simulator, WWV broadcasts the time via _audio_ (double-sideband amplitude modulation) at various fixed HF frequencies. SOME clocks might be able to automatically receive and decode this signal, but not many. There is also a web version here: https://wwv.mcodes.org

Radio controlled ("atomic") clocks get their signal from WWVB, a long-wave station in Colorado. Its signal is just a carrier and data is encoded via pulse-width modulation and phase modulation. People have built local, low-powered WWVB transmitters to sync their watches and so forth in areas where WWVB is hard or impossible to receive. It's not a good idea to build one of these unless you REALLy know what you're doing because radio signals can travel farther than you expect, and the FCC takes a rather dim view of intentionally broadcasting your own signal (to any distance) without a license to do so.

buescher 7 hours ago||
There's a digital code as part of the WWV transmissions (!) but you're right that the typical "atomic" clock doesn't sychcronize to the HF stations.

There are weak wwvb simulators out there as phone apps and such that depend on using EMI to sync your clock. Like the old AM radio bus noise music hack. https://github.com/kangtastic/timestation?tab=readme-ov-file...

More comments...