A Clock of Retrograde Minutes and Jumping Hours

3,496

40

7

Introduction: A Clock of Retrograde Minutes and Jumping Hours

About: I am interested in designing something curious but functional. Please take a look at my summary page, https://shiura.com/dfab/index-en.html

A desk clock with retrograde minutes and jumping hours mechanisms.

  • Retrograde minutes : The minute hand moves reciprocally
  • Jumping hour : Numerical hour display that changes instantly

Supplies

Necessary parts (other than 3D printed matters)

  • One SG90 type mini servo (I recommend genuine SG90)
  • Microcontroller (codes for Arduino and micro:bit are provided)
  • 2mm tapping screws

Step 1: Print Parts

  • Print all parts (number of printed parts = 7) with supplied posture.
  • Support structures are not needed.
  • To give different colors to the texts and indices, change the material during print.

Step 2: Assemble

Step 3: Adjustment

  • Codes for arduino (.ino files) and micro:bit (.hex files) are provided.
  • Start from the test code. Adjust the position of the minute hand by changing 7 values in the source code.
  • Copy the adjusted numbers to the clock code and flash.

Mar 16, 2022: I have added two parameters to tune the range of the minute hand.

#define RIGHT_END_PWM 560 // tune the position at 60min (right end) typically, 600
#define LEFT_END_PWM 2280 // tune the position at 0min (left end) typically, 2400
  1. Firstly, please tune the values above to adjust the right and left end of the minute hand.
  2. Then tune the individual values for 10, 20, 30, 40 and 50 minutes.

Step 4: Enjoy!

  • Adjustment of the minute hand is done electronically. Press tactile button(s) to move the hand.
  • Adjustment of the hour rotor is done mechanically. Just rotate it by your hand.

1 Person Made This Project!

Recommendations

  • Eggs Challenge

    Eggs Challenge
  • Meatless Challenge

    Meatless Challenge
  • Build a Tool Contest

    Build a Tool Contest

7 Comments

0
Alavabeer
Alavabeer

Question 3 months ago on Step 3

Hi Shiura,

I'm having a go at the Retrograde Clock and I'm going to be using an ELEGOO Nano.

I don't suppose you have a wiring diagram for the components as it's not too clear for me, I understand that the momentary tactile switch goes between A0 and A2, not sure I understand 'Connect the servo to GP109'.

Any help would be greatly appreciated.

Thanks in advance for your time.

Kind Regards,

Steve

0
shiura
shiura

Answer 3 months ago

Not GP109 but GPIO9 (General Parallel Input / Output, No.9).
Whatever IO port you can use, with adequate editing the source code at the following line.

myservo.attach(9); // attaches the servo on pin 9 to the servo object

The corresponding part of source code for momentary tactile switch is

pinMode(14, OUTPUT); // use A0 port as ground level
digitalWrite(14, LOW); // outout ground level from A0
pinMode(16, INPUT_PULLUP); // button of increment at A2

0
Alavabeer
Alavabeer

Reply 3 months ago

Hi Shiura,

Thanks for your super quick response.

Do I use a 2 pin momentary tactile switch or a 4 pin momentary tactile switch.

So, servo connections are 'servo red to 5v', 'servo brown to gnd' and 'servo yellow to D9' on the ELEGOO NANO.

Thanks in advance for your time.

Kind Regards,

Steve

0
shiura
shiura

Reply 3 months ago

Usually, common momentary tactile switch has only one contact even if it has 4 pins. two pins are connected together internally, so effective number of pins is only 2. The only necessary thing to adjust the clock is connecting A0 and A2, so any switch can be used.

Servo red to 5V
brown to gnd
yellow to D9
are correct

0
Alavabeer
Alavabeer

Reply 3 months ago

Hi Shiura,

Thanks for the information, I can now go ahead and complete the clock.

Will post once complete. :-)

Kind Regards,

Steve

0
Alavabeer
Alavabeer

Reply 3 months ago

Hi Shiura,

Thanks for your super quick response.

Do I use a 2 pin momentary tactile switch or a 4 pin momentary tactile switch.

So, servo connections are 'servo red to 5v', 'servo brown to gnd' and 'servo yellow to D9' on the ELEGOO NANO.

Thanks in advance for your time.

Kind Regards,

Steve

0
Alex in NZ
Alex in NZ

3 months ago

An excellent idea! Well done, and thank you for sharing your work :-)