ClockTurn Project was an idea I had when I was nearly sleeping in a very boring lesson at school. Wouldn’t it be cool to turn the time like you want to? So i started to collect ideas. I disassembled a cheap clock and tried to speed it up by sending faster impulses to the coil that turns the magnet in the smallest wheel of the gearing. It worked but I wasn’t able to reverse the clock by changing the polarity.. So I decided to build a little stepper-motor into the gearing. Luckily the teeth of the cheap clockwork fit onto a M5 thread, what made things much easier.
I built a Atmega328 with his minimal surrounding components and the stepper driver on a little board and wired it all up. Then I modified a sticky-tape-roller by building an IR sender into it. So I was able to controll the big clock in our class with my sticky-tape-roller.
This was quite funny but the sticky-tape-roller wasn’t the best remote. So I used a TV Remote instead.
Around one year later I thought about the project again and started to make improvements: I’ve added a relay to switch something (like a heatwire to pop a balloon or other things) , a led for debug-purposes and a little Undervoltage cut-off circuit to protect the lipo battery (I already ruined two…).
I also tried to use the arduino usb host shield with a cheap bluetooth dongle instead of the IR remote. That worked nicely but only with my laptop and not with my phone. So I searched on and ordered some bluetooth 4.0 modules to communicate with my iphone but unfortunatly the iphone 4 doesn’t have bt 4.0 so I needed something else.
The final solution is a TPLink WR700N MiniRouter which i flashed with OpenWRT.
It lives inside the Clock and is also powered by the clock’s lipo battery. It runs a lua script that waits for incoming http post requests (luasocket) and sends signals to a usb-serial bridge which is connected to the microcontroller.
So to control the clock you’d have to connect your phone to the wifi (provided by the router) and then send http POST requests. I added the three commands for the clock to my homeautomation IOS app and also to It’s companion pebble watchapp. So now I can control the cock using my pebble.
I never opened the original clockwork so if I don’t want to use the clock (because that means to replace the lipo everyday) and still don’t annoy the class I put it back in. And my most important “tool” to mount everything inside the clock: Duckt-Tape =D
For carneval at school I was searching for a gag. So i built a small circuit (so called current source) to limit the current from the lipo and added heatwirepads from an old toy my father built for me when i was 8 (also a maschine to pop balloons filled with confetti).
Here are some more photos:
I reccently had to do a presentation for uni and I choose the clockturnproject as my topic.
Since my old Homeautomation app has been renewed, I built an extra app for clockturn (and a new pebble watchface) You can checkout the watchface on my github.