Analog Clock Automation

From Mikrodev Documentation
Jump to navigation Jump to search
Download Project Files

What You Need to Know Before Design

Diagram Algorithm

  • A two-armed system is designed to make a circular motion connected to the center.
  • The system produces a one-second trigger every six degrees. The process will be repeated in sixty steps.
  • The second and minute hands will move 600 milliseconds each on the trigger.
  • The hour hand will move five hundred milliseconds every ten minutes. In this way, the clock dial movement within sixty minutes will be carried out gradually.
  • The system that will return to the beginning in 12 hours will be realized. The motors that rotate the wheels are stepping motors.

Diagram Solution


  • In the system, the input DI0 is the input of the step motor.
  • Second hand remains high for 600ms on each trigger (DO0).
  • The output of the minute stepper motor is triggered at intervals of 60 seconds (DO1).
  • The stepper motor of hour hand is triggered for 500 ms every 10 minutes (DO2). At the end of 60 minutes, the clock dial will progress gradually to one unit.
  • When the system is energized, it starts to work automatically.
  • If it does not start, it is started with start button.