2/9/2026 at 5:04:36 PM
Cool 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.
by teraflop
2/9/2026 at 6:42:14 PM
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 stores data forever (on the timescale of an individual human, anyway), but has somewhat-limited write cycles.
The controller: When it detects a low voltage, it goes "oh shit!" 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.
Meanwhile, the capacitor: It provides the power for the chip to perform this EEPROM write when an "oh shit!" event occurs.
When power comes back, the EEPROM's data is copied back to SRAM.
---
Downsides? This 47L04 only holds 4 kilobits. Upsides? For hobbyist projects and limited production runs, spending $1 to solve a problem is ~nothing. :)
by ssl-3
2/10/2026 at 2:12:15 AM
Has anyone found the chip on AliExpress? I only get unrelated listings with that part number, but this is a pretty interesting chip I'd like to get a few of.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.
by stavros
2/10/2026 at 4:10:34 AM
$0.77 US single piece cost on Digikey:https://www.digikey.com/en/products/detail/microchip-technol...
And, at least with Digikey, you can feel like you actually get the real part vs. some low end clone knockoff.
by pwg
2/10/2026 at 4:10:39 PM
That's the TSSOP version, while the DIP is $0.92:https://www.digikey.com/en/products/detail/microchip-technol...
I'd prefer even the SOIC version which is $0.69 if I'm soldering it:
https://www.digikey.com/en/products/detail/microchip-technol...
but the author used the DIP in a holder/socket on the perfboard.
by opello
2/10/2026 at 10:32:44 AM
Comes out to $6 per part for me, with shipping, which is much more than I'm willing to pay.by stavros
2/10/2026 at 12:59:19 PM
and it'd still be $6 for 600.It's as if people have never had shipping itemized before.
The only reason aliexpress shopping is cheap is because the rest of the world foots the bill. Unless somebody has finally removed China's "Developing Country" status thats gotten them essentially free international parcel service for the best part of 100 years.
by butvacuum
2/10/2026 at 2:08:31 PM
Yeah OK, but if I only want 5 pieces and I have to choose between $5 or $30, I'm not going to think about the geopolitical situation, I'm just going to get the cheaper one.by stavros
2/10/2026 at 5:54:24 PM
Have you looked lately?I buy small parts with "Choice" shipping on AliExpress sometimes, because it's cheap and [usually] quick and they take care of all of that pesky tariff and customs business in ways that never have an opportunity to surprise me.
For years now, the shipping process has worked like this for me: They gather it up on their end and send the stuff on a cargo plane to a sort that is at or near JFK airport in New York.
If the order includes things from several different sellers, then at some point they generally get combined into one bag.
From there, they just mail it -- using regular, domestic USPS service. It shows up in my mailbox on my porch in Ohio a few days later.
Although it certainly was a thing I've experienced in the past, at no point does the process I've described exploit the "Developing County" loophole. They just send things to the other side of the world (at their expense), and then pay the post office the same way as anyone else does to bring it to my door.
by ssl-3
2/11/2026 at 9:30:15 PM
EDIT: Oh lord, bad typo in my previous comment- it should have been aliexpress SHIPPING not Shopping.It's not the same, what you described is Direct Entry (somewhere around page 25, linked below). Apparently the Terminal Dues system has been massively changed in the 5 years since I last looked- but it still appears unfavorable to USPS and US sellers, while favoring high volume foreign shippers.
https://www.gao.gov/assets/gao-18-112.pdf
As for how aliexpress delivers stuff, since the tarrifs: 1) no-name last mile. 2) USPS last mile, and USPS the entire way.
I don't know if any are associated with "Choice", Paid store shipping, and/or free store shipping.
Since I normally buy from aliexpress to avoid the insane 200-800% markups amazon/ebay/walmart/etc dropshippers demand the $5-$10 in shipping doesnt factor in.
by butvacuum
2/13/2026 at 12:51:52 AM
That's a lot of details.As a consumer, here's how AliExpress Choice shipping functions for me: Like buying a widget from a shop downtown, the price is the price.
I don't see what anyone will pay (or has paid) for duties or tariffs or fees or delivery, I don't have any idea what the markup is at any level, and I don't know what GAO table they or anyone else used to get it to happen. That's outside of my purvey.
With this method: Same as with the shop downtown, I'm not importing anything myself; I don't see any customs forms or declarations at all. AliExpress handles all of that business, not me.
I can peek behind the curtain a bit and see some aspects of how things move from place to place as physical entities using the tracking data that they provide. And that's about it, until it eventually shows up inside of my mailbox -- and then I can have a nice gander at the labels and see that it was sent with USPS domestic postage.
This process doesn't (can't, AFAICT) abuse my nation's postal system, and I like that aspect quite a lot.
The downsides are cost and availability: There may be a dozen or more sellers offering seemingly-identical widgets on AliExpress, but maybe only one or two (if any) that ship that particular widget Choice. Like Prime, it can actually end up costing a bit more than other methods.
But it's fast, still cheap in absolute terms, and there's zero BS on my end so I like those parts, too.
by ssl-3
2/9/2026 at 7:58:51 PM
What's the purpose of using an LLM to write a comment here?by bonsai_spool
2/9/2026 at 8:06:07 PM
"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.)
by ssl-3
2/10/2026 at 1:51:47 AM
There is an extension called HN Friends that allows to add information to a tooltip for users and shows a hint that there exists such information.Use this as you like.
by _Microft
2/9/2026 at 9:33:27 PM
You've edited the response since you posted it. I think there's a difference between diction and the standard output of ChatGPT et al.by bonsai_spool
2/10/2026 at 12:48:17 AM
I have trouble believing that you're pointing this out in good faith.by rfl890
2/9/2026 at 9:39:17 PM
[dead]by ssl-3
2/10/2026 at 12:10:17 AM
And we're also here to use double dashes, aren't we.by antx
2/10/2026 at 1:28:20 AM
Yes, if we fucking choose to do that. We are.by ssl-3
2/10/2026 at 2:11:54 AM
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.by vo2maxer
2/10/2026 at 4:20:26 AM
I know, right?I've been trying to write properly, clearly, and with the most expressive words I can come up with for many decades. I try to punctuate well, and to use functional formatting that I hope helps to effectively convey whatever it is that I'm on about. I try to improve as time goes on.
And I do this because if I'm going to bother with writing something for others to read, then I want my intended meaning to be easily-understood.
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.
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?)
fuh.
by ssl-3
2/10/2026 at 4:55:54 AM
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.by vo2maxer
2/9/2026 at 8:25:36 PM
You could create a browser user script to do it locally.by ninalanyon
2/9/2026 at 8:53:51 PM
That's not a terrible idea.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.
And the list of usernames can be stored and edited in the purveyor's HN bio (in plain text, like a monster), so that it works automatically across devices.
by ssl-3
2/9/2026 at 8:47:36 PM
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.by Dachande663
2/10/2026 at 1:34:31 PM
I've just skimmed through the first handful of pages with ssl-3's comments and none of them seem particularly LLM-like.by sehansen
2/10/2026 at 12:57:40 PM
Your LLM detector is broken.by rjh29
2/10/2026 at 1:58:40 PM
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.by abustamam
2/9/2026 at 5:27:55 PM
I'm not sure if this is the same technology, but regardless it's also cool: https://www.adafruit.com/product/1897by sowbug
2/9/2026 at 6:02:13 PM
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.by mftrhu
2/9/2026 at 8:23:34 PM
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).by summa_tech
2/9/2026 at 7:13:01 PM
Thanks to both of you for bringing FRAM onto my radar!by qwertox
2/10/2026 at 11:23:37 AM
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've had a FRAM-based TI MSP430 in my random parts drawer for about a decade.by pjc50
2/10/2026 at 4:10:22 PM
That was my first FRAM experience, too. Good chip, good times. Insanely low power draw!by ComputerGuru
2/9/2026 at 8:07:32 PM
I do like the frams too for similar use cases.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.
by monocasa
2/10/2026 at 1:05:39 PM
i think it's called EERAM, however having proper closed loop control with hand position feedback would be preferable in my opinion...by harvie
2/10/2026 at 3:50:55 PM
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.by the_fall