Clock With Life

by yakirmalka in Circuits > Arduino

4695 Views, 22 Favorites, 0 Comments

Clock With Life

IMG_0306.JPG
amazing clock

one of the hardest thing is to create Relationship Between Human and electronics.

i think this clock is one good example for Relationship.

this clock is like new pet at house, he dosnt need you at all and he is playing with him self all the day

until someone is getting to close to 12 oclock.

this clock is hard to get and you will have to go to him to know what time is it.

Components

IMG_0307.JPG

1. arduino uno.

2.old scanner step motor or any other step motor.

3.ultra sonic sensor.

4.tiny rtc (real time clock).

5.peace of wood or any object.

6. dremel or any tool to fix the place for the motor.

7. 3d printer to create A clock hand.

Wiring

IMG_0300.JPG

the motor have 4 wire:

black : to pin number 8
yellow : to pin number 10
brown : to pin number 9
orange: to pin number 11

ultra sonic sensor
vcc : arduino 5v
gnd: arduino gnd
trig : to pin number 7
ecco: to pin number 6

tinyrtc RealTime Clock:
SDA :to pin number Analog4
SCL:to pin number Analog5

Arduino Code

IMG_0302.JPG

every step motor have step for full Round.
this code is for 97 step steps in a Round.
const int stepsPerRevolution = 97;

the speed is also change for one motor to another
myStepper.setSpeed(180);

Downloads