Building Your Own Real Time Clock

diy_rtc

Like many electronics hobbyists, [Pete] found that he had an overwhelming desire to build a clock for himself. He didn’t want to stick a discrete real time clock IC into a box and call it a day, so he opted to construct his own around a microcontroller instead.

After researching the specs on a few RTC ICs, he defined some accuracy requirements for his clock, and got to building. He started out using a 32,768 Hz watch crystal, but found that the accuracy was off by about 46 ppm after only 24 hours of use. That fell well beyond his self-imposed +/- 3 ppm tolerance goal, so he purchased an oscillator with about 500 times the resolution of his previous crystal.

After writing a handful of code to ensure that the clock remains stable, he calculated that his accuracy should be about 0.18 ppm – well within his acceptable tolerance range.

[Pete] says that this is just the first part of his clock construction, and that future revisions should include plenty of additional functionality, so keep an eye out for updates.

It’s Like… I Can Tell The Time Just By The Color, Man

[Alex] has reduced the resolution of his timepiece as a trade-off for speedy-readability. At least that’s what he claims when describing his color-changing clock. It uses a ShiftBrite to slowly alter the hue of the clock based on the current time. The concept is interesting: 12:00 starts off at white and slowly fades to green at 3:00, blue at 6:00, red at 9:00, and back to white by 12:00 to start the process over again. He has gotten to the point where he can get the time within about 15 minutes just with a quick look. But he did need to spend a few days acquiring the skill by having the color clock sit next to a traditional digital clock.

The build is pretty simple and we’d bet you already have what you need to make your own. [Alex] is really just proving a concept by using the ShiftBrite and an mBed, there’s no precision RTC involved here. So grab your microcontroller of choice, and an RGB LED of your own and see if you can’t recreate his build.

Of course you could always choose to build a color-based timepiece that’s even harder to read.

An Alarm For Every Day Of The Week

If you don’t have a 9-to-5 type of job you might find yourself constantly resetting your alarm clock as your calendar commitments change. [Lucas] finally got fed up with the nightly ritual and decided to build his own alarm clock which has unique settings for each day of the week (translated).

The display itself is an LM044L 20×4 character display. This provides a viewing area that is about 3″x1″ and since it’s an HD44780 compliant LCD screen, writing data to it takes very little effort (and RAM) compared to a graphic LCD. A PIC 18F2550 drives the device, taking input from a half-dozen buttons, driving the display, and turning on the enclosed buzzer when it’s time to get up. There’s a backup battery which will keep the settings when power is lost. The daily alarms, current time, and back light brightness can all be adjusted from the four screens that make up the settings menus. The only thing that it’s missing is a precision timekeeper, but that should be easy to add either by measuring the frequency of the mains or by using an RTC chip.

Analog Projection Clock So Simple You Should Have Thought Of It

The image you see above is the result of a simple analog projection clock. It shows the time on the ceiling. We have one in our bedroom but it’s a red digital display which we don’t think is nearly as fun as this clever hack. Grab a cheap analog clock, a mirror, and a white LED and you can build your own.

The mirror is going to reflect light from the LED onto a ceiling or other surface. It acts as the clock face. The tick marks for each hour were made by scratching the reflective material (often called the silvering) from the back of the mirror. A hole is drilled at the center of the class and the analog clock is mounted with its hands on the business side. The one problem with this setup is that since the light is being reflected, the clock will appear to run backwards. Not a problem, if you just reverse the polarity of the coil which moves the clockwork the projection will move in the expected clockwise direction.

[via Make]

DIY Sunrise Alarm Clock

sunrise_alarm_clock

As a project for an embedded systems class, [Alan] recently built himself a sunrise-simulating alarm clock. You are probably familiar with these sorts of timepieces – they gradually light up the room to awaken the sleeping individual rather than jarring them awake with a buzzer or the radio. Since many commercial units with this feature are sold for $70 and up, his goal was to replicate the functionality at a fraction of the cost, using only open source components.

An Arm Cortex M3 processor runs the show, displaying the time via a pair of 8×8 LED matrix panels on the front of the device. The clock is programmed to gently wake up its user by simulating a sunrise over a period of 5, 15, 30, 45, or 60 minutes. If the user has not woken up before the sunrise simulation is complete, the clock resorts to a traditional piezo alarm to rouse the heavy sleeper.

The project is nicely done, and after looking at his bill of materials it seems to be far cheaper than many sunrise alarm clocks you will find in stores.

Egg Clock (it’s Egg-ceptional)

Easter is over and with some plastic eggs still on hand, [Franspaco] was looking for something to do with them. He decided to use an egg as an enclosure for a digital clock.

You can see that the finished project uses just one 7 segment LED display to show the time. A scrolling number method is used to delineate each digit of the 24-hour time readout. The display will go blank, followed by two numbers for the hours, a dash as a separator, and finally two more digits for the minutes. A PICAXE microcontroller drives the clock, but for accuracy a DS1307 does the timekeeping.

[Franspaco] etched his own circuit board that is sized to fit perfectly, housing the two chips, an LED, and a programming header. The on-board LED blinks at 1 Hz, giving some inner glow to the plastic shell. He accomplished most of his goals, but was unable to fit the batteries inside of one egg, prompting the need for a tethered power-egg. If he moves to surface mount components for the next generation of this device we think he’ll have no problem fitting a small battery (like an A23) inside.

Watch Hacking, One Day At A Time

watch_a_day

If there is one thing hackers return to time and time again, it is clock/watch hacking. There are always creative ways to tell time, and with several “hackable” wristwatches on the market, there is bound to be no shortage of neat timepiece hacks.

[hudson] from NYC Resistor has decided to take on a fun challenge for the next month revolving around his programmable inPulse watch. Over the upcoming 30 27 days, he will design, program, and publish a watch face for the timepiece. He already has 3 days behind him, and the results are pretty interesting. The concepts are creative and functional, though due to time constraints they sometimes end up a little less polished than he would like.

All of the code is available on his Bitbucket page if you have an inPulse watch and would like to play along or improve on his work.

We think it’s a pretty cool project, and we are eager to see what he produces each day. Stick around to see a quick video showing off one of his 3D watch faces.

Continue reading “Watch Hacking, One Day At A Time” →