Six-digit VFD alarm clock

[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.

[Read more…]

Color changing coaster has a built-in drink detector

[Robert] put together his own illuminated coasters that know when they hold a drink. They look fantastic, thanks to professionally produced PCBs and a layered, laser-cut acrylic case. They’re much like the pagers given to restaurant-goes who are waiting for tables, but this version is much fancier (and doesn’t include the vibrating/paging feature).

The RGB-LED board is a previous project which was developed using eight surface mount RGB LED modules around a circular board. It uses an ATmega168 paired with an MBI5168 constant-current LED sink driver. The coaster enclosure gave him room for a few more items, like the pair of AA batteries which work in conjunction with a boost converter to power the device. It also houses an IR reflectance sensor which is used to detect the presence of a drink on the coaster. This is important since an on-occupied coaster looks like it would be blindingly bright if there wasn’t a glass to diffuse the intensity of the LEDs.

He mentions that incandescent light bulbs mess with the IR reflectance sensor. But there must be some way to account for ambient conditions with the code, right?

WiFi experiments with ATtiny microcontrollers

[Quinn Dunki] got some free stuff from Element14 to evaluate, including this Mircrochip WiFi module. It’s been used as the centerpiece of an Arduino shield in the past, and she grabbed a copy of that library to see if it would play nicely with an ATtiny chip. What follows is a struggle to de-Arduino the code so that it’s portable for all AVR controllers.

This module is one of the least expensive ways to add WiFi to a project, coming in at around $23. But it’s not really an all-in-one solution as there’s still a huge software hurdle to cross. The hardware provides access to to radio functions needed to communicate with the network, but you need to supply the TCP/IP stack and everything that supports it. Hence the re-use of the Arduino library.

Battling adversity [Quinn] fought the good fight with this one. Switching from an ATtiny to the ATmega168, compiling more code, and troubleshooting the process. She used a single LED as feedback, and can get some connectivity with her hotspot. But to this point she hasn’t gotten everything up and running.

We’re hot for an AVR WiFi solution that is cheap and easy to use. But as we see here, the software is complex and perhaps best left up to beefier hardware like the ARM controllers. What do you think?