Making the Bulbdial clock touch sensitive

We never thought about it before, but having the controls on the bottom of a clock is a bit of an inconvenience. [Alex Whittemore] mutes the LEDs on his clock each night and after a while, decided he should make the mute button into a touch strip on the case. You’ll remember that the Bulbdial clock uses colored LEDs to create the effect of a sun-dial, casting colored shadows for each hand of the clock. It makes sense that this would put off a pretty good amount of light at night. [Alex's] original thought was to use a capacitive touch sensor but complexity and cost were in his way. What he ended up with is a resistive touch switch based off of two metal strips. He used metal repair tape but suggests copper foil as he was unable to solder to tape. When your finger touches the two strips it completes the circuit for the base of a transistor, which in turn grounds the mute button on the clock. Cheap, simple, and illustrated in the video after the break.

Comments

  1. Anon says:

    The title says “Blubdial” instead “Bulbdial”.
    Alternatives are Lumie as a sunlight alarm clock

  2. e91 says:

    I was hoping touch sensitive meant he could adjust the time by moving the hands via circular touch strip, just like a real clock.

  3. Andrew says:

    You can make a capacitive touch sensor with nothing more than a high-value resistor and a spare GPIO pin on your micro. See page 11: http://focus.ti.com/lit/an/slaa363a/slaa363a.pdf

  4. muzzi says:

    That’s a nice breadboard setup. Does that fold up into a type of folder? Did you make it or buy? Looks like it keeps things nice and neat.

  5. alexwhittemore says:

    e91: holycrapholycrap best idea EVER. I’d have to etch a board to get the high number of contacts required without losing my mind, but hey, maybe it’s an excuse to do some toner transfer. It’d require another micro and serial to talk to the arduino, which I wanted to avoid, but for that it might be worth the hassle.

    Andrew: rtfa. Yes, I know you can. I even mentioned it as my initial before-anything thought. Problems are 1. it’s a pain in the butt to get RIGHT, and at the level of abstraction that Arduino provides for coding, it’d be (really hard) to get the timing, and 2. I had no spare gpio. That’s the biggest issue of this whole problem. I could add another micro, and use one of it’s GPIO to manage the button’s pin, but then that’d be a whole extra unnecessary level of complexity, and it’d OBLITERATE my low part count and almost nonexistent cost.

  6. Rachel says:

    I’m more interested in the neat protoboard setup. It looks like solid pins are soldered to the jumper wires, so they no longer deform uselessly after a single insertion. I might have to make some of these…

  7. alexwhittemore says:

    Rachel: assuming you mean the jumper wires themselves, no need.

    Cheap:

    http://www.seeedstudio.com/depot/breadborad-jumper-wire-70pcs-pack-p-234.html?cPath=104_105

    Good:

    http://www.sparkfun.com/commerce/product_info.php?products_id=9194

    I have the cheap ones, they’re good enough. I also have the f/f sparkfun jumpers, though.

  8. Rachel says:

    @alexwhittemore

    I once attended a seminar on using freescale touch sensors, so I have a fairly good idea of how to design this. If you’re using a freescale part, it’s the only extra component you need, and it interfaces over a bus.

    There’s no need for 60 IO. All you need is 3-4 circuits, alternately connecting each of the radial traces. The setup works kind of like a quadrature encoder, with 1-2 extra inputs for better accuracy.

    You don’t even need 60 traces. You only need 8-10. The touch controller chip uses analogue interpolation to give a smooth 360 degree location. This is exactly how apple’s touch wheel works.

    To make things even easier, there’s no need for a separate board. You can print the traces directly underneath the other components without having to worry about interference.

    Freescale has a very nice sample policy, too.

  9. J. Peterson says:

    Um, why not skip the control completely and just put a cheap photocell in so the display dims automatically with the amount of ambient light?

  10. alexwhittemore says:

    Rachel: are you suggesting that for the sake of implementing the idea e91 had? Certainly sounds like a nice solution. Do you know if the freescale parts were resistive or capacitive?

    Also, I’m not sure what you mean “analog interpolation” but I can imagine that if you lay out 8 circular traces, concentric around the perimeter of the face and with selective solder masking, you could resolve 256 individual finger locations, which yes, is more than enough to uniquely identify 60 minutes.

    Peterson: You could do that. But keep in mind, I have NO pins left on the arduino. I have the digital pin that the switch uses, and that’s it. I could use an op amp and a comparator to get a useful 0/1 out of the photocell, thresholded at some desirable light level, but then that doesn’t ACTUALLY solve my problem, does it? I don’t want the thing to be dim at night. At its dimmest, it’s still too bright to fall asleep with. But if it turns off at night, then it becomes useless when i’m in the room but still not going to sleep. The only reasonable solution to the problem is me manually controlling display on/off, and I feel I’ve implemented the easiest AND cheapest method to do so.

  11. Rachel says:

    Yes, it’s for e91’s idea. It’s difficult to explain what I mean, but I’ll try again. Imagine two pads next to each other, each connected to a separate input. Since each input gives you an analogue value of the proximity of your finger, combining the two values will give you a linear value of where your finger is along the two pads.

    I think this is the right part:

    http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MPR083&nodeId=01126982689B24

    I guess it uses 8 pads instead of four, but the idea is the same. It’s I2C, so it uses the same bus as your chronodot. It’s only about $1.

  12. alexwhittemore says:

    I see what you’re saying now: it’s capacitive, and can resolve some range of capacitances for the finger being from the center of one pad to the center of the next. Sounds like a good plan, I could even just add an i2c bus header between the chronodot and the board to make things nice and modular.

  13. alexwhittemore says:

    For anyone interested in the breadboard, here it is:

    http://www.alexwhittemore.com/?p=462

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 97,581 other followers