Simple Timer Evolves Into Custom Kid’s Watch

Sporting a new wristwatch to school for the first time is a great moment in a kid’s life. When it’s a custom digital-analog watch made by your dad, it’s another thing altogether.

As [Chris O’Riley] relates, the watch he built for his son [Vlad] started out as a simple timer for daily toothbrushing, a chore to which any busy lad pays short shrift unless given the proper incentive. That morphed into an idea for a general purpose analog timepiece with LEDs taking the place of hands. [Chris] decided that five-minute resolution was enough for a nine-year-old, which greatly reduced the number of LEDs needed. An ATtiny841 tells a 28-channel I2C driver which LEDs to light up, and an RTC chip keeps [Vlad] on schedule. The beautiful PCB lives inside a CNC machined aluminum case; we actually commented to [Chris] that the acrylic prototype looked great by itself, but [Vlad] wanted metal. The watch has no external buttons; rather, the slightly flexible polycarbonate crystal bears against a PCB-mounted pushbutton to control functions.

With a snappy wristband, [Vlad] will be rolling fancy on the schoolyard. It’s a great looking piece that needed a wide range of skills to execute, as all watches do. Check out some other watch builds, like this lovely pure analog, another digital-analog hybrid, or this pocket watch that packs an Enigma machine inside.

Continue reading “Simple Timer Evolves Into Custom Kid’s Watch”

A Hacker-Friendly Blinky USB Stick

The availability of Smart RGB LED’s, either as individual units, as strips or even as panels, have made blinky light projects with all kinds of color control and transition effects easy to implement using even the simplest of controllers. Libraries that allow control of these smart LEDs (or Smart Pixels as they are sometimes called)  make software development relatively easy.

[overflo] at the Metalab hackerspace in Vienna, Austria recently completed development of usblinky – a hacker friendly blinky USB stick. It can control up to 150 WS2812B smart LED’s when powered via an external power supply, or up to 20 LED’s when powered via a computer USB port. The micro-controller is an ATTiny85 running the Micronucleus bootloader which implements software USB using vUSB. The hardware is based on the DigiSpark platform. The usblinky software sources are available on their Github repo. The section on pitfalls and lessons learned makes for interesting reading.

Metalab plans to run workshops around this little device to get kids into programming, as it is easy enough and gives quick visual feedback to get you started. To round off the whole project, [overflo] used OpenSCAD to design a customizable, 3D printable “parametric orb” which can house the LED strip and make a nice enclosure or psychedelic night light. Check out the mesmerizing video of the usblinky Orb after the break.

Thanks to [papst] for sending in this tip.

Continue reading “A Hacker-Friendly Blinky USB Stick”

Interrupt Free V-USB

resync

[Tim’s] new version of Micronucleus, Micronucleus 2.0, improves upon V-USB by removing the need for interrupts. The original Micronucleus was a very small implementation of V-USB that took up only 2KB. Removing the need for interrupts is a big leap forward for V-USB.

For those of you that do not know, “V-USB is a software-only implementation of a low-speed USB device for Atmel’s AVR® microcontrollers, making it possible to build USB hardware with almost any AVR® microcontroller, not requiring any additional chip.” One tricky aspect of using V-USB is that the bootloader requires interrupts, which can lead to messy problems within the user program. By removing the need for interrupts, Micronucleus 2.0 reduces the complexity of the bootloader by removing the need to patch the interrupt vector for the user program.

With the added benefit of  speeding up the V-USB data transmission, Micronucleus 2.0 is very exciting for those minimal embedded platforms based on V-USB. Go ahead and try out Micronucleus 2.0! Leave a comment and let us know what you think.