Even in the face of an Internet of Things grasping for a useful use case, an Internet-connected clock is actually a great idea. With a cheap WiFi module and a connection to an NTP server, any clock can become an atomic clock. [Jim] decided to experiment with the ESP8266 to turn a cheap analog clock into something that will display network time using a bunch of gears and motors.
The clock [Jim] chose for this build is an extremely cheap clock pulled right from the shelves of WalMart. This clock uses a standard quartz clock mechanism, powered by a single AA cell. The coils in these quartz movements can be easily controlled by pulsing current through them, and with a few a few transistors and diodes set up in an h-bridge, an ESP8266 is quite good at setting the time on this clock.
The software for this clock first connects to the WiFi network, then checks an NTP server for the true time. Once the ESP8266 gets the time, it starts hammering the coil in the clock movement until the hands are where they should be.
[Jim] says the project needs a bit of work – there is no feedback on the clock to determine the position of the hands. Instead, the time is just set assuming the clock hands started off at 12:00. Still, even with that small fault, it’s a great build and a great exploit of what can be done with a cheap quarts clock movement.
If you’d like to go to the opposite extreme of cost and complexity, how about a DIY retro atomic clock? Or if you’re in need of a wakeup, we’ve seen a ton of alarm clock posts in the past few weeks.
[Benoit] was using an extremely old alarm clock which normally ran on mains power, and he plugged it in to his computer’s UPS to keep it operational during power outages. He noticed that when the UPS switched on that the clock would run fast, though, and apparently it was keeping time by watching the power system frequency. To solve this problem he created his own feature-dense clock which runs Linux.
This alarm clock has everything: seven-segment displays housed in clear epoxy, a touch interface, battery backup, the ability to retrieve the time from an NTP server, and a web interface to change the clock’s settings over the network. That was a large part of [Benoit]’s decision to have the clock run Linux; the network capabilities add a lot of functionality to the clock like the ability to send commands to other devices at particular times. The clock runs on an Aria G25 SOM and has a custom case that looks very professional.
We’re suckers for a high-quality clock builds here, and [Benoit]’s most recent project hits all of our buttons. Even though it doesn’t currently drive people insane or tell confusing time, the Linux and networking capabilities could certainly open up options!
If you’ve ever lived in a building with manually controlled central heating, you’ll probably understand [Martin]’s motivation for this hack. These heating systems often have old fashioned valves to control the radiator. No Nest support, no thermostat, just a knob you turn.
To solve this problem, [Martin] built a Wi-Fi enabled thermostat. This impressive build brings together a custom PCB based on the ESP8266 Wi-Fi microcontroller and a mobile-friendly web UI based on the Open Thermostat Scheduler. The project’s web server is fully self-contained on the ESP8266.
To replace that manual value, [Martin] used a thermoelectric actuator from a Swiss company called HERZ. This is driven by a relay, which is controlled by the ESP8266 microcontroller. Based on the schedule and the measured temperature, the actuator lets fluid flow through the radiator and heat the room.
As a bonus, the device supports NTP for getting the time, MQTT for publishing real-time data, and ThingSpeak for logging and graphing historic data. The source code and design files are available under a Creative Commons license.
When [William’s] thermostat died, he wanted an upgrade. He found a few off-the-shelf Internet enabled thermostats, but they were all very expensive. He knew he could build his own for a fraction of the cost.
The primary unit synchronizes it’s time using NTP. This automatically keeps things up to date and in sync with daylight savings time. There is also a backup real-time clock chip in case the Internet connection is lost. The unit can be controlled via the physical control panel, or via a web interface. The system includes a nifty “vacation mode” that will set the temperature to a cool 60 degrees Fahrenheit while you are away. It will then automatically adjust the temperature to something more comfortable before you return home.
[William’s] home is split into three heat zones. Each zone has its own control panel including an LCD display and simple controls. The zones can be individually configured from either their own control panel or from the central panel. The panels include a DHT22 temperature and humidity sensor, an LCD display, a keypad, and support electronics. This project was clearly well thought out, and includes a host of other small features to make it easy to use.
[Toni] has been playing around with NTP, the Network Time Protocol. This allows the alarm clock build to keep very accurate time by synchronizing with an NTP server on the Internet.
The project serves as a bedside alarm clock. When it comes time to wake in the morning an alarm sounds and the screen switches from using a blue backlight to using a red one. This is show in the video below, but you’ll want to turn down your speakers before watching it; the alarm sound will have no problem waking you up in the morning. After the unwelcomed jolt you’ll get a glimpse at the Easter Egg which reminds you to check for new posts on Hackaday.
Afraid of ending up with a steaming pile of slag instead of a server [Toni] asked us to host the project files. You can find the first-hand description of the project and a link to the code below.
This is an entry in the Fubarino Contest for a chance at one of the 20 Fubarino SD boards which Microchip has put up as prizes!
Continue reading “Fubarino Contest: NTP Clock”
[Kyle] decided to build the above LED clock for his church. Though it may look impressive enough, it is also hiding loads of features. [Kyle] wanted to make the clock as easy to control as possible, so rather than use buttons or dials to control what is being displayed, he used Twitter. The clock is connected to the internet through a Linksys WRT54GL. The router was hacked so not only does it supply the connection to Twitter, it also parses all of the replies the clock’s feed gets. The clock responds to commands to turn it on or off, run a countdown before service, display the number of viewers on the church’s live stream, and display a sequence of numbers. The time never needs to be set, as it is synched from the internet. The circuit for actually driving the display is based off a PIC, but it was changed to run off an Arduino.