Dienstag, 7. Januar 2014

RGB ring clock


Another project done over christmas! A simple LED clock for the kitchen wall. And with short term countdown function controlled by touching the aluminium frame.

red = hour
green = minute
blue = second
yellow = alarm

I've wanted to do a Arduino based clock for some time and had a strip with 60x RGB LEDs with WS2811 controller sitting on my shelf. I wanted to use a external RTC chip to get an exact time and found a cheap DS3231 board on eBay.

The outer and inner rings are made out of 1mm thick, 15mm wide aluminium which I hand bend into shape. The white diffusing front is a 6mm depron piece. Being unable to cut it into the right shape, I've heated up the aluminum rings to 200° and pressed them into the foam. Worked like a charm.

Here is a video of the clock and the operation of the countdown:


Sorry for the dimness, but my cam was overwhelmed by the bright LEDs.

The code and schematics are on github here. I build in two touch inputs (another one to decrement the countdown), but if both are touched at the same time the thing goes haywire and doesn't stop feeling the touch. Only happens with a cheap 5v power brick.

Kommentare:

  1. Now, everytime I see the blue light blinking to the next second I mention a little sound in my head: "Tick... tick... tick..." The best clock for kids with noise problems and darkness.
    It´s cool! :)

    AntwortenLöschen
  2. Thanks!
    And as stated in the video, sound can be easily implemented ...
    ... if you don't have noise problems that is. =)

    AntwortenLöschen
  3. Peter,

    what I'm doing wrong ?

    CapSense touch1 = CapSense(4,12); // 120k resistor between pins 4 & 12, pin 12 is sensor pin, add a wire and or foil

    AntwortenLöschen
  4. I've updated the Github readme with build instructions. You need to use Arduino 0022 and the Version 03 of the CapSense library. I've linked to it in the document.

    Have fun!
    Peter

    AntwortenLöschen