Earlier quoted context omitted.
The pulsetime is just to advance the clockwork one step, and is kept fixed, the advancement driven by the mechanism is discrete. As long as you keep track of the count, you wont accumulate drift. The adjustment is to get that stepping working, if it doesnt miss a step, youre good.
In a perfect world, yes. But mechanisms aren’t perfect and it’s entirely possible if not likely that steps will be missed as friction increases over time and things wear. I’m not saying these things matter much in this context. The clock will still be far more accurate than purely mechanical version. And, re-synchronizing it is as trivial as turning the knob, just as you would for the all mechanical mechanism.
Converting a $3.88 analog clock from Walmart into a ESP8266-based Wi-Fi clock
91–100 of 202 posts
Re: Converting a $3.88 analog clock from Walmart into a ESP8266-based Wi-Fi clock
#92Earlier quoted context omitted.
That's really neat. TIL. So the way this works seems to be this: It's an SRAM and an EEPROM in one little package along with a controller that talks with each, with a little capacitor (this clock uses 4.7uf) placed nearby. The SRAM part does all of the normal SRAM stuff: It doesn't wear out from reading/writing, and as long as it has power it retains the data it holds. The EEPROM does all the normal EEPROM stuff: It…
What's the purpose of using an LLM to write a comment here?
(Hey Dang. Can we get a ban button? There's a few people here that are impossible to conduct rational discourse with. My sanity would improve if they were simply gone from my view.)
Re: Converting a $3.88 analog clock from Walmart into a ESP8266-based Wi-Fi clock
#93Cool project! The most interesting part, IMO, is the "SRAM with EEPROM backup" chip. It allows you to persistently save the clock hands' positions every time they're moved, without burning through the limited write endurance of a plain old EEPROM. And it costs less than $1 in single quantities. That's a useful product to know about.
Particularly I like that I can get those large enough to stick a ring buffer from debug out on them as well and get crash logs from embedded systems despite the debug uart not being tethered to a dev machine.
Re: Converting a $3.88 analog clock from Walmart into a ESP8266-based Wi-Fi clock
#94Sorry 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
Our office manager bought some US tuned radio wall clocks, and every now and then they would jump 8 hours forward. I assume it was down to solar weather making propagation changes (https://en.wikipedia.org/wiki/Sporadic_E_propagation)
Re: Converting a $3.88 analog clock from Walmart into a ESP8266-based Wi-Fi clock
#95I want to see someone convert one of those cheap projection clocks like this: https://www.homedepot.com/p/La-Crosse-Technology-5-in-Color-... The red projection is just the right brightness (at night) but it sucks that it's not wifi-enabled so you can't just get it to NTP sync (or hook up a GPS receiver). The projector part of the clock is a separate device that's attached to it via a ribbon cable. I would reverse en…
Re: Converting a $3.88 analog clock from Walmart into a ESP8266-based Wi-Fi clock
#96This is cool but it seems like it would be liable to drift. I.e. it "knows" the correct time but doesn't have any way to figure out that it's been driving the movement fast or slow by some number of milliseconds. Eventually, that will pile up to the point that it's not any better than running the thing off of batteries. As the author points out, the cheap quartz mechanism has no way of reporting the position of the h…
The escapement is "synchronous" in that the motion is controlled by the number of pulses applied to the motor over time rather than the duration/width of each pulse. The pulsetime constant is only to accommodate mechanical/analog differences with the driving circuitry, from what I understand. https://en.wikipedia.org/wiki/Lavet-type_stepping_motor
Re: Converting a $3.88 analog clock from Walmart into a ESP8266-based Wi-Fi clock
#97If 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 carrie…
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...
Re: Converting a $3.88 analog clock from Walmart into a ESP8266-based Wi-Fi clock
#98I want to see someone convert one of those cheap projection clocks like this: https://www.homedepot.com/p/La-Crosse-Technology-5-in-Color-... The red projection is just the right brightness (at night) but it sucks that it's not wifi-enabled so you can't just get it to NTP sync (or hook up a GPS receiver). The projector part of the clock is a separate device that's attached to it via a ribbon cable. I would reverse en…
The one you linked claims to have "Atomic Time" which usually means syncing by radio from WWV/WWVB. I have several cheap wallclocks like this (though none with a projector) and they are always accurate with no noticeable drift AFAICT. Have you tried that particular one and found its accuracy wanting? I think, in principle at least, there should be less jitter in this method than using NTP over a computer network.
Re: Converting a $3.88 analog clock from Walmart into a ESP8266-based Wi-Fi clock
#99Earlier quoted context omitted.
I'm not sure if this is the same technology, but regardless it's also cool: https://www.adafruit.com/product/1897
Not quite - the chip the article refers to is the 47L04 [0], which is "just" NVSRAM built out of a RAM + EEPROM. I do agree on FeRAM being cool, though - I have a few I2C chips en route, and I can't wait to get my hands on them. [0] https://www.microchip.com/en-us/product/47L04
Re: Converting a $3.88 analog clock from Walmart into a ESP8266-based Wi-Fi clock
#100Earlier quoted context omitted.
What's the purpose of using an LLM to write a comment here?
"Hey, someone on the Internet used decent diction! Obviously, this means I must accuse them of being a bot!" (Hey Dang. Can we get a ban button? There's a few people here that are impossible to conduct rational discourse with. My sanity would improve if they were simply gone from my view.)