Thursday, October 29, 2009

The run-away alarm clock...

Robot Alarm Clock Flees From You When You Try To Turn It Off




(YouTube Link)

Vadim Ryazanov built a robot that rolls away from you as you reach for it. He calls it “Mr. Wake.” As soon as the alarm goes off, an IR sensor on the robot turns on. The robot is programmed to move in the opposite direction of any object moving toward it:

Now, to give you idea how Wake works: Alarm clock mechanism I used has 3 contacts, Plus, Ground, and Alarm, which goes high when alarm goes off. This was really fortune for me, as I had only to connect the grounds and use this Alarm pin as analog input (Could not use it as digital as clock runs on 1.5V) and it workes just fine. So, whenever Alarm pin goes high, my code picks this up and switches Mr. Wake from “standby” to “alarm” mode, which makes him switch on IR leds and red LED in Magic Button on, read ambient reading from IR transistors and wait till the reading inceased above ambiant one, which means something is aproaching from above (I have the detection only from above, where clock and Magic Button are.

Link

No comments: