Clock module, 50x200 mm with a display, a knob, a push button, and six jacks with LEDs

The Analog Output Clock module is a Nano-based clock generator which features:

  • Rotary encoder to set tempo and other parameters.
  • Tap button for a different way to set tempo.
  • OLED for display of tempo and settings menu.
  • 6 outputs: Beat, clock, clock divided by 2, 4, and 8, and clock divided by arbitrary number (between 1 and 64) with offset.
  • Two tempo submodes: INC (increment) mode, to set any whole number of beats per minute (BPM) from 8 to 208, and MM (Maelzel Metronome) mode, to more quickly set standard MM values and generalizations of these from 7.5 (= 60 ÷ 8) to 208 BPM.
  • Clock pulses per beat (PPB) variable from 1 to 24.
  • Clock pulse width (duty cycle) variable from 5% to 95%.
  • Interrupt based timer and encoder codes for accuracy.

Git repo