46 comments

  • teraflop23 hours ago
    Cool project!<p>The most interesting part, IMO, is the &quot;SRAM with EEPROM backup&quot; chip. It allows you to persistently save the clock hands&#x27; positions every time they&#x27;re moved, <i>without</i> burning through the limited write endurance of a plain old EEPROM. And it costs less than $1 in single quantities. That&#x27;s a useful product to know about.
    • ssl-321 hours ago
      That&#x27;s really neat. TIL.<p>So the way this works seems to be this: It&#x27;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.<p>The SRAM part does all of the normal SRAM stuff: It doesn&#x27;t wear out from reading&#x2F;writing, and as long as it has power it retains the data it holds.<p>The EEPROM does all the normal EEPROM stuff: It stores data forever (on the timescale of an individual human, anyway), but has somewhat-limited write cycles.<p>The controller: When it detects a low voltage, it goes &quot;oh shit!&quot; and immediately dumps the contents of the SRAM into EEPROM. This saves on EEPROM write cycles: If there are no power events, the EEPROM is never written at all.<p>Meanwhile, the capacitor: It provides the power for the chip to perform this EEPROM write when an &quot;oh shit!&quot; event occurs.<p>When power comes back, the EEPROM&#x27;s data is copied back to SRAM.<p>---<p>Downsides? This 47L04 only holds 4 kilobits. Upsides? For hobbyist projects and limited production runs, spending $1 to solve a problem is ~nothing. :)
      • stavros14 hours ago
        Has anyone found the chip on AliExpress? I only get unrelated listings with that part number, but this is a pretty interesting chip I&#x27;d like to get a few of.<p>An alternative would be a supercapacitor and a voltage divider connected to the ADC pin of the microcontroller. When the 5V rail dies, the supercapacitor can hold 3.3V for a few seconds while you write everything to the EEPROM.
        • pwg12 hours ago
          $0.77 US single piece cost on Digikey:<p><a href="https:&#x2F;&#x2F;www.digikey.com&#x2F;en&#x2F;products&#x2F;detail&#x2F;microchip-technology&#x2F;47L04-E-SN&#x2F;6236460" rel="nofollow">https:&#x2F;&#x2F;www.digikey.com&#x2F;en&#x2F;products&#x2F;detail&#x2F;microchip-technol...</a><p>And, at least with Digikey, you can feel like you actually get the real part vs. some low end clone knockoff.
          • opello11 minutes ago
            That&#x27;s the TSSOP version, while the DIP is $0.92:<p><a href="https:&#x2F;&#x2F;www.digikey.com&#x2F;en&#x2F;products&#x2F;detail&#x2F;microchip-technology&#x2F;47L04-I-P&#x2F;6236462" rel="nofollow">https:&#x2F;&#x2F;www.digikey.com&#x2F;en&#x2F;products&#x2F;detail&#x2F;microchip-technol...</a><p>I&#x27;d prefer even the SOIC version which is $0.69 if I&#x27;m soldering it:<p><a href="https:&#x2F;&#x2F;www.digikey.com&#x2F;en&#x2F;products&#x2F;detail&#x2F;microchip-technology&#x2F;47L04-I-SN&#x2F;6236463" rel="nofollow">https:&#x2F;&#x2F;www.digikey.com&#x2F;en&#x2F;products&#x2F;detail&#x2F;microchip-technol...</a><p>but the author used the DIP in a holder&#x2F;socket on the perfboard.
          • stavros5 hours ago
            Comes out to $6 per part for me, with shipping, which is much more than I&#x27;m willing to pay.
            • butvacuum3 hours ago
              and it&#x27;d still be $6 for 600.<p>It&#x27;s as if people have never had shipping itemized before.<p>The only reason aliexpress shopping is cheap is because the rest of the world foots the bill. Unless somebody has finally removed China&#x27;s &quot;Developing Country&quot; status thats gotten them essentially free international parcel service for the best part of 100 years.
              • stavros2 hours ago
                Yeah OK, but if I only want 5 pieces and I have to choose between $5 or $30, I&#x27;m not going to think about the geopolitical situation, I&#x27;m just going to get the cheaper one.
      • bonsai_spool20 hours ago
        What&#x27;s the purpose of using an LLM to write a comment here?
        • ssl-320 hours ago
          &quot;Hey, someone <i>on the Internet</i> used decent diction! Obviously, this means I must accuse them of being a bot!&quot;<p>(Hey Dang. Can we get a ban button? There&#x27;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.)
          • _Microft14 hours ago
            There is an extension called <i>HN Friends</i> that allows to add information to a tooltip for users and shows a hint that there exists such information.<p>Use this as you like.
          • bonsai_spool18 hours ago
            You&#x27;ve edited the response since you posted it. I think there&#x27;s a difference between diction and the standard output of ChatGPT et al.
            • rfl89015 hours ago
              I have trouble believing that you&#x27;re pointing this out in good faith.
            • ssl-318 hours ago
              [dead]
              • antx16 hours ago
                And we&#x27;re also here to use double dashes, aren&#x27;t we.
                • ssl-314 hours ago
                  Yes, if we fucking choose to do that. We are.
                  • vo2maxer14 hours ago
                    Yes! The reflexive “must be LLM generated” is becoming ridiculous. Anything that includes proper punctuation and, god forbid, em dashes which I’ve used all my life must be suspect. The “it’s not x, it’s y” construction predates LLMs. I don’t recall ever sending a text without making sure it contained no errors, and yes, many have included infrequently used vocabulary.
                    • ssl-312 hours ago
                      I know, right?<p>I&#x27;ve been <i>trying</i> to write properly, clearly, and with the most expressive words I can come up with for many decades. I <i>try</i> to punctuate well, and to use functional formatting that I hope helps to effectively convey whatever it is that I&#x27;m on about. I <i>try</i> to improve as time goes on.<p>And I do this because if I&#x27;m going to bother with writing something for others to read, then I want my intended meaning to be easily-understood.<p>But increasingly, the instances where I manage to not screw any of that up too terribly result in a snarky and insulting retort in return.<p>And that kind of response is just not useful to anyone. I mean: What would people presume to have me do, instead? Become less-literate? Die in a fire? (Worse?)<p>fuh.
                      • vo2maxer11 hours ago
                        It’s frustrating to the point that I have considered inserting grammatical errors, but that would go against my principles, which I have attempted to inculcate in my children. Yes, a significant amount of what’s posted is copied and pasted AI slop. But what in the world preceded this? Barely legible slop? I would much rather have someone craft their thoughts, run them through their preferred model, and write something coherent that is not marred by punctuation or basic elementary grammar errors. And you know what, the hell with the AI slop police. Yes, if we choose to use em dashes, we will.
          • ninalanyon19 hours ago
            You could create a browser user script to do it locally.
            • ssl-319 hours ago
              That&#x27;s not a terrible idea.<p>An extra UI element or two should be enough. Maybe with sticky options for collapse-by-default or hide-by-default at the top of each HN comment section.<p>And the list of usernames can be stored and edited in the purveyor&#x27;s HN bio (in plain text, like a monster), so that it works automatically across devices.
        • Dachande66319 hours ago
          Upvoted because this stinks to high hell of an LLM response. Half the GPs comments seem to be in a similar vein. It’s such a shame but you can’t fight the trolls so don’t take it to heart.
          • abustamam2 hours ago
            Whether or not they did use an LLM to refine, what does it matter? To call them a troll for contributing to discourse is wild.
          • sehansen2 hours ago
            I&#x27;ve just skimmed through the first handful of pages with ssl-3&#x27;s comments and none of them seem particularly LLM-like.
          • rjh293 hours ago
            Your LLM detector is broken.
    • the_fall31 minutes ago
      Meh. The room-temperature endurance of modern EEPROMs (e.g., ST M95256) is something like 4 million cycles. If you use a simple ring buffer (reset on overflow, otherwise just appending values), you only need to overwrite a cell once every 32k ticks, which gives you a theoretical run time of 250,000 years with every-minute updates or 4,100 years with every-second updates.
    • sowbug22 hours ago
      I&#x27;m not sure if this is the same technology, but regardless it&#x27;s also cool: <a href="https:&#x2F;&#x2F;www.adafruit.com&#x2F;product&#x2F;1897" rel="nofollow">https:&#x2F;&#x2F;www.adafruit.com&#x2F;product&#x2F;1897</a>
      • pjc504 hours ago
        FRAM is extremely neat on paper, combining SRAM ish speeds with non-volatility, but adoption seems to be low. Possibly due to scaling issues. I&#x27;ve had a FRAM-based TI MSP430 in my random parts drawer for about a decade.
        • ComputerGuru11 minutes ago
          That was my first FRAM experience, too. Good chip, good times. Insanely low power draw!
      • mftrhu22 hours ago
        Not quite - the chip the article refers to is the 47L04 [0], which is &quot;just&quot; NVSRAM built out of a RAM + EEPROM. I <i>do</i> agree on FeRAM being cool, though - I have a few I2C chips en route, and I can&#x27;t wait to get my hands on them.<p>[0] <a href="https:&#x2F;&#x2F;www.microchip.com&#x2F;en-us&#x2F;product&#x2F;47L04" rel="nofollow">https:&#x2F;&#x2F;www.microchip.com&#x2F;en-us&#x2F;product&#x2F;47L04</a>
        • summa_tech19 hours ago
          You could also consider MRAM. Which is available in larger sizes - up to 4 Mbit on SPI bus in the MR20H40, and 128 Mbit in EM128LXQ (but it gets unreasonably expensive when this big).<p><a href="https:&#x2F;&#x2F;www.everspin.com&#x2F;family&#x2F;mr20h40?npath=259" rel="nofollow">https:&#x2F;&#x2F;www.everspin.com&#x2F;family&#x2F;mr20h40?npath=259</a>
        • qwertox21 hours ago
          Thanks to both of you for bringing FRAM onto my radar!
    • harvie3 hours ago
      i think it&#x27;s called EERAM, however having proper closed loop control with hand position feedback would be preferable in my opinion...
    • monocasa20 hours ago
      I do like the frams too for similar use cases.<p>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.
  • ComputerGuru26 minutes ago
    This is more resourceful than what I once did, which was set up an atomic clock &quot;repeater&quot; to get analog atomic clocks (one in each room) in a site to actually receive the signal in a 1930s structure made of solid brick and concrete blocks.<p>Except it wasn&#x27;t a repeater so much as it was a MITM fake, with an rpi connected to an sdr-like system to generate a fake WWVB (iirc?) based off an NTP clock.<p>Legality was technically questionable, but since the signal didn&#x27;t really leave the site perimeter (or even the building, really), I think it was ok.
  • riskable23 hours ago
    I want to see someone convert one of those cheap projection clocks like this: <a href="https:&#x2F;&#x2F;www.homedepot.com&#x2F;p&#x2F;La-Crosse-Technology-5-in-Color-Projection-Atomic-Digital-Alarm-Clock-with-Outdoor-temperature-616-146&#x2F;203634255" rel="nofollow">https:&#x2F;&#x2F;www.homedepot.com&#x2F;p&#x2F;La-Crosse-Technology-5-in-Color-...</a><p>The red projection is <i>just</i> the right brightness (at night) but it sucks that it&#x27;s not wifi-enabled so you can&#x27;t just get it to NTP sync (or hook up a GPS receiver). The projector part of the clock is a separate device that&#x27;s attached to it via a ribbon cable. I would reverse engineer it myself but I haven&#x27;t got the time.<p>Ideally, I&#x27;d want a matrix of LEDs projected on to the ceiling so I could get more info than just the time. Such clocks exist but they&#x27;re super duper expensive! Example: <a href="https:&#x2F;&#x2F;buyfrixos.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;buyfrixos.com&#x2F;</a>
    • stavros22 hours ago
      If you&#x27;re looking for something low brightness, I made one: <a href="https:&#x2F;&#x2F;www.stavros.io&#x2F;posts&#x2F;i-made-another-little-bedside-clock&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.stavros.io&#x2F;posts&#x2F;i-made-another-little-bedside-c...</a>
    • ElevenLathe22 hours ago
      The one you linked claims to have &quot;Atomic Time&quot; which usually means syncing by radio from WWV&#x2F;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.
      • Animats18 hours ago
        Right. WWVB clocks running off the 60KHz pretty much solve the clock problem in the US. All my clocks at home are basic LaCrosse analog clocks. They have the internal sensors needed to tell when each hand is straight up, so they can set themselves without user input. On power up, they step until the hands are straight up, then sync when they get an update. You have to set the time zone with a switch when installing. Only the four US time zones are available. Battery life is 1-2 years, which is pretty good for a device with a radio.<p>There are UK and Japan clocks that work similarly, but use national time sources. There are G-Shock watches which synchronize from multiple sources. While running on solar power. Those keep accurate time with no maintenance. That&#x27;s an impressive achievement.
        • js218 hours ago
          &gt; WWVB clocks running off the 60KHz pretty much solve the clock problem in the US.<p>YMMV depending upon location. I&#x27;ve never gotten a WWVB clock to work in North Carolina. On the East Coast, the signal maybe sorta works for a few hours overnight:<p><a href="https:&#x2F;&#x2F;tf.nist.gov&#x2F;tf-cgi&#x2F;wwvbmonitor_e.cgi" rel="nofollow">https:&#x2F;&#x2F;tf.nist.gov&#x2F;tf-cgi&#x2F;wwvbmonitor_e.cgi</a><p>T̶h̶e̶y̶ ̶a̶l̶s̶o̶ ̶d̶o̶n̶&#x27;̶t̶ ̶t̶r̶a̶n̶s̶i̶t̶i̶o̶n̶ ̶D̶S̶T̶ ̶a̶u̶t̶o̶m̶a̶t̶i̶c̶a̶l̶l̶y̶,̶ ̶s̶o̶ ̶y̶o̶u̶&#x27;̶r̶e̶ ̶p̶u̶l̶l̶i̶n̶g̶ ̶t̶h̶e̶m̶ ̶o̶f̶f̶ ̶t̶h̶e̶ ̶w̶a̶l̶l̶ ̶t̶w̶i̶c̶e̶ ̶a̶ ̶y̶e̶a̶r̶ ̶u̶n̶l̶e̶s̶s̶ ̶y̶o̶u̶&#x27;̶r̶e̶ ̶i̶n̶ ̶o̶n̶e̶ ̶o̶f̶ ̶t̶h̶e̶ ̶r̶a̶r̶e̶ ̶U̶S̶ ̶l̶o̶c̶a̶t̶i̶o̶n̶s̶ ̶t̶h̶a̶t̶ ̶d̶o̶n̶&#x27;̶t̶ ̶a̶d̶h̶e̶r̶e̶ ̶t̶o̶ ̶t̶h̶e̶ ̶D̶S̶T̶ ̶s̶i̶l̶l̶i̶n̶e̶s̶s̶. Edit: My bad, they can switch in&#x2F;out of DST automatically, at least when they can work at all.
          • unsnap_biceps10 hours ago
            I have a few WWVB clocks. The ones that are on the north&#x2F;south walls will never sync on their own, but east&#x2F;west walls will sync just fine. I just take down the north&#x2F;south clocks twice a year and lean them on a west facing wall and they&#x27;ll sync overnight.<p>I think that most WWVB clocks just don&#x27;t have the size to have an omni-directional antenna.
            • js29 hours ago
              If I have to take the clock off the wall and move it outside, I may as well set it by hand. In any case, I&#x27;ve tried leaving one outside facing west and it still doesn&#x27;t work. I&#x27;ve literally never had one of these clocks work from NC.<p>Meanwhile, the WiFi NTP clock I purchased just works, like I always hoped the WWVB clocks would have.<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=46948343">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=46948343</a>
          • zymhan17 hours ago
            I&#x27;m fairly certain the radio time signal has a mechanism to convey daylight savings, I&#x27;ve had alarm clocks that managed DST without any input.<p>&gt; The DST status bits indicate United States daylight saving time rules.<p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;WWVB" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;WWVB</a>
            • js217 hours ago
              You&#x27;re right. I was wrong about that, mostly because I&#x27;ve never had a WWVB clock work for me at all.
      • toast08 hours ago
        Radio clock (with reception) should be less jitter, but NTP measures round trip time, so you can estimate time in flight estimate; if your path is reasonably symetric, you could end up with less error.<p>I&#x27;m not sure how much it really matters though.
      • cptskippy20 hours ago
        With a resolution of one second, I think most people would be hard pressed to distinguish between NTP and WWV&#x2F;WWVB time keeping devices.
    • btheconqueror20 hours ago
      Some clocks also update over radio. Oregon Scientific used to make the best bedside atomic clock ever. Super simple, with the projector, was an atomic clock that updated automatically via radio and had a pleasant, crescendo alarm that would start off nice and get more aggressive. They don&#x27;t make it anymore :&#x2F;
    • lostlogin23 hours ago
      Undermining the spirit of HN: By the time you’ve spent a few hours hacking away and bought any parts, that price is probably not too bad.
      • stavros22 hours ago
        That&#x27;s assuming you don&#x27;t like hacking and would pay to not have to do it, which is generally not the case around here.
        • lostlogin22 hours ago
          I’m think you can go further than that.<p>Days spent modifying cheap electronics is absolutely encouraged.
          • hackingonempty22 hours ago
            Buy the premade thing and hack something new.
          • seg_lol21 hours ago
            Cheap electronics are just the feed stock, the basis function for your new creation. Why start with raw matter when you can get fully formed matter for less.
        • Arainach15 hours ago
          I disagree.<p>My most precious resource is free time. I never have anywhere near enough.<p>It is absolutely not worth $5 for me to spend another 15 minutes trying to find a cheaper price
    • mmsimanga22 hours ago
      +1 I have a couple of digital.clocks from Temu. They look nice but cannot keep the correct time. They slowly edge ahead and in a month they are about a minute ahead. It is annoying having to correct the clock and would be great if they time from WiFi connected source.
    • dannyfritz0717 hours ago
      I love my WWV&#x2F;WWVB clocks. It is nice never having to set them and they are all within a second of my NTP clocks.<p>Now if only I could turn off the clocks on my oven and microwave...
    • alnwlsn21 hours ago
      Depending on how dark your room is you might get by with an ordinary but bright LCD screen and a camera lens. There&#x27;s a pretty common 240x240px, 1-inch square TFT display on amazon or other usual places you might start with.
    • UG6rmTdo3 hours ago
      [dead]
  • sowbug23 hours ago
    If you like this but don&#x27;t want to get your hands as dirty, have a look at the Crazy Clock: <a href="https:&#x2F;&#x2F;www.tindie.com&#x2F;products&#x2F;nsayer&#x2F;crazy-clock&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.tindie.com&#x2F;products&#x2F;nsayer&#x2F;crazy-clock&#x2F;</a><p>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.
    • avidiax22 hours ago
      &gt; 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 &quot;compensate,&quot; because you never know how early it is at the moment.<p>That&#x27;s pretty genius for many ADHD-type folks. Only problem is a modern household has many clocks in view, so you&#x27;d need to commit to just not setting them.
      • javawizard22 hours ago
        Oh now that would be a fun version 2 challenge: have all the clocks in one household synchronize such that they&#x27;re all early by the same amount at any given time.<p>Easy enough for wifi enabled ones: a UDP broadcast to discover other clocks on the network, then sync how you will.<p>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.<p>You could really mess with your neighbors if they had the same clocks and you were within range...
        • seg_lol21 hours ago
          You don&#x27;t already do this with the NTP servers under your control?
          • javawizard21 hours ago
            If I had any NTP servers under my control, I probably would :)
      • password432122 hours ago
        Yes I&#x27;d have to convince Apple to play along on the iPhone and watch.
    • insane_dreamer1 hour ago
      Fun! I might get one of these to put together with my son; a lunar clock would be interesting.
    • nottorp4 hours ago
      &gt; The erratic ticking eventually became a distraction<p>Yeah, the main problem with this project is you have to find a silent 3.88 analog clock to attach it to.<p>Last cheap clock i&#x27;ve tried was silent on half the circle and kinda buzzy on the other half. It had seconds so that meant the ambient noise changed every 30 seconds...<p>Oh wait. Maybe I should open it up and remove the seconds needle. Time for a totally analog project!
  • staplung20 hours ago
    This is cool but it seems like it would be liable to drift. I.e. it &quot;knows&quot; the correct time but doesn&#x27;t have any way to figure out that it&#x27;s been driving the movement fast or slow by some number of milliseconds. Eventually, that will pile up to the point that it&#x27;s not any better than running the thing off of batteries.<p>As the author points out, the cheap quartz mechanism has no way of reporting the position of the hands (other than the hands themselves) and that you have to set the PULSETIME constant by the right number of milliseconds. If you&#x27;re off by even a millisecond, that&#x27;s going to accumulate quick enough that it would make a difference over even a single day, wouldn&#x27;t it?<p>EDIT: as some have pointed out, the Lavet stepper theoretically accounts for this in that it steps exactly one tick after so many oscillations. That number of oscillations does not change so that&#x27;s all you need to get right.<p>However, that basically just kicks the can down the road a bit in that if each step is not exactly 1&#x2F;60th of a circle or bits wear down or get sticky or you have analog noise in there you will presumably still have a source of biased drift that you won&#x27;t be able to detect. But maybe those affects are small enough that they don&#x27;t matter for a wall clock.
    • picture20 hours ago
      The escapement is &quot;synchronous&quot; in that the motion is controlled by the number of pulses applied to the motor over time rather than the duration&#x2F;width of each pulse. The pulsetime constant is only to accommodate mechanical&#x2F;analog differences with the driving circuitry, from what I understand. <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Lavet-type_stepping_motor" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Lavet-type_stepping_motor</a>
      • lelandbatey20 hours ago
        That&#x27;s fascinating; the Lavet-type stepping motor acts as an escapement all on it&#x27;s own by being a very simple stepper motor, so you don&#x27;t end up needing a miniature version of a classic mechanical escapement, which is what I&#x27;d always imagined in my head when thinking about how cheap quartz wall clocks worked.<p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Escapement" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Escapement</a>
    • bazodedo20 hours ago
      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.
      • mlhpdx20 hours ago
        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.<p>I’m not saying these things matter much in this context.<p>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.
        • KaiserPro20 hours ago
          its a fairly reliably stepper motor system. You&#x27;re right it will degrade over time, you&#x27;d be surprised how many steps it can do before it degrades.
  • freedomben22 hours ago
    Hell yeah, this is some badass hackery, and the type of stuff I <i>love</i> seeing on HN. In the last decade or so as more and more stuff becomes locked down and hacker unfriendly, I&#x27;ve found myself longing for simple things I can hack on. If I ever get to a point where I don&#x27;t have to work for a living, one of the things I&#x27;d like to do is build everything from little gadgets up to major appliances that are simple, reliable, and hackable for people who want to. It pains me that my appliances have full computers driving them but I can&#x27;t get access to them. Kudos for this awesome work and phenomenal write-up!
  • KaiserPro19 hours ago
    If your budget is a bit more, and you want to hear a massive clunk every 30 seconds rather than a soft tick <i>and</i> you want to drive 2&#x27; (60cm) hands, then you might want this: <a href="https:&#x2F;&#x2F;waitingtrain.blogspot.com&#x2F;2015&#x2F;05&#x2F;a-large-gents-turret-slave-movement.html" rel="nofollow">https:&#x2F;&#x2F;waitingtrain.blogspot.com&#x2F;2015&#x2F;05&#x2F;a-large-gents-turr...</a><p>The smaller ones look the same but are less beefy.<p>I used one to make this clock:<p><a href="https:&#x2F;&#x2F;www.secretbatcave.co.uk&#x2F;projects&#x2F;electromechanical-clock&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.secretbatcave.co.uk&#x2F;projects&#x2F;electromechanical-c...</a><p>Which instead of using a well disciplined time source, uses a tuning fork and 74xx logic to drive it
    • smithza16 hours ago
      The DIY tuning fork clock is very cool. I am hard pressed to understand why accutron doesn&#x27;t still make and sell tuning-fork watches. I really admire the creative use of resonance frequencies (not dissimilar to quartz watches but cool that you can really see <i>the</i> tuning fork for you watch as opposed to a diminutive quartz crystal).
      • KaiserPro6 hours ago
        They have done a re-issue, which Dole has linked to (I&#x27;m not going to lie, they do look smashing)<p>I think the reason why it took so long is a combination of snobbishness (its not &quot;mechanical&quot; enough) and cost of manufacture. I assume that most of the tooling has been lost, and it required a lot of work to re-learn how to make from scratch.<p>But accutrons wern&#x27;t that cheap when they launched, so I think they are within 50% of their original price, judging by my half arsed inflation calculations.
      • dole13 hours ago
        They recently re-released the Accutron with actual tuning fork movements, but at $6k ofc you’re better off buying vintage:<p><a href="https:&#x2F;&#x2F;www.hodinkee.com&#x2F;articles&#x2F;introducing-accutron-314" rel="nofollow">https:&#x2F;&#x2F;www.hodinkee.com&#x2F;articles&#x2F;introducing-accutron-314</a>
  • stevenjgarner17 hours ago
    $3.88 ? Walmart.com uses dynamically variable pricing that includes geographic and user variance - my price is $5.92<p><a href="https:&#x2F;&#x2F;www.walmart.com&#x2F;ip&#x2F;Mainstays-Basic-Indoor-8-78-Black-Analog-Round-Modern-Wall-Clock&#x2F;761592027" rel="nofollow">https:&#x2F;&#x2F;www.walmart.com&#x2F;ip&#x2F;Mainstays-Basic-Indoor-8-78-Black...</a>
    • gruez13 hours ago
      <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Inflation" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Inflation</a><p>Git history shows it was published more than 2 years ago.
    • BeeOnRope14 hours ago
      User variance? Any evidence?
    • jojobas13 hours ago
      An HN mention is surely grounds for a whopping $2.04 hike.
  • tanvach17 hours ago
    Related - we have an atomic Seiko wall clock expecting to have the time automatically adjusted by the WWVB LF atomic clock broadcast. Turns out, the signal is very weak where we now live. Manually setting the time on these atomic clocks is a HUGE pain (beware!).<p>Turns out it&#x27;s possible to emulate the atomic clock signal quite easily with a Raspberry Pi, or in my case I put together Arduino code that can emulate atomic clock broadcasts from around the world using an ESP32 module using NTP servers: <a href="https:&#x2F;&#x2F;github.com&#x2F;tanvach&#x2F;clocksync" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;tanvach&#x2F;clocksync</a><p>The history of these atomic clock broadcast signals and their differences in different countries is quite fascinating.
    • smithza16 hours ago
      I would be very careful of transmitting on the same frequency as WWVB. It is very likely illegal.
      • tanvach13 hours ago
        That’s a very good point but the transmission power is extremely weak and won’t propagate more than 1m.
      • meeb15 hours ago
        Quite possibly, however the range is stated in centimetres so practically it’s unlikely to be a concern.
      • wileydragonfly13 hours ago
        Get out
    • wat100001 hour ago
      Supposedly you can do it with a stock smartphone or tablet by using the audio hardware to deliberately generate RF noise that works like a WWVB signal. <a href="https:&#x2F;&#x2F;github.com&#x2F;kangtastic&#x2F;timestation" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;kangtastic&#x2F;timestation</a>
    • RupertSalt12 hours ago
      You do not have an atomic clock. Seiko does not manufacture “Atomic Clocks” for the $30 shelf in Target. You (and others here) don’t seem to know what an atomic clock is, or how it works, or what it costs!<p>Your Seiko is a radio clock. It’s probably got a crystal or some other normal timekeeping gadget, and the external WWV signal is decoded to properly set it.<p>“Atomic Clocks” are marketed to ignorant consumers who blithely use the term when the only external source is a radio station. The Stratum Zero clock may be atomic, but the caesium is not to be found on your nightstand.<p>No caesium atoms would be found in your Seiko, bro.
      • dang12 hours ago
        Can you please make your substantive points without swipes? This is in the site guidelines: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;newsguidelines.html">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;newsguidelines.html</a>.<p>If you know more than someone else, that&#x27;s great! By all means, share some of what you know, so the rest of us can learn. Just please do it without putdowns.<p><a href="https:&#x2F;&#x2F;hn.algolia.com&#x2F;?dateRange=all&amp;page=0&amp;prefix=true&amp;sort=byDate&amp;type=comment&amp;query=share%20know%20learn%20by:dang" rel="nofollow">https:&#x2F;&#x2F;hn.algolia.com&#x2F;?dateRange=all&amp;page=0&amp;prefix=true&amp;sor...</a>
      • tanvach7 hours ago
        That distinction is obviously quite apparently from the context. I’m using atomic clock to be consistent with what these radio clocks are marketed as.
  • VladVladikoff2 hours ago
    I don’t understand why it needs to neurotically check so frequently? 30 times a second seems like a lot of hammering on the NTP server. Am I missing something here? Some physical reason why that is necessary perhaps?
    • bArray2 hours ago
      &gt; The ESP8266 reconnects to the NTP server every 15 minutes which keeps the clock accurate.<p>It doesn&#x27;t seem to be hammering the NTP server 30 times a second.
  • timonoko21 hours ago
    On that note: <i>Converting €0 scrap into €400 video editing deck</i>. <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;shorts&#x2F;KlWYC6mzVkQ" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;shorts&#x2F;KlWYC6mzVkQ</a><p><a href="https:&#x2F;&#x2F;github.com&#x2F;timonoko&#x2F;Jogwheel" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;timonoko&#x2F;Jogwheel</a>
    • kfarr21 hours ago
      What a great idea. Legacy VCR controls upcycled for digital control! There&#x27;s a lot of those old decks and LANC deck controllers lying around...
      • timonoko20 hours ago
        This is a hard problem. Solvable only with try and error.<p>Those signals are just weird mess of coils, switches and resistors.<p>ESP32 clock speed may also be a contributing factor.
        • timonoko2 hours ago
          I asked Gemini to make sensible &amp; readable version: <a href="https:&#x2F;&#x2F;github.com&#x2F;timonoko&#x2F;Jogwheel&#x2F;blob&#x2F;main&#x2F;jogwheel_gem.py" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;timonoko&#x2F;Jogwheel&#x2F;blob&#x2F;main&#x2F;jogwheel_gem....</a><p>But did not improve much, except variable names are now less esoteric.
  • montroser22 hours ago
    What I really want is one of these powered by gps. The time already comes for free in the signal, and from your location you can derive the time zone. That way DST is accounted for automatically, but you don&#x27;t have to set up and rely on wifi. This would be truly zero-config and always correct.
    • ssl-321 hours ago
      GPS isn&#x27;t too hard, either.<p>The receivers are inexpensive ($5-$10 for the kind of accuracy that&#x27;s useful here) and it&#x27;s not hard to parse the NMEA strings and PPS they output into a spooky-accurate internal clock. It only takes a few connections and an antenna to integrate GPS into an MCU like an ESP (or an SBC like a Raspberry Pi or a whatever).<p>Like, really: The hardware is ridiculously easy.<p>The only difficult part is the code. But as we can see from this posting, the clock-driving bits are already written and are available for use.<p>Just graft in the GPS parts instead of the NTP parts, add your DST&#x2F;location rules if you really must (hint: that part is harder than it sounds), and send it.<p>(And if the code still seems arduous, then remember: This is the kind of work that a reasonably-focused person who is armed with a decent bot can put together over a cup of coffee or two, even if they don&#x27;t speak C. It may be popular here to poo-poo the bot here, but it&#x27;s completely OK to get some help. Don&#x27;t let pride get in the way of having fun, learning things, and building neat stuff.<p>The tailor doesn&#x27;t lament the invention of the cotton gin.)
      • stavros14 hours ago
        The actual difficult part is getting a GPS signal indoors with a cheap receiver, sadly.
        • crote9 hours ago
          The obvious answer is to use a Raspberry Pi as a GPS-disciplined NTP server, of course. Place it near the window or fully outside, depending on GPS signal strength.<p>That gives you another weekend project, <i>and</i> you can reuse your DIY NTP wall clock!
          • ssl-39 hours ago
            That never quite solves the auto-timezone&#x2F;DST issue that OP wants to have work, though, does it?<p>If I am interpreting their request correctly, they want a wall clock that knows where it is -- and also knows what localtime is in that position on the globe.<p>GPS (plus some hairy lookup tables) can accomplish that.
            • toast08 hours ago
              DHCP has an option for timezone information. Not a lot of people fill it out, though.
        • ssl-312 hours ago
          I&#x27;ve had mixed luck.<p>My current house, with low-E windows, aluminum siding, and a metal roof? It passionately hates everything about GPS.<p>But in more-typical (stick-framed, asphalt shingled, vinyl-sided, US-ish) houses? I haven&#x27;t had any trouble with my very inexpensive u-blox (or perhaps clone) GPS board, a presumed-decent GPS antenna that we were throwing away at work, and dainty little [IIRC] u.FL to SMA adapter to connect the antenna with. (I put this all together just to play with making a GPS-backed, low-stratum NTP server -- which was a much more-rewarding process than it had any right to be.)<p>It was bizarrely good, in fact: While it certainly saw more birds and presumably had better accuracy when sitting in a window, I had real trouble getting it to cease to operate. It seemed to lock on well-enough to provide time and PPS until I put the antenna into a windowless closet.<p>That said: The antenna that came with this cheap receiver was trash -- at best, 1&#x2F;10. It was hard to make it work even outdoors on a clear day. I eventually got sick of looking at that part and binned it.
    • zokier3 hours ago
      You might enjoy &quot;Precision Clock mk4&quot;: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=44144750">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=44144750</a><p>It has automatic timezone. The article also explains why it isn&#x27;t as simple as it seems
    • womod22 hours ago
      There&#x27;s quite a few clocks available that get their time over the air from the NIST WWVB radio station[0]. They usually have a little switch on the back if your area does&#x2F;doesn&#x27;t observe daylight savings.<p>[0] - <a href="https:&#x2F;&#x2F;www.nist.gov&#x2F;pml&#x2F;time-and-frequency-division&#x2F;time-distribution&#x2F;radio-station-wwvb&#x2F;help-wwvb-radio-controlled" rel="nofollow">https:&#x2F;&#x2F;www.nist.gov&#x2F;pml&#x2F;time-and-frequency-division&#x2F;time-di...</a>
    • IncreasePosts21 hours ago
      You would still need some kind of configuration because the start of DST can change year to year, and this is not accounted for in the time signal from GPS
      • montroser20 hours ago
        Good point that DST dates can technically change -- but in practice it doesn&#x27;t really change on a year-to-year basis. The current law establishing the start and end dates in the US has been in effect unchanged for the last ~20 years.
  • debbiedowner22 hours ago
    How different is this to something you can buy like: <a href="https:&#x2F;&#x2F;www.amazon.com&#x2F;ihreesy-Movement-Mechanism-Silent-Replacement&#x2F;dp&#x2F;B0CCVVLG4J" rel="nofollow">https:&#x2F;&#x2F;www.amazon.com&#x2F;ihreesy-Movement-Mechanism-Silent-Rep...</a> ?
    • TechSquidTV22 hours ago
      Well I notice that one is $36
    • xandrius19 hours ago
      One is hacked and the other one is bought?
  • js222 hours ago
    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.<p>I never considered making my own. Anyway, about two years ago this option popped up on Amazon. I&#x27;ve been happy with it:<p><a href="https:&#x2F;&#x2F;www.amazon.com&#x2F;OCEST-Wall-Clock-12Inch-Auto&#x2F;dp&#x2F;B0DJS675X5" rel="nofollow">https:&#x2F;&#x2F;www.amazon.com&#x2F;OCEST-Wall-Clock-12Inch-Auto&#x2F;dp&#x2F;B0DJS...</a><p>I&#x27;m guessing internally it&#x27;s not much different than the DIY clock in this submission.
    • moduspol20 hours ago
      Thanks for sharing this. I, too, have spent years trying to find an analog-style clock that is completely hands-off for adjustments (power outage, DST, drift correction) and it looks like this one handles it all.<p>It feels like in 2026 this should be something default and assumable, but alas, it is not.
  • avidiax23 hours ago
    How does this keep track with DST?<p>Looking at the code [1], it looks like if the actual time is 1 hour ahead of the displayed time, then we get 10 pulses per second to leap forward. Otherwise, the clock stops running for an hour to fall back.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;jim11662418&#x2F;ESP8266_WiFi_Analog_Clock&#x2F;blob&#x2F;master&#x2F;AnalogClock.ino" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jim11662418&#x2F;ESP8266_WiFi_Analog_Clock&#x2F;blo...</a>
    • sowbug23 hours ago
      You have two choices: either assume everyone is asleep at 2 am and won&#x27;t notice when it happens, or else advance 11 hours. My LaCrosse clock does the latter.
    • floatrock21 hours ago
      Yeah, project needs a time-lapse video of their analogue DST transition event.
    • gspr23 hours ago
      And that&#x27;s pretty much fine for a project like this, seeing as most (all?) locations jump you between DST and not DST at night. So the clock will be off at most for an hour during the night.
  • ortichic22 hours ago
    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
    • jcalvinowens22 hours ago
      If you think <i>this</i> is overengineered, I built one that will really offend you: <a href="https:&#x2F;&#x2F;github.com&#x2F;jcalvinowens&#x2F;wallclock" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jcalvinowens&#x2F;wallclock</a> :)<p>The point is to have fun and learn something, not really to solve a problem in a practical sense. The radio controlled clocks are <i>extremely</i> unreliable where I live.
    • haunter22 hours ago
      There are time signal stations all over the world, WWV is the most prominent US one <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;WWV_(radio_station)" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;WWV_(radio_station)</a><p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Radio_clock#List_of_radio_time_signal_stations" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Radio_clock#List_of_radio_time...</a>
    • bux937 hours ago
      An already radio controlled clock would probably be a better starting point to GPSify or NTPify too - at least the one I have already has the feature that it can move the hands to an arbitrary position (when you replace the battery and it syncs again).
    • KaiserPro20 hours ago
      There is (<a href="https:&#x2F;&#x2F;www.nist.gov&#x2F;pml&#x2F;time-and-frequency-division&#x2F;time-services&#x2F;time-signal-broadcast-stations" rel="nofollow">https:&#x2F;&#x2F;www.nist.gov&#x2F;pml&#x2F;time-and-frequency-division&#x2F;time-se...</a>) and in some conditions you can receive the time signal in the UK.<p>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 (<a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Sporadic_E_propagation" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Sporadic_E_propagation</a>)
      • BenjiWiebe11 hours ago
        Could easily be solar weather related propagation changes, but probably not Sporadic E specifically - that&#x27;s much higher frequencies.
    • js222 hours ago
      We do, but I&#x27;ve never had a WWVB clock work for me in North Carolina. I&#x27;ve tried a few of them. The US is a big place and for whatever reason, there aren&#x27;t that many clock signal transmission towers (AFAIK, the only one in the US is in Colorado).
      • moduspol20 hours ago
        I&#x27;m in WV, but could only get my clock to set itself when put on the correct SW-facing wall.<p>Obviously it defeats the purpose a bit if I need to move my clock to a different wall and wait 12-24 hours for it to set itself.
    • qwertygnu22 hours ago
      Googled &quot;radio controlled clock&quot; and seeing results from $20-$200, lots of inconsistency in what the product is.
      • alnwlsn21 hours ago
        These are usually marketed as &quot;atomic time&quot; or &quot;atomic clock&quot; here in the US.
  • cbdevidal19 hours ago
    I’ve wanted to do this because there’s a zillion cool clocks out there that use a similar movement. I’d also wanted to make it battery powered which means doing NTP update only once per day (or less). Doubt that is realistic, tho.<p>Maybe embed Hall sensors and detect when the hands are in a certain position and when all three line up wake the ESP32, do an NTP update, tick it forward to where it should be, then go to sleep. Probably still use too much power, especially the Halls.
    • cweagans19 hours ago
      Use reed switches behind the clock face and magnets on the (presumably) different length hands instead of hall sensors. NTP sync once per day is more than adequate for household timekeeping - it might drift a few seconds here and there, but that’s fine for most people?
      • cbdevidal18 hours ago
        Yeah, reeds make more sense. I’d stagger them so that when the hour is at 12, minute at 3, second is at 6, all three reeds (wired in series) wake the microcontroller.
  • ghm219916 hours ago
    One thing with stepper motor h bridges is that you need to account for back current that might at the least cause spikes leading to misfires or worst frying your microcontroller. The ideal way to protect is is using opto electric transistors to drive the motor with a gate voltage connected to the microcontroller and isolated power supply for the motor.
  • Dachande66323 hours ago
    I&#x27;m currently making something similar but using a BKA30D-R5 (a dual stepper motor used in car dashboards) and a hall sensor to zero the hands.
    • russdill22 hours ago
      Yes, this project screams for some kind of sensor to detect when the hands reach some known position.
      • Dachande66322 hours ago
        Yeah, it&#x27;s super quick to start with a MK I eyeball to set them, but having a sensor just avoids any drift. I got away with using one by taking a reading and moving the other hand to check they weren&#x27;t on top of each other already, and then doing a full rotation between readings.
  • teekert19 hours ago
    On this topic. Do WiFi signals contain time (unencrypted)? If so why does my oven not pull time from the air and needs adjustment every 2 months? If not, why are APs not defacto time beacons for all sorts of non-smart appliances (and clocks)?
    • ianburrell17 hours ago
      I have thought that could use Matter for time sync. It works with both Wifi and Thread. I don&#x27;t think there is a time message. I also don&#x27;t know if it has public broadcast since Thread needs pairing to work.<p>The advantage is that smart devices might have Matter support already. People with Matter devices will have border routers, which are perfect place for running NTP and broadcasting time.
    • briHass15 hours ago
      The gateway&#x2F;router should be the time source. DHCP has an option to provide the time server (NTP) - option 42, and most decent devices or OSS&#x2F;DIY router software (OpenWRT, opnSense) will support that as well as being the local time server.
      • BenjiWiebe11 hours ago
        That does require being connected to the AP though.
    • cardiffspaceman19 hours ago
      I worked with CFG80211&#x2F;MAC80211 on an old Linux kernel years ago. I don’t think time of day is in any packet.
  • ChuckMcM21 hours ago
    Pretty awesome. The only thing I would change is to put a USB battery between the usb wall power and the D1 mini. That way for power outages of &lt; a couple of days or so you&#x27;re clock will be fine.
    • brokenmachine13 hours ago
      Why bother? Just get NTP time when the power comes back. It&#x27;s syncing every 15 minutes anyway.
      • ChuckMcM10 hours ago
        Because you want to know what time it is when the power is out?
  • dorongrinstein2 hours ago
    awesome project
  • retired22 hours ago
    I’m curious how long it takes for the hands to drift to the point where the time difference is perceivable. Luckily the 30 millisecond pulse time is configurable.
  • accrual22 hours ago
    It&#x27;d be interesting to see the logs or data on how the physical movement falls out of sync. It probably even correlates with temperature and humidity.
  • amelius20 hours ago
    What&#x27;s the best way to periodically get time and date if your customers are big businesses with hostile IT departments?
    • kjs316 hours ago
      Most &#x27;big businesses&#x27; I&#x27;ve delt with have a time server someplace internal. It may be a stand alone NTP server, a network device like a Cisco router or a Windows AD server. You might ask the network team&#x2F;Windows admin team nice and see what they have.
    • Neywiny20 hours ago
      A great solution I&#x27;ve used plenty of times is to query websites like google.com. I use it whenever my rtc on my Linux laptop gets reset (as long as it&#x27;s still in my history. Otherwise I just set it manually).<p><a href="https:&#x2F;&#x2F;unix.stackexchange.com&#x2F;a&#x2F;400176" rel="nofollow">https:&#x2F;&#x2F;unix.stackexchange.com&#x2F;a&#x2F;400176</a>
    • btbuildem20 hours ago
      GPS unit
  • nofunsir16 hours ago
    This will pair nicely with the eps8266 i just flashed after ripping it out of a Wyze plug that required I download their app, updating my operating system first of course, make an account and agree to their privacy policy.
  • rballpug21 hours ago
    Keeping time in terms of hash-sigs that are in 64 bit architecture instance.
  • jccooper23 hours ago
    See also the &quot;Ventinari clock&quot;: <a href="https:&#x2F;&#x2F;github.com&#x2F;iracigt&#x2F;ventinari-clock" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;iracigt&#x2F;ventinari-clock</a> <a href="https:&#x2F;&#x2F;www.akafugu.jp&#x2F;posts&#x2F;products&#x2F;vetinariclock&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.akafugu.jp&#x2F;posts&#x2F;products&#x2F;vetinariclock&#x2F;</a>
  • dheera23 hours ago
    Some years ago I made a ESP-based clock that used 60 LEDs in a circle that project RGB shadows via a cone at the center. I used the same WeMos D1 Mini board.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;dheera&#x2F;shadow-clock&#x2F;" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;dheera&#x2F;shadow-clock&#x2F;</a>
    • bityard22 hours ago
      I remember seeing this on Hackaday. Very clever idea!
  • MrVitaliy22 hours ago
    Cute, but the original clock used to run on AA battery that needs a replacement every two years or so, and now it needs a power supply. Or some big battery recharge&#x2F;replacement every few hours maybe days.
  • delfugal17 hours ago
    WWVB Self Setting Analog clock on Amazon is $34.99. Dozens of styles. No DHCP to configure. It just works. But cool HN try.
    • RobMurray16 hours ago
      Wow your ability to research products is truly inspiring! We should campaign to get this site renamed to buyer news to reflect what really matters in life.
    • kjs316 hours ago
      Do you try and suck the joy out of everything, or just things on HN?
  • greenie_beans21 hours ago
    lol i just bought this same clock cuz it was cheap and had no tech except the clock
  • cyberax21 hours ago
    I was looking at the way they did the position sync. And they didn&#x27;t :(<p>OK, here&#x27;s how I&#x27;d do it: add small magnets at the bottom of the clock hands, and use the ESP&#x27;s built-in Hall effect sensor to detect them. You can distinguish between hands using the magnetic field orientation.
  • gambiting22 hours ago
    That is very cool.<p>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.
  • kotaKat23 hours ago
    Of note, having recently shopped at Walmart for a self-setting alarm clock (what I once knew to be “atomic”):<p>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.<p>If you’re unlucky - surprise, you get to manually set the time anyways.<p><a href="https:&#x2F;&#x2F;www.amazon.com&#x2F;Sharp-Digital-Alarm-AccuSet-Automatic&#x2F;dp&#x2F;B089ZMSR39" rel="nofollow">https:&#x2F;&#x2F;www.amazon.com&#x2F;Sharp-Digital-Alarm-AccuSet-Automatic...</a>
    • orev23 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).
      • drivers9922 hours ago
        There are actually other time signals around the world.<p>I had a Casio wave ceptor (one with analog hands which it doesn&#x27;t look like they sell anymore; I should have kept it). Anyway, looking at a model that&#x27;s currently available (WV-200R, but there are 2 other models available), its manual says it gets signals from &quot;Germany (Mainflingen), England (Anthorn), United States (Fort Collins), [and] Japan.&quot;<p>I was curious so I looked those up:<p>Mainflingen DCF77 77.5 kHz<p>Anthorn 60 kHz<p>Fort Collins WWVB 60 kHz<p>Japan looks like they have Mount Otakayoda 40 kHz, and Mount Hagane 60 kHz.<p>There are also some other countries that have time broadcasts (e.g. France. Anywhere else?) but not that that watch uses.
        • bux937 hours ago
          There&#x27;s also a station in Shangqiu City, Henan province, China, BPC 68.5 kHz<p>Casio brands watches that receive all 6 stations as multiband-6, and older ones that don&#x27;t have the Chinese signal as multiband-5.<p>The analog display, chronograph watches like WVQ-M410-7AJF are delightful ; you can switch to timer mode and the main hands show the time ticking down (yes, they move counter-clockwise), and then switch back to normal timekeeping mode and the hands will move around the dial to set to the correct time again. Obviously at great expense to battery life, but it&#x27;s solar powered. Unfortunately it&#x27;s Japanese Domestic Market only, so you need to order it from a place like discovery mall japan. (The WVQ has a flimsy plastic - if you&#x27;re willing to pay a lot more you could spring for the OCWS7000E ). Citizen has some GPS set watches.<p>Radio time signals used by watches and wall clocks are all in the 60-77.6 Khz range, probably best suited to small receivers and low power - other radio time signals are higher frequency. In the US, WWVH broadcasts at 2.5MHz, 5Mhz, 10Mhz and 15Mhz.
      • geerlingguy22 hours ago
        It&#x27;s like they hired a design firm in the early 00&#x27;s and decided that design language is the peak of human horology... I wish they&#x27;d make a couple new designs.
    • jonathanlydall22 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.<p>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.<p>Twice a year the clock changes its time to be 10 hours (or thereabouts) behind, no doubt due to daylight savings change over.<p>So she has to readjust the time whenever this happens which she says she doesn’t really mind.
    • relaxing23 hours ago
      You want a self-setting radio clock that receives the LF broadcast from WWVB.<p>There was a kerfuffle a few years back about the funding for the station being cut, but luckily that did not come to be.
  • SoftTalker22 hours ago
    Now do a old fashioned mechanical pendulum clock. You&#x27;d probably need some kind of worm gear drive to move the pendulum bob up and down.
  • ezconnect15 hours ago
    So basically we just need a 1pps from a GPS chip to make the analog clocks accurate and use that to drive the motor. We set it once and it will be accurate for a long time.
  • tonymet16 hours ago
    I&#x27;m sure there&#x27;s huge demand for remote time sync . many buildings have dozens of these that need setting during daylight saving time change.
  • PlatoIsADisease20 hours ago
    I&#x27;m mostly interested in what goes wrong.<p>I&#x27;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.<p>Maybe this was simple and you will be part of the 25% that work perfect and need 0 updating.
    • SoftTalker18 hours ago
      Yes most things that monitor a sensor in the real world can&#x27;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&#x27;t respond immediately.
  • diimdeep20 hours ago
    I&#x27;ve tried similar project, as it turns out it is surprisingly hard to reliably move second&#x27;s hand and not wobble in place, you need to drive quartz motor so precisely to make gears move.<p>Post don&#x27;t go into detail about schematic, but resistors and diodes around motor is to properly drive motor and protection from Inductive kickback (Flyback) <a href="https:&#x2F;&#x2F;www.microtype.io&#x2F;blog&#x2F;h-bridge-circuit-design" rel="nofollow">https:&#x2F;&#x2F;www.microtype.io&#x2F;blog&#x2F;h-bridge-circuit-design</a>
  • j4521 hours ago
    Keeping the clock analog was clutch.
  • albertsikkema23 hours ago
    Great idea!
  • Spivak23 hours ago
    If you want a pure software solution get yourself an old atomic clock and <a href="https:&#x2F;&#x2F;github.com&#x2F;jj1bdx&#x2F;WWV" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jj1bdx&#x2F;WWV</a> play some tunes to set the time.
    • bityard22 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: <a href="https:&#x2F;&#x2F;wwv.mcodes.org" rel="nofollow">https:&#x2F;&#x2F;wwv.mcodes.org</a><p>Radio controlled (&quot;atomic&quot;) 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&#x27;s not a good idea to build one of these unless you REALLy know what you&#x27;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.
      • buescher20 hours ago
        There&#x27;s a digital code as part of the WWV transmissions (!) but you&#x27;re right that the typical &quot;atomic&quot; clock doesn&#x27;t sychcronize to the HF stations.<p>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. <a href="https:&#x2F;&#x2F;github.com&#x2F;kangtastic&#x2F;timestation?tab=readme-ov-file#technical-details" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;kangtastic&#x2F;timestation?tab=readme-ov-file...</a>
  • DesiLurker23 hours ago
    makes me wonder what if I just wanted to sync with nfc every once in a while. wifi seems overkill for this. maybe it could be done much cheaper with nfc sync witha phone twice a year?
    • phh23 hours ago
      An ESP32-C3 Super Mini can be found for below 3$ (cheapest I had was 1.58€). Since the original clock is 3.88$, it can&#x27;t be that much cheaper.
    • pantalaimon22 hours ago
      You often have a radio clock source like DCF77 that all those radio controlled clocks use
    • yjftsjthsd-h23 hours ago
      ESPs are so cheap that you couldn&#x27;t possibly save <i>very</i> much money, and the way economies of scale work it may or may not be cheaper to use NFC anyways.
    • sowbug23 hours ago
      We&#x27;ve been shopping for a simple bathroom clock to replace our final Amazon Echo and leave that increasingly dystopian ecosystem. There are some models that use Bluetooth on your phone to sync the time. I could imagine BLE being a good low-power and relatively stateless solution. But given our goals, we&#x27;re not going to install an app on a phone just to maintain a wall clock. (I&#x27;d be fine if Android provided BLE time sync as a built-in service.)
      • russdill22 hours ago
        Home assistant has pretty good BLE capabilities. But honestly, as has already been pointed out wifi is already really cheap.
  • greenail20 hours ago
    you can buy dual coaxial shaft steppers ( X40 ) for car instrument panels open them and remove the hard stops. A very small magnet and 2 hall sensors gets you end stops.
  • minneapoliced17 hours ago
    [flagged]