Project showcase
Mechanical Arduino Clock

Mechanical Arduino Clock © GPL3+

This project is a mechanical clock using an Arduino uno, and servos to move hands around the dial.

  • 3,055 views
  • 0 comments
  • 2 respects

Components and supplies

Ph a000066 iso (1) ztbmubhmho
Arduino UNO
×1
Sg90 servo motor 180 degrees sg90 micro
SG90 Micro-servo motor
×2
11026 02
Jumper wires (generic)
×1
Two CDs to use for mounting clock hands
×1
Miscellaneous supplies, foam board, thin spring steel, glue, cardboard
×1

Necessary tools and machines

Hy gluegun
Hot glue gun (generic)
File, sander or saw.

Apps and online services

About this project

Time lapse video of clock

This project builds a mechanical clock that uses an Arduino and servos to move hands around a dial to show the time.

Hands can be painted or glued on disc.

Code and connections are super simple.

In the code the degree settings on the servos will need to be adjusted to your configuration to properly move the hands. The flipper moving the hour hand also moves the minute hand one click. Time keeping accuracy depends on the accuracy of teeth filing and setting of delay times.

Code

CLOCKArduino
#include <Servo.h>

Servo myservo1;
Servo myservo2;



int pos = 0;    

void setup() {
  myservo1.attach(9); 
  myservo2.attach(10); 
}

void loop() {
  for (int n=0;n<=5;n++){
  
    myservo1.write(99);
      delay(1000);                  
    myservo1.write(65);
    delay(57000);
  }
    myservo2.write(70);
  delay(100);
    myservo2.write(20);           
    delay(1000);      


}

Schematics

mechanical clock
mechanical_clock_0UBJrZPFnD.fz

Comments

Similar projects you might like

How to Make Analog Clock & Digital clock with Led Strip

Project tutorial by DKARDU

  • 5,058 views
  • 0 comments
  • 9 respects

Analog Clock with LED Matrix and Arduino

Project showcase by LAGSILVA

  • 22,509 views
  • 17 comments
  • 80 respects

Arduino Based Digital Alarm Clock

Project showcase by FANUEL_CONRAD

  • 3,235 views
  • 0 comments
  • 4 respects

Complete Digital Clock Including Alarm and Motion Sensor

Project showcase by LAGSILVA

  • 31,693 views
  • 37 comments
  • 97 respects

Digital And Binary Clock With Two LED Matrix And RTC

Project showcase by LAGSILVA

  • 19,645 views
  • 47 comments
  • 58 respects

4-Stroke Digital Clock With Arduino

Project showcase by LAGSILVA

  • 18,150 views
  • 15 comments
  • 48 respects
Add projectSign up / Login