Skip to the content
2 layers229 × 96 mmOscillator Board, the printed circuit board in 3D

Source code and KiCad Files for the build of an ESP32 S3 Based synthesizer. CAN bus is used extensively to collect all the pots and switch data and send to the ESP32 engine

Size
229 × 96 mm
Copper layers
2
Thickness
1.6 mm
Parts
138
Nets
179
Pads
531
Tracks, vias
1,132, 212
Pours
2
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
3 May 2026
Updated
5 May 2026

Overview

Oscillator Board is an open-source printed circuit board by Bad-Dog-Designs, from the Bad-Dog-Designs/ESP32-S3-Synthesizer repository on GitHub. It is a 2-layer board of 229 × 96 mm with 138 parts on 179 nets, routed with 1,132 tracks and 212 vias.

It is built around the ATMEGA328P-AU, CD74HC4067SM96 and MCP2515T-I/ST-HX. Its parts include 53 resistors, 22 diodes, 16 capacitors, 16 switches and 6 ICs. It belongs with the audio and music and interfaces and adapters boards and the AVR (ATmega, ATtiny) boards of this library.

Main components

3

README

README.md

Project overview: A custom polyphonic synthesizer built around an ESP32-S3 audio engine communicating with multiple ATmega328p control boards via CAN bus at 500kbps. All boards share synth_params.h as the single source of truth for CAN message definitions. Hardware boards:

ESP32-S3 — audio engine, MIDI input, I2S DAC output, CAN master Oscillator boards (ATmega328p, up to 4) — dual oscillator control per board, board ID set by hardware jumpers (both open = board 0) Commons board (ATmega328p) — filter, envelope, LFO, ring mod, play mode controls Routing board (ATmega328p) — modulation matrix UI, 12 routes, LED matrix display Patch board (ATmega328p, pending) — SD card patch storage UI, keypad, VFD/starburst display

ESP32-S3 pin assignments:

I2S: GPIO 4(BCK), 5(WS), 6(DOUT) CAN TX/RX: GPIO 7/8 MIDI RX: GPIO 16 SD card: GPIO 9(CD), 10(CS), 11(MOSI), 12(SCK), 13(MISO)

Current file set (V11.0):

synth_v11.ino — setup(), loop(), task spawn only synth_engine.h — all type/struct definitions, extern globals, function prototypes synth_engine.cpp — globals, voice management, oscillator, filter, LFO, FM, audio task synth_midi.h/.cpp — MIDI byte processing, noteOn/Off, voice allocation synth_can.h/.cpp — TWAI setup, systemStartup, processCanMessages, sendCanAck synth_params.h — shared CAN parameter definitions, all boards

Architecture:

Audio runs on Core 1 via audioTask(), CAN+MIDI runs on Core 0 via loop() portMUX_TYPE voiceMux protects voice array cross-core access NUM_VOICES_ACTIVE set dynamically from detected oscillator boards at startup (2 per board) TWAI rx_queue_len=64 to handle full parameter dumps

Voice model:

Up to 8 voices (MAX_VOICES), typically 6 active (3 oscillator boards) Even voices (0,2,4,6) are FM/sync masters per board pair Odd voices (1,3,5,7) are FM/sync slaves — can sync to or be FM-modulated by their partner FM: OSC_A (even) modulates OSC_B (odd) phase. fmEnabled, fmDepth on even voice. fmRatio on odd voice Hard sync: per-board-pair, not global. syncEnabled only valid on odd voices Solo: toggle per voice, restricts noteOn to soloed voices only Clone: copies all timbre params including fmEnabled, fmDepth, fmRatio to all other voices. cloneActive global drives all clone LEDs on all boards simultaneously. Second press clears LEDs, cloned params remain

Signal chain per voice: S+H → phaseInc | FM phase offset | Oscillator → Wavefold → SVF Filter → × envLevel × level × velocity Waveforms: SAW, SINE, TRI, PULSE, CHAOS (logistic map), NOISE Modifiers:

FOLD: post-oscillator waveshaper. foldEnabled, foldAmount (0-1), foldBias (-1 to +1) S+H: independent pitch randomiser clock. shEnabled, shRate (0.5-40Hz), shRange (1-48 semitones) FM: fmEnabled, fmDepth (0-1), fmRatio (0.5-8.0)

Play modes: POLY, DUO (half voices per note), UNISON (all voices per note) Gain scaling by mode: UNISON=1.8f, DUO=2.0f, POLY=4.0f (tuned by ear) SVF Filter: Low/Band/High pass. cutoffHz, resonance, envAmount (envelope→cutoff), keyTracking. Coefficients updated on each filter parameter change and at noteOn. Envelope: ADSR. Times stored as float seconds. Coefficients (attackCoeff etc.) computed by updateEnvelopeRates() — must be called at startup and on any time change. LFOs: 2× LFOs. 4 waveforms (SINE/TRI/CHAOS/S&H). Rate, delay, retrigger. No depth — depth is per-route. RETRIGGER is toggle: each CAN message flips state. Ring modulator: 4 voice pair options. level, modMute. Modulation routing (V11 — implementation pending):

Parts

138
QtyValueFootprintReferences
22330RResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR10, R11, R12, R13, R14, R15, R16, R17, R18, R19, R20, R21, R22, R23, R26, R27 +6
22LEDLED_THT:LED_D3.0mm_FlatTopD1, D2, D3, D10, D11, D12, D13, D14, D15, D16, D17, D18, D19, D20, D21, D22 +6
204k7Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR2, R3, R35, R36, R37, R38, R39, R40, R41, R42, R43, R44, R45, R46, R47, R48 +4
12TL2285OATMS Parts:TL2285OAS5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16
7100nFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC3, C4, C5, C8, C9, C10, C11
6MountingHole_PadMountingHole:MountingHole_3.2mm_M3_DIN965_PadH1, H2, H3, H4, H5, H6
410kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR1, R25, R29, R30
422pfCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC1, C2, C6, C7
4LinkResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR31, R32, R33, R34
21kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR24, R53
21uFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC12, C13
2ChaosR_1TMS Parts:RK09K1130AAUVR3, VR9
2Detune_1TMS Parts:RK09K1130AAUVR1, VR7
2Folds_1TMS Parts:RK09K1130AAUVR4, VR10
2Level_1TMS Parts:RK09K1130AAUVR6, VR12
2MCP23017-E_SOTMS Parts:SOIC127P1030X265-28NIC3, IC4
2PulseW_1TMS Parts:RK09K1130AAUVR2, VR8
2S&H_1TMS Parts:RK09K1130AAUVR5, VR11
1100uFCapacitor_THT:CP_Radial_D4.0mm_P2.00mmC15
110RResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderFB1
110nFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC16
1120RResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR28
116MhzCrystal:Crystal_HC49-4H_VerticalY2
14.7uFCapacitor_THT:CP_Radial_D4.0mm_P2.00mmC14
18MhzCrystal:Crystal_HC49-4H_VerticalY1
1ATmega328P-APackage_QFP:TQFP-32_7x7mm_P0.8mmU1
1CD74HC4067SMPackage_SO:SSOP-24_5.3x8.2mm_P0.65mmU2
1ICP HeaderConnector_PinSocket_2.54mm:PinSocket_2x03_P2.54mm_VerticalJ1
1InputConnector_JST:JST_EH_S4B-EH_1x04_P2.50mm_HorizontalJ4
1MCP2515T-I_STTMS Parts:SOP65P640X120-20NIC2
1OutputConnector_JST:JST_EH_S4B-EH_1x04_P2.50mm_HorizontalJ3
1Range_0TMS Parts:SR1712F010820F0AN9N027S2
1Range_1TMS Parts:SR1712F010820F0AN9N027S4
1Serial MonConnector_PinSocket_2.54mm:PinSocket_1x03_P2.54mm_VerticalJ2
1TJA1050T_CM,118TMS Parts:SOIC127P600X175-8NIC1
1Waveform_0TMS Parts:SR1712F010820F0AN9N027S1
1Waveform_1TMS Parts:SR1712F010820F0AN9N027S3

More from Bad-Dog-Designs/ESP32-S3-Synthesizer

3
  • 2 layers229 × 96 mmRouting Board, the printed circuit board in 3D

    Routing Board

    Bad-Dog-Designs/ESP32-S3-Synthesizer

    Source code and KiCad Files for the build of an ESP32 S3 Based synthesizer. CAN bus is used extensively to collect all the pots and switch data and send to the ESP32 engine

    137 parts19
  • 2 layers229 × 96 mmCommons Board, the printed circuit board in 3D

    Commons Board

    Bad-Dog-Designs/ESP32-S3-Synthesizer

    Source code and KiCad Files for the build of an ESP32 S3 Based synthesizer. CAN bus is used extensively to collect all the pots and switch data and send to the ESP32 engine

    101 parts19
  • 2 layers229 × 96 mmESP32 Engine, the printed circuit board in 3D

    ESP32 Engine

    Bad-Dog-Designs/ESP32-S3-Synthesizer

    Source code and KiCad Files for the build of an ESP32 S3 Based synthesizer. CAN bus is used extensively to collect all the pots and switch data and send to the ESP32 engine

    54 parts19

Similar boards

  • 4 layers118 × 250 mmPcb lab, the printed circuit board in 3D

    Pcb lab

    y-watal/pcb_lab

    285 parts
  • 4 layers129.6 × 45 mmFacePlate, the printed circuit board in 3D

    FacePlate

    sfunderbots/Electrical

    PCB etc.

    59 parts
  • 2 layers80 × 30 mmBMS Sensor, the printed circuit board in 3D

    BMS Sensor

    weaslepalace/boards

    Monorepo for PCB design stuff

    46 parts
  • 2 layers309.6 × 95.3 mmMacrolev, the printed circuit board in 3D

    Macrolev

    heiso/macrolev

    Macrolev is an open source analog keyboard powered by Hall Effect switches

    184 parts136
  • 2 layers204 × 174.9 mmWonkle, the printed circuit board in 3D

    Wonkle

    wonkleio/wonkle

    We build together.

    519 parts125CERN-OHL-S-2.0
  • 4 layers65 × 100 mmUBMS-2, the printed circuit board in 3D

    UBMS-2

    grokicad/grokicad

    Grok powered schematic intelligence for your kicad repositories

    246 parts28
  • 4 layers344 × 117.5 mmZellia80, the printed circuit board in 3D

    Zellia80

    mhdimo/Zellia80-HE

    Zellia80-HE PCB files source

    497 parts24LGPL-2.1

Questions

How big is the Oscillator Board PCB?

It measures 229 × 96 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Oscillator Board use?

138 parts, built around the ATMEGA328P-AU, CD74HC4067SM96 and MCP2515T-I/ST-HX. 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 Oscillator Board KiCad files?

From the Bad-Dog-Designs/ESP32-S3-Synthesizer repository on GitHub, at the commit this page was made from: the board is Oscillator_Board/Oscillator_Board.kicad_pcb and its schematic Commons_Board/Commons_Board.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Oscillator Board design in my own project?

Its repository states no licence, so its author keeps all rights: ask Bad-Dog-Designs before reusing the design.