[Haris Andrianakis] just finished building this very clean-looking vacuum fluorescent display clock. It shows six digits using IV-11 tubes, and also has a half-dozen RGB LEDs to spice things up (check out the video after the break for an example). An ATmega168 drives the device, controlling the display and serving as a battery-backed real-time clock.
As with any tube-based clock there’s a fair amount of work that goes into driving the display. Each tube has a filament which requires 1.2V, and the segments themselves need 60 volts to light up. The microcontroller is not hard to protect; this is done with a series of transistor-based circuits used for switching. But the need for three voltages (to power microcontroller, filament, and segments) means a more complex PSU design. [Haris] chose to use a MAX6921 to simplify the process.
If you’re considering building something like this, we’d recommend looking for some 12-segment tubes. As we’ve seen before, they can display letters as well as numbers in case you wish to repurpose the device in the future.
Continue reading “Six-digit VFD alarm clock”
If you’ve got a pet that roams freely in and out of your house, you may find yourself wanting to more closely regulate how they come and go. [tareker] was looking to keep his cat indoors at night when dangerous animals might be lurking in the neighborhood, but he didn’t want it to become a hassle.
He already had locking pet door on hand, which he hacked to regulate the egress and ingress of his cat automatically. He installed a pair of reed switches to determine if the door had been opened outwards (cat leaving) or inwards (cat returning), keeping track of the state using an Arduino Nano. A servo motor attached to the door’s frame locks the door whenever it detects the cat is safely inside after nightfall.
While he also added an RGB LED to reflect the status of the door, he’s considering connecting it to the Internet so that he can control and check the door from wherever he might be at the moment.
[Kalle Hyvönen] just finished building his own aquarium lights. He used four powerful soft-white LEDs, mounting them on a pair of heat sinks to keep things cool. Now he could have just connected them to the power supply and plugged it into the wall, but instead he included is own controller. An Arduino drives the switch-mode power supply, offering dimming thanks to PWM, and the ability to automatically switch the light on and off using an RTC chip with a battery backup. The sketch includes the ability to alter the lighting schedule and other variables by sending serial commands through a USB connection. This protocol is detailed with comments in his sketch.
We’ve seen a lot of interesting aquarium light projects. This one that uses heat from the LEDs to warm the water is one of our favorites. Others are full of features like this version that includes a moonlight mode. But Arduino enthusiasts don’t have to look far to find offerings like this PAR meter build, or this aquarium light controller library which can be recreated using the ubiquitous controller board.
[Karl] needed a programmable real-time clock for one of his projects. He considered adding an RTC chip, LCD screen, and some buttons for use with a microcontroller. That’s not necessarily hard, but it takes time and can be considered a project in itself. Instead, he headed to the hardware store to look for a cheap solution. He was able to get this AC outlet timer for a song. It’s got everything he needs; twenty programmable on/off events, a calendar to track time and day of week, and a user interface made up of a low-power LCD and four buttons. He cracked open the case and patched into the electronics for use with any project.
You can see the solder-tab battery in the middle of the board (green coin-cell). That actually runs the timer circuitry and display. It’s topped off when the unit is plugged into mains, but [Karl] ended up replacing it with a much higher capacity AA rechargeable battery. The device works just like a thermostat, using very little power and driving a relay at the appropriate time. Batteries in thermostats seem to last forever and we can expect the same performance from this device. [Karl] rerouted the trigger signal from the relay to his own 2N2222 transistor. This way the device can switch loads running at voltages other than its own 1.2V operating level.
Stock timers are great. They’re mass-produced which makes them cheap, and you can do some interesting stuff with them. We really enjoyed see this other mechanical version hacked for hydroponic use.
[Martijn] is showing off his new clock which he calls a Light Spectrum Clock. We like to look of it, using RGB LEDs in five squares that remind us of some of those LED coffee table builds. From left to right this shows the week, day, hour, minute, and second. Simple, right?
We had to smile a little bit when looking through his write up. He chose an Arduino nano as a controller, using a TLC5940 chip to drive the LEDs. But it is the inclusion of a DS1307 real-time clock that we find amusing. It will keep quite accurate time (not quite as well as the DS3232 but still respectable) but the fuzzy display technique makes telling the time accurately an impossibility. But like other color-based clocks, that’s part of the fun. The real reason for using an RTC chip is that they usually include battery-backed operation so that you can shut off the LEDs when you’re not around and the clock will continue to tick.
You can watch the seconds pass by as fading colors in the clip after the break.
Continue reading “Very accurate clock can’t be read accurately”
[Josh] and his lab partner [Eric] needed a final project for their Embedded Systems Design class, and thought that designing an Arduino shield would be a cool idea. They noticed that there are plenty of ways to get an Arduino to keep time, though none that they knew of utilized WWVB (Atomic Time) signals directly.
The Chrono-tomic Arduino shield uses a C-MAX radio to demodulate the WWVB signal, demodulating it and passing it along to a PIC16F1824 microcontroller. The PIC decodes the data frame and verifies it is valid, sending the time to an MCP79410N real-time clock module.
We can hear the “Yo dawg I herd you like microcontrollers so I put a microcontroller on your microcontroller shield” jokes already, but the pair says that they offloaded the time processing to the PIC in order to let the Arduino focus on whatever tasks it has been delegated. The Arduino code merely needs to request the time from the RTC whenever it is required, rather than deal with the decoding itself.
Is it overkill? Perhaps – though we think it heavily depends on your application and configuration. We can certainly conjure up situations where it would be useful.
[Erik] wrote in letting us know that he just completed development of the Bobuino, a Arduino based on an ATmega1284. That chip is nice and beefy, most notably for having 16 KB of SRAM but it also boasts 4 KB of EEPROM, and 128 KB of program memory.
But the upgraded chip isn’t the only thing that it brings to the table. It’s easy to spot the on-board SD card slot in the image above. Also of note is the battery-backed DS1307 real time clock with a jumper that will route the square wave output to one of two pins on the microcontroller.
This design is compatible with standard Arduino shields thanks to the familiar pair of pin sockets, and can still be programmed via the USB socket. Since the AVR chip has more IO than normal there’s also pin headers to break out the PORTC pins, for a JTAG connector, and for an RS232 port.