Live data from Hacker News

Converting a $3.88 analog clock from Walmart into a ESP8266-based Wi-Fi clock

github.com

41–50 of 202 posts

Re: Converting a $3.88 analog clock from Walmart into a ESP8266-based Wi-Fi clock

#41
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.

Re: Converting a $3.88 analog clock from Walmart into a ESP8266-based Wi-Fi clock

#42

Sorry if this is a dumb question, but do you guys not have radio controlled clocks outside of Europe? If I got it right, the only purpose of this project is to always display the correct time. Radio controlled clocks do exactly that. They are cheaper than the one ESP board, and run years on a single AA battery. No WiFi, tinkering, setup, or cables necessary

If you think this is overengineered, I built one that will really offend you: https://github.com/jcalvinowens/wallclock :)

The point is to have fun and learn something, not really to solve a problem in a practical sense. The radio controlled clocks are extremely unreliable where I live.

Re: Converting a $3.88 analog clock from Walmart into a ESP8266-based Wi-Fi clock

#43
This is great. I spent years looking for an affordable battery-powered WiFi clock that syncs via NTP since where I am, the WWVB clocks never pick up the radio signal.

I never considered making my own. Anyway, about two years ago this option popped up on Amazon. I've been happy with it:

https://www.amazon.com/OCEST-Wall-Clock-12Inch-Auto/dp/B0DJS...

I'm guessing internally it's not much different than the DIY clock in this submission.

Re: Converting a $3.88 analog clock from Walmart into a ESP8266-based Wi-Fi clock

#44

Sorry if this is a dumb question, but do you guys not have radio controlled clocks outside of Europe? If I got it right, the only purpose of this project is to always display the correct time. Radio controlled clocks do exactly that. They are cheaper than the one ESP board, and run years on a single AA battery. No WiFi, tinkering, setup, or cables necessary

There are time signal stations all over the world, WWV is the most prominent US one https://en.wikipedia.org/wiki/WWV_(radio_station)

https://en.wikipedia.org/wiki/Radio_clock#List_of_radio_time...

Re: Converting a $3.88 analog clock from Walmart into a ESP8266-based Wi-Fi clock

#45

Sorry if this is a dumb question, but do you guys not have radio controlled clocks outside of Europe? If I got it right, the only purpose of this project is to always display the correct time. Radio controlled clocks do exactly that. They are cheaper than the one ESP board, and run years on a single AA battery. No WiFi, tinkering, setup, or cables necessary

[deleted]

Re: Converting a $3.88 analog clock from Walmart into a ESP8266-based Wi-Fi clock

#46
post #10

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.

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.

Re: Converting a $3.88 analog clock from Walmart into a ESP8266-based Wi-Fi clock

#47
post #24
post #9

If you like this but don't want to get your hands as dirty, have a look at the Crazy Clock: https://www.tindie.com/products/nsayer/crazy-clock/ I got one for my daughter. The erratic ticking eventually became a distraction when she was studying, so we have retired it for now. But we got a lot of amusement out of it.

> Early clock - keeps time anywhere between 0 and 10 minutes fast. For those who like to set their watch ahead to avoid being late. This clock keeps you from trying to "compensate," because you never know how early it is at the moment. That's pretty genius for many ADHD-type folks. Only problem is a modern household has many clocks in view, so you'd need to commit to just not setting them.

Oh now that would be a fun version 2 challenge: have all the clocks in one household synchronize such that they're all early by the same amount at any given time.

Easy enough for wifi enabled ones: a UDP broadcast to discover other clocks on the network, then sync how you will.

For non-wifi-enabled clocks, perhaps something like a CH572 would do the trick: a $0.20 RISC-V microcontroller with BLE support that all the clocks in the same vicinity could use to talk to each other.

You could really mess with your neighbors if they had the same clocks and you were within range...

Re: Converting a $3.88 analog clock from Walmart into a ESP8266-based Wi-Fi clock

#48
post #24
post #9

If you like this but don't want to get your hands as dirty, have a look at the Crazy Clock: https://www.tindie.com/products/nsayer/crazy-clock/ I got one for my daughter. The erratic ticking eventually became a distraction when she was studying, so we have retired it for now. But we got a lot of amusement out of it.

> Early clock - keeps time anywhere between 0 and 10 minutes fast. For those who like to set their watch ahead to avoid being late. This clock keeps you from trying to "compensate," because you never know how early it is at the moment. That's pretty genius for many ADHD-type folks. Only problem is a modern household has many clocks in view, so you'd need to commit to just not setting them.

Yes I'd have to convince Apple to play along on the iPhone and watch.

Re: Converting a $3.88 analog clock from Walmart into a ESP8266-based Wi-Fi clock

#49
post #44

Sorry if this is a dumb question, but do you guys not have radio controlled clocks outside of Europe? If I got it right, the only purpose of this project is to always display the correct time. Radio controlled clocks do exactly that. They are cheaper than the one ESP board, and run years on a single AA battery. No WiFi, tinkering, setup, or cables necessary

There are time signal stations all over the world, WWV is the most prominent US one https://en.wikipedia.org/wiki/WWV_(radio_station) https://en.wikipedia.org/wiki/Radio_clock#List_of_radio_time...

[deleted]

Re: Converting a $3.88 analog clock from Walmart into a ESP8266-based Wi-Fi clock

#50

Sorry if this is a dumb question, but do you guys not have radio controlled clocks outside of Europe? If I got it right, the only purpose of this project is to always display the correct time. Radio controlled clocks do exactly that. They are cheaper than the one ESP board, and run years on a single AA battery. No WiFi, tinkering, setup, or cables necessary

We do, but I've never had a WWVB clock work for me in North Carolina. I've tried a few of them. The US is a big place and for whatever reason, there aren't that many clock signal transmission towers (AFAIK, the only one in the US is in Colorado).
Post reply on HN