Shop OBEX P1 Docs P2 Docs Learn Events
Radial Clock project — Parallax Forums

Radial Clock project

JasonDorieJasonDorie Posts: 1,930
edited 2016-03-02 05:39 in Propeller 1
I'm kind of fascinated by cool clocks, and have long wanted to build one of the spinning POV types, but was never happy with the result (hard to tell the hours / mins / secs apart, noisy, etc). I recently bought a bunch a couple strips of DotStar LEDs and had another go of it. DotStar LEDs are like NeoPixels, but with a much higher update rate and more forgiving timing.

There are currently 60 LEDs around the outer edge in a circle, pointing inward. There will soon be another ring of 60 in the middle, pointing outward. The whole thing is driven by a Prop, using a DS1307 RTC to keep time. I only check the RTC once an hour, and just use the Prop's internal counters otherwise.

This is the first time I've ever made my own SMD board. I did the layout in DipTrace, sent the files off to OSH Park to make the boards. I applied solder paste by hand with a syringe, placed components with tweezers, and used a $30 electric skillet from Target to solder it up. Aside from a dumb design error, it worked. You can see the fix in the pictures - I had the level shifter connected to 3.3v instead of 5v.

The physical part of it is HDPE, cut on my CNC. I'm probably going to simplify the physical design quite a bit in the next version, and it's going to have a thin sheet over the front to diffuse the LEDs. I also want to have a photo-sensor to let it adjust to ambient light, and a means to set the clock (currently that's done in code, once, then the RTC battery keeps time when unpowered). I might do that with an IR remote, and use the same to allow you to change "modes" in the display. With 120 addressable RGBs there are lots of possibilities.

Here's a clip:


This is using PropGCC, and is currently just over 4kb, compiled.
1078 x 808 - 128K
1078 x 808 - 119K

Comments

  • Nice. How about only lighting the segments that represent the hour, minute and second in different colors, which when they overlap become more colors? Watching the video, it took almost the whole length for me to figure out what time it was. 12:27 ?

    Or if you really like color, turn off the segments representing the hands, and all the rest are colors.

    Ever see an Aurora clock?
  • Great project Jason, didn't have the option to view the video here, not a fan of clocks with moving parts, even though you can get some crude graphics and animations out of them. You can still get someone's attention with a dance around the dial, and it would be a pleasure to be a clock watcher. Nice work.
  • Sapphire wrote: »
    Nice. How about only lighting the segments that represent the hour, minute and second in different colors, which when they overlap become more colors? Watching the video, it took almost the whole length for me to figure out what time it was.

    Ever see an Aurora clock?

    I hadn't seen an aurora clock until I went googling for it. The mode in the video is only one of them. The "default" mode is exactly what you say - H/M/S each have their own color, and the colors blend when they overlap. I also make them different widths to help differentiate them. The clock hardware supports two rings of LEDs, and I have another one to mount - the inner ring will be hours, the outer ring will be minutes and seconds, much like a traditional clock.

    The "sparkle" mode (in the video) maintains a fixed brightness but slowly and randomly moves pixel colors around. I also want to do a version where the background is fixed to a single color (probably white) and let you choose the intensity of it, so you could use it as a room or reading light as well as a clock.

    Mostly I made it as a test of skillet soldering. I've always been a little intimidated by SMD stuff. Having done it, it really isn't that bad.
  • jmgjmg Posts: 15,172
    JasonDorie wrote: »
    The physical part of it is HDPE, cut on my CNC.

    That'some nifty tooling.

    JasonDorie wrote: »
    There are currently 60 LEDs around the outer edge in a circle, pointing inward. There will soon be another ring of 60 in the middle, pointing outward.
    Interesting idea. Could make it easier to read, at the expense of 2x the LED count.
    Even 12 on the inner led could be useful, at a reduction in cost ?

  • I already have the LEDs, and I wanted it to be able to "tween" when not directly on an hour. For example, if it was 4:55, the hour hand on a real clock is much closer to 5 than to 4, so my code does this too.
  • JasonDorieJasonDorie Posts: 1,930
    edited 2016-03-24 22:42
    I wasn't quite happy with the look, or how fussy it was to build, so I tried a different approach for the physical part. I like this one better:


  • jmgjmg Posts: 15,172
    That presents nicely, especially at night & low light levels.
    How many LEDs in the rings ?
  • Exactly 60 per ring. The outer strip is 1M circumference using 60 LED/M, and the inner strip is using 144/M, so it's (60/144)M circumference. I'm probably going to add support for an IR remote to set it or change modes, and make the face dim at night.
  • You should head over to www.reddit.com/r/DIYElectronics. They have competitions every month or two and they're in the middle of their clock competition.
  • I don't even have a reddit account - might have to create one so I can enter. :)
Sign In or Register to comment.