Do you like my hacking? If so, please consider leaving something in the
Fediverse (Mastodon etc): @Sprite_tm@social. spritesmods.com
After using it for a while and getting out the obvious bugs, it looks like the
soft- and hardware now is as stable as it was the last 15 years. I think this should
be sufficient to make the clock radio useful for the next 15 years again.
git clone http://git.spritesserver.nl/clockradio.git
Also, feel free to download the artwork of the PCBs I made. I made the design in gEDA pcb and the version up for download has all the issues fixed that I found in my builds.
Unfortunately, I see no easy way to put online the openwrt tree I used to make the image for the Carambola. If you do have a use for it, make sure to contact me and we'll work something out. Also, if you do something with my code, I'd love to hear about it.
20 commentsHi, this is a great project! How did you size the capacitors for the voltage doubler? You could have a ripple around ~2V (1V positive and 1V negative) based on a rough estimate of the current draw. However, it's difficult to find information on the acceptable input voltage ripple for the switching regulators. Thanks!
Hats off to this great project!
oooppsss... Got it. ;-)
Display pinout: http://www.22b2.com/index.php?dispatch=attachments.getfile&attachment_id=405 Can you put to download the library used to drive the oled? Thank you.
Alas, OLED displays are not known for their longevity... I doubt the display will last 15 years. Many cheap OLED displays are spec'd at less than a 10,000 hour lifetime.
Thanks, yes indeed: I have overlooked the pinout table time and time again. I'm thinking of connecting it to an ESP8266 for a remote display, or an HLK-RM04 possibly as a VNC client, or even something completely different... -- Sake
Sake: The two-page thing you mean? It does, but it's easily missable: the pinout is next to the mechanical specifications.
Hi Jeroen, Always enjoying your project descriptions! The simple datasheet available on the internet for the display that you used doesn't show the pin-out. Could you please share that information with us? Thanks! -- Sake
SpriteMods FTW, always makes my day seeing this good stuff :)
I have an alarm clock like this, and the last thing in the world i did think was making this. Loving your website
Reynald: It actually does that; there's no need to manually set the time. In case of a temp power loss that brings down the network, and because it can make the alarm go off in hardware, I added the RTC anyway.
What about requesting accurate time from NTP service, rather than setting it locally?
Amos: Good catch! I've corrected it. Rena: Thanks :) A capacitor or a battery doesn't matter that much: the RTC is mostly limited by the self-discharge rate of the thing that powers it. I wouldn't mind exchanging the battery after 15 years :P And theoretically I may be able to place the proximity sensor somewhere else, but the IR-led/receiver parts of it are a bit too far away to make it fit without drilling extra holes.
Really cool design. The menu looks great and I like how you did the hardware safety fallback to ensure the alarm would still go off no matter what. Also like that you can change the next alarm setting temporarily, and that you don't have to hold the buttons. It looks like a very good UI. A couple things I wondered reading through: 1. Why not use a big capacitor instead of a battery backup for the RTC? Then it would be able to charge itself when the power is on, so no need to worry about replacing a battery. 2. Could you mount the proximity sensor on the top, in the gaps/holes where the speaker sounds through? It might work better there than through the plastic on the front. Anyway it looks great, makes me want to design something like that myself... ;-)
As always, great project and great write-up! I hope it serves you well for more than just the next 15 years :D PS, I found a tiny error you might want to fix: when you describe the decreasing snooze period, you switch from minutes to seconds.
I enjoyed reading your post! Great work you did.I like that you describe your design flow. I really need more debugging skills.
Great stuff you got there man!
Man, awesome job, awesome ...
This is some awesome shits.
If I was doing this project today, I would use squeezelite-esp32 on an ESP32 board.