[Toni] has been playing around with NTP, the Network Time Protocol. This enables the alarm clock develop to keep extremely precise time by synchronizing with an NTP server on the Internet.

The job serves as a bedside alarm clock. When it comes time to wake in the morning an alarm seems as well as the screen switches from utilizing a blue backlight to utilizing a red one. This is show in the video below, however you’ll want to turn down your speakers before viewing it; the alarm noise will have no issue waking you up in the morning. After the unwelcomed jolt you’ll get a peek at the Easter Egg which reminds you to inspect for new messages on Hackaday.

Afraid of ending up with a steaming stack of slag instead of a server [Toni] asked us to hold the job files. You can discover the first-hand description of the job as well as a link to the code below.

Toto je záznam v súťaži Fubarino pre možnosť na jednom z 20 Fubarino SD dosiek, ktoré Microchip vložil ako ceny!

NTP Alarm Clock

A few weeks back I’ve developed my own alarm clock. For that function I utilized an Arduino Ethernet as well as an Adafruit LCD Shield. I chose to utilize an old cardboard box as well as fixed both things inside as well as cut a hole for the power connector, LAN as well as one for a USB cable television which result in a Usb2Serial adapter (Don’t precisely understand exactly how they’re called). then I added a piezo speaker. now I’ve a cardboard box with holes as well as a display. (The clock can be powered by the power plug or by usb, just like any type of arduino)

Lets come to the software application part. very first I’ve discovered this sample code for linking to NTP servers(http://arduino.cc/en/Tutorial/UdpNTPClient). I included the library for my RGB LCD as well as defined some colors. then a navigation menu was coded. It’s extremely easy to use: press “key up” to choose Timezone, add or subtract with “right”/”left”. “Key up” once again for toggle alarm activation. finished with “select”. “Key down” for Alarm Hour, “key down” once again for alarm minute, finished with “select”. then it’s time to go to bed, don’t concern about the background illumination, it gets dark after a few seconds of inactivity, the screen is still somewhat visible though.

The next morning you’ll wake as much as the nasty alarm noise of this clock. however there’s a challenge. There isn’t a “snooze” or “ShutTheAlarmOff” button. To silence the alarm all that needs to be done is to change the alarm time. just add for example 5 minutes to the alarm time. soon after that the alarm will sound again, set the time back to the original time, now it’s prepared for the next day. Or just toggle activity however keep in mind to reactivate on the evening. You’ll never oversleep since navigating with the menu needs a bit of concentration. After silencing the alarm you’re certainly awake.

But there are still thing delegated do: the date when displayed a unfavorable number however I hadn’t the time to inspect what triggered this behavior. likewise the screen flickers while in the navigation menu which is just not so good looking.

But you may now ask yourself where the hackaday.com URL hides. The response is simple: Every morning I get reminded to inspect the webpage, just while the alarm is ringing. What a good begin into the day!

Arduino Sketch