[youtube=http://www.youtube.com/watch?v=YpqFU4SGe1Y&w=470]
[Simon] came up with an improved version of Lord Vetinari’s clock that begs to be installed in waiting rooms around the world.
Last week, we were introduced to a real-life Vetinari Clock that keeps regular time but ticks at irregular intervals. It’s a great way to turn someone’s mind into porridge, but the original build broke after a few weeks because of some limitations in the clock drive. [Simon] built a very minimal circuit does away with these problems.
Just as in the first build, a microcontroller pulses the second hand motor once every second. As for the random component of this build, the microcontroller has a puts 32 bytes into a 128 byte array. The array is checked 4 times a second, and if the byte is 1, the second hand is incremented. If the byte is 0, time stops for a little bit. [Simon] included the schematic, board layout and code if you’d like to build one yourself.
There are a few drawbacks to this design; the pattern of ticking and not ticking is hard-coded into the microcontroller. Even though the 32 second long pattern shouldn’t be noticeable by watching the clock, it’s not an entirely random solution. Judging from the comments on the original build, using radioactive decay to increment a second might be a bit uncalled for.
We would like to see a second hand that stops when you look at it though. Facial recognition, anyone?
i like it!
don’t have sound on (i’m “working”) but does it have a nice booming rhythmic tick.. that doesn’t follow the seconds arm at all?
The tick follows the seconds arm as it moves. It’s just not at a one second interval all the time.
Ramdomness could be achieved using a software linear feedback register, and for more ramdomness an analog imput ( left floating, connected to a temp sensor, or conected to a volt imput, etc) could be used as a seed
I don’t get the point. Watched the video and am still more or less sane. Why should anybody go crazy because of this more than a rythmic tick?
Snap! I built one too earlier this year too!
http://www.youtube.com/watch?v=YHW7c1ZJDBw
From personal experience: you don’t notice the irregular ticking until you go to sleep. Trying to sleep with the clock in the room will drive you slowly insane – you will sleep uneasily and you will randomly wake up throughout the night.
In my implementation I used a 32-bit random number generator (LCG) to vary each second by up to plus/minus 700ms. I also had a button to switch to a more subtle plus/minus 300ms.
Pure evil… Like!
I want a more grandfather clock sound. A more natural “tic-tock” sound for a quiet, contemplative office. There is nothing so soothing, so regular as a grandfather clock ticking in a quiet room.
How great would this be?
I just have to have this!
I don’t know about facial recognition, but a motion sensor may be pretty easy to implement. Whenever the clock detects motion in the room, it will stop ticking for 10 or 15 seconds… That could really drive you crazy.
I saw a clock that stops when you watch at an exhibition in Kassel(Germany) two years ago, it worked with a webcam, processing and an arduino.
Was funny but not very confusing.
i have a idee to make it even more insane i think.
use a backwards clock like the one here
http://www.thebackwardsclock.com/ im not promote this site btw its only for the clock.
i think it drive you mad.
A friend of mine has one of these. You just get used to it after a while. So much so that when you see other clocks, they all look strange.
I’m sort of surprised the code was not written in assembler code, being as simple as it is. The high tech compiler ya have to pay for, if I remember right too.
Never the less that clock would dive me mad! Now, which one of my co-workers do I need to get revenge on, mwahaha!
Hi-Tech compiler also offers a free version.
I came up with an idea to implement the PIR sensor using the 12F683’s comparator.
It should be relatively simple to set the comparator trip point so that it simulates a window comparator in software.
Just a thought.
Also maybe add a 2 minute random “normaliser” so that it ticks as expected for most of the time, then switches modes when someone new walks in the room.
I still think these versions aren’t subtle enough. I’m pretty sure it’d work better with a variation of tick intervals between about 0.9 and 1.1 seconds, biased appropriately when it’s running late/early. Much subtler, and probably much more annoying.
Also, there are plenty of software PRNG implementations you could use that would be much better than a predeclared table of ‘random’ data. Or you could sample the analog signal on an unconnected analog pin.
LIKE SO MUCH!!!!!!!!!!!! SUPER THUMB UP!
haha this is great :-)
In the second version of the clock software I added a secondary rolling delay to the movement of the second hand so that the pulses are not equally spaced across the quarter-second updates. This gives a more random feel to the movement. There is another video showing this:
http://www.youtube.com/watch?v=XvYcAjRhpRE
Suggestion: Generate a maximal length PRBS of say 20 bits and drive the generator at 2 Hz. Advance the seconds arm if the output is a 1. Over the complete cycle (2^20-1) the clock will tick slightly less than once per second by a factor of around 1/10^6, which could be compensated for by increasing the MPU frequency by the same factor. The output will suspend for up to 9.5 seconds, or advance 20 times in 10 seconds at the extremes. The software required to implement this would be trivial.
I’m liking this, but I still think it’s too obvious. Maybe if it slowed down and sped up at random over a period of several seconds, the distortion would be less noticable?
RE: Stopping the second hand when the clock is looked at. How about the detectors used in store displays? The use an emitter / detector pair and use the reflection that causes ‘Red Eye’ in pictures to tell when they are looked at.
Tried to find a link to the concept.. have to figure out the proper search term :)
Fascinating builds, all. I think I will have to do one as well. Thing to note: Vetinari’s Clock was in a quiet waiting room, further mushing the brain, and the irregularity (not necessarily random) was subtle and inconstant – I got the impression that it occurred once every few seconds or so.
Clocks come in quartz
Elephants cum in quarts
Original website updated it’s software.
Replacement link: https://www.waitingforfriday.com/?p=264