Skip to the content
2 layers112.6 × 128.5 mmClock, the printed circuit board in 3D

My custom synthesizer work

Size
112.6 × 128.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
54
Nets
60
Pads
195
Tracks, vias
305, 5
Pours
4
Routed
Yes
KiCad
KiCad 6 (file 20211014)
Created
5 May 2015
Updated
1 Sep 2026

Overview

Clock is an open-source printed circuit board by rabidaudio, from the rabidaudio/synthesizer repository on GitHub, published under the MIT licence. It is a 2-layer board of 112.6 × 128.5 mm with 54 parts on 60 nets, routed with 305 tracks and 5 vias.

It is built around the ATMEGA328P-PU, SM460281N/7 and L7805. Its parts include 19 connectors, 13 resistors, 6 capacitors, 5 ICs and 3 diodes. It belongs with the audio and music and lEDs and displays boards and the AVR (ATmega, ATtiny) boards of this library.

Main components

3

README

README.md

Synth

These are my custom modules for a from-scratch Eurorack analog synthesizer.

https://rabid.audio/projects/synth

Modules

  1. Amplifier
  • LM13700
  • matched-pair PNP exponential converter
  • CV of 10V -> Gain=1
  • CV of <=0V -> Gain=~0, 6 decades below Gain=1
  • allow overdrive to Gain=2
    • ideally this would begin to clip
  • mixdown
    • mono - full mix -> left and right
    • stereo split - A+C->left B+D->right
  • Direct stereo input jack
    • mix arbitrary signal with mixdown
    • e.g. for accepting signals from other synths
  1. Oscillator
  • 0-10V, 1V/octave, A0 to A10
  • Square/Triangle core via LM13700
  • Waveshapper for triangle -> sine
  • PWM control
    • triangle wave applied to comparator with CV controlling reference. Triangle wave means CV is linear
  • abs(triangle) can be used for 2x square
    • adds a lot of parts for little benefit
  • blending shapes isn't useful here, since we could use other oscillators for that
  • Option to sync with another osc?
    • in theory, grounding osc at a regular interval would reset the osc over and over, effectively changing it's frequency
  • CV control for shape?
  • Room for more shapes
    • white noise?
    • PDS
      • https://en.wikipedia.org/wiki/Phase_distortion_synthesis
      • a bit of wild harmonics
      • multiplication techniques
        • log/antilog
        • https://en.wikipedia.org/wiki/Gilbert_cell
        • AD633 ($11-$13 /unit on DigiKey!?)
        • EL4450C ($4/unit on Digikey but out of stock). It's a little more awkward to use since it's max differerential input voltage for linearity is 2V
      • the hard part will be the "slightly higher frequency" bit
        • perhaps instead you have another osc (555?) running at a fixed frequency and clipping the sine
        • square PWM control could also adjust this clip frequency
      • In Max you do PDS by kink~-ing a phasor~ and using that to drive the phase of cycle~. Kink is somewhat straightforward to do - use a comparator to adjust the charge current after a threshold. But how you drive a sine wave phase with that I'm not sure
    • down ramp wave with just a JFET
      • up ramp wave probably needs another JFET and an inverter
    • sub octave
    • octave
      • full wave rectifier
    • multiplying the triangle with a square wave with different phases and pulse-widths gives some neat sounds
    • polynomial
      • The EL4450C datasheet describes using a multiplier ic to create a polynomial of the form (k1 v^2 + v) / k2
      • it sounds like crap on a triangle wave and does nothing for a square wave, but it adds a nice second harmonic to a sine wave
      • from experiments in Max, good values are k1=1.5-2.5, k2=2
      • but at that point, should you just use 2 oscillators?
  1. A/D/S/R envelope
  • 4 envelopes required for 4-voice polyphony
  • wired to VCA by default
  • save surface area with 1 set of ADSR controls for a pair of envelopes
  • fully modular means you could borrow one for VCF instead, or send to both VCA and VCF
  1. Filter
  • 4P LP(/HP?)
  • Cutoff frequency control has same range as oscillator
    • 0-10V, 1V/octave, A0 to A10
  • filter we designed for class
    • standard vactrols are available on Thonk
  • CV control of cutoff + resonance
  • Default to track cutoff with VCO-CV
  • individual filter knobs, plus a global knob for filter sweeps
  1. Utilities
  • Buffer, Sum, Attenuate, Invert, Gate
  • Could be all-in one
    • A input (default ground)
    • B input (default ground)
    • level knob attenuator
    • gate digital CV in, default on
    • (A+B)*level*gate output
    • -(A+B)*level*gate output
    • Constant CV out if A and B disconnected

Bitcrusher? 4 filters or one? Noise? Clock? Headphone output no longer required 2D mixer?

TODO

  • utility module
    • Verify on breadboard
    • design PCB
    • order parts
    • come up with a cute name
    • design front panel
    • assemble Rev. A PCB
      • bend the regulators first
      • plenty of 4066s
      • flip orientation of power connector
      • pot orientation - both channels:
        • right side (facing) to inside of board (from top)
        • left side (facing) to outside of board (from top)
    • test with Neutron
      • constant output is only 9 to -7.8
      • high noise when used as a buffer
        • perhaps input signal is clipping?
        • white noise when the gain is turned down
    • adjust design for Rev. B
    • assemble Rev. B proto board
    • fix prototype issues
      • sum pot is backwards
      • a bit of noise on the constant output near the center
      • verify output levels
      • hard click on gate
        • needs a LPF?
    • assemble Rev. B PCB
    • manufacture front panel
    • assemble module
  • VCA
    • Confirm amp on breadboard, finalize CV levels
    • figure out where tuning trimmers are needed
    • build prototype
    • fix prototype issues
      • output is too quiet for headphones, need about 2x gain
      • CV range is too wide, adjust scaling for faster change in db/V
    • finish PCB schematic for complete amplifier
    • Create PCB
    • design front panel
    • manufacture front panel
    • assemble module
  • VCO
    • design core
      • core osc - square/triangle
      • wave shaper (sine)
      • pwm control
      • additional shape
      • shape selection
    • Confirm amp on breadboard, finalize CV levels
    • fix breadboard test issues
      • pitch is very sensitive to power supply noise
      • tuning is rather difficult
    • Build prototype
    • fix prototype issues
      • TBD
    • design PCB
    • Create PCB
    • design front panel
    • manufacture front panel
    • assemble module
  • Envelope
    • design in SPICE
    • verify on breadboard
    • build prototype
    • fix prototype issues
      • TBD
    • design PCB
    • Create PCB
    • design front panel
    • manufacture front panel
    • assemble module
  • VCF
    • TBD
  • build tools
    • tiny Breakout pcbs for headphone jacks
    • transistor matcher circuit
      • bought matched pair BJTs instead
    • quantized selector with hysteresis

License

Schematics, board layouts, documentation, etc. is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

Creative Commons License

If you're interested in commercial use, please ask first.

Any source code is licensed under MIT.

Parts

54
QtyValueFootprintReferences
610Ksynth:R_Axial_DIN0207_L6.3mm_D2.5mm_P2.54mm_VerticalR1, R4, R5, R10, R11, R13
51Ksynth:R_Axial_DIN0207_L6.3mm_D2.5mm_P2.54mm_VerticalR2, R3, R6, R7, R8
310nCapacitor_THT:C_Rect_L7.0mm_W3.5mm_P5.00mmC2, C5, C6
3Conn_01x05_FemaleConnector_PinSocket_2.54mm:PinSocket_1x05_P2.54mm_VerticalJ3, J5, J7
3Conn_01x05_MaleConnector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ4, J6, J8
3SM460281Nsynth:SM460281N_ARKLED_0.28mm_CC_7-segment_LEDU3, U4, U5
222pCapacitor_THT:C_Rect_L7.0mm_W3.5mm_P5.00mmC3, C4
2LEDLED_THT:LED_D3.0mmD1, D2
2SW_PushButton_Switch_THT:SW_PUSH_6mmSW1, SW2
1100Ksynth:R_Axial_DIN0207_L6.3mm_D2.5mm_P2.54mm_VerticalR15
110uCapacitor_THT:CP_Radial_Tantal_D4.5mm_P2.50mmC1
116MHzkicad-official/Crystal.pretty:Crystal_HC50_VerticalY1
1180Ksynth:R_Axial_DIN0207_L6.3mm_D2.5mm_P2.54mm_VerticalR14
11N4148Diode_THT:D_T-1_P5.08mm_HorizontalD3
1ATmega328P-PUPackage_DIP:DIP-28_W7.62mmU1
1AVR-ISP-6Connector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_VerticalJ1
1BEAT_OUTsynth:thonkiconn_holeJ15
1BEAT_OUTsynth:Jack_3.5mm_QingPu_WQP-PJ398SM_Vertical_CircularHolesJ12
1CV_INsynth:Jack_3.5mm_QingPu_WQP-PJ398SM_Vertical_CircularHolesJ11
1CV_INsynth:thonkiconn_holeJ17
1Conn_01x07_FemaleConnector_PinSocket_2.54mm:PinSocket_1x07_P2.54mm_VerticalJ9
1Conn_01x07_MaleConnector_PinHeader_2.54mm:PinHeader_1x07_P2.54mm_VerticalJ10
1DIV_OUTsynth:thonkiconn_holeJ16
1DIV_OUTsynth:Jack_3.5mm_QingPu_WQP-PJ398SM_Vertical_CircularHolesJ13
1EURORACK_CONN_10synth:EURORACK_10_IDCJ2
1KNOBsynth:knob_holeJ18
1L7805Package_TO_SOT_THT:TO-220-3_VerticalU2
1Rotary_Encoder_Switchsynth:RotaryEncoder_Bourns_PEC11R_Vertical_SwitchSW3
1SCREW1synth:eurorack_screw_holeJ14
1SCREW2synth:eurorack_screw_holeJ19

The 50 most common of 54 parts.

More from rabidaudio/synthesizer

7
  • 2 layers128.8 × 110 mmAmp, the printed circuit board in 3D

    Amp

    rabidaudio/synthesizer

    My custom synthesizer work

    111 parts31MIT
  • 4 layers182.9 × 153.8 mmMixer, the printed circuit board in 3D

    Mixer

    rabidaudio/synthesizer

    My custom synthesizer work

    99 parts31MIT
  • 2 layers125 × 112.5 mmAdsr, the printed circuit board in 3D

    Adsr

    rabidaudio/synthesizer

    My custom synthesizer work

    72 parts31MIT
  • 2 layers31 × 69.8 mmUtils, the printed circuit board in 3D

    Utils

    rabidaudio/synthesizer

    My custom synthesizer work

    22 parts31MIT
  • 2 layers43.2 × 80 mmHp breakout, the printed circuit board in 3D

    Hp breakout

    rabidaudio/synthesizer

    My custom synthesizer work

    20 parts31MIT

Similar boards

  • 2 layers111.3 × 106.4 mmSuper Sixteen v1, the printed circuit board in 3D

    Super Sixteen v1

    matthewcieplak/super-sixteen

    Code and schematics for the Super Sixteen Eurorack sequencer

    141 parts171
  • 2 layers20 × 110 mmNode main, the printed circuit board in 3D

    Node main

    attoparsec/Node

    KiCAD project and Arduino code for the Node module

    47 parts19
  • 2 layers100 × 100 mmFlipdot H Bridge, the printed circuit board in 3D

    Flipdot H Bridge

    comakingspace/FlipDotDisplay

    They were bought at the Makerfaire Hannover 2016.

    76 parts3
  • 2 layers40 × 100 mmPCB Design, the printed circuit board in 3D

    PCB Design

    RNA-IITPatna/Flight-Controller

    Code related to flight controller for RNA's model rockets

    30 parts3
  • 2 layers60 × 60 mmArcadeKicad, the printed circuit board in 3D

    ArcadeKicad

    Tintun1/Arcade-CRT-TVout

    26 parts2
  • 2 layers55 × 485 mmFg lampe, the printed circuit board in 3D

    Fg lampe

    devtal-de/fg_lampe

    181 parts1
  • 2 layers245 × 126 mmUVM, the printed circuit board in 3D

    UVM

    sam159/uVM

    8-bit Virtual Machine written in C

    205 parts1Apache-2.0

Questions

How big is the Clock PCB?

It measures 112.6 × 128.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Clock use?

54 parts, built around the ATMEGA328P-PU, SM460281N/7 and L7805. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Clock KiCad files?

From the rabidaudio/synthesizer repository on GitHub, at the commit this page was made from: the board is clock/clock/clock.kicad_pcb and its schematic adsr/adsr.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Clock design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).