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.

  • 12 views
  • 0 comments
  • 0 respects

Components and supplies

A000066 iso both
Arduino UNO & Genuino 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

Remote Controlled Alarm Clock

Project showcase by Robin The Tactician

  • 1,761 views
  • 0 comments
  • 5 respects

Simple Arduino Digital Clock Without RTC

Project in progress by Annlee Fores

  • 128,846 views
  • 32 comments
  • 118 respects

Complete Digital Clock Including Alarm and Motion Sensor

Project tutorial by LAGSILVA

  • 21,314 views
  • 22 comments
  • 73 respects

Analog Clock with LED Matrix and Arduino

Project tutorial by LAGSILVA

  • 18,049 views
  • 17 comments
  • 65 respects

4-Stroke Digital Clock With Arduino

Project tutorial by LAGSILVA

  • 15,344 views
  • 15 comments
  • 45 respects

Digital And Binary Clock With Two LED Matrix And RTC

Project tutorial by LAGSILVA

  • 13,798 views
  • 42 comments
  • 47 respects
Add projectSign up / Login