db-synth

Hardware

Table of contents

The db-synth hardware consists of a single PCB carrying an AVR DB series microcontroller in a DIP-28 package, a MIDI interface with optocoupler isolation, an analog signal output path using the on-chip DAC and opamps, and connectors for power, OLED display, and programming.

Overview

FieldValue
MCUAVR128DB28 or AVR64DB28 (AVR, 24 MHz)
Audio outputInternal 10-bit DAC, 48 kHz sample rate, 2.5V VREF
Signal conditioning2 internal opamps (unity gain buffer + 2nd-order reconstruction filter)
MIDIStandard MIDI (31250 baud), optocoupler-isolated input (6N137), thru output
DisplaySSD1306 OLED, I2C (address 0x3C)
Power5V DC via JST XH connector
PCB size~47 mm x 37 mm
PCB revision20240111
LicenseFirmware: BSD-3-Clause, Hardware: CERN-OHL-S-2.0

PCB

db-synth PCB, top

PCB top render

db-synth PCB, bottom

PCB bottom render

Resources:

KiCad source files are available in the repository under pcb/.

Connectors

All external connections use JST XH connectors, except for the UPDI programming header (standard 2.54 mm pin header) and the OLED display (2.54 mm pin socket).

ConnectorTypeFunction
J1Pin Header 1x3UPDI programming
J2JST XH 2PReset
J3Pin Socket 1x4OLED display (I2C)
J4JST XH 2PPower (5V)
J5JST XH 2PMIDI IN
J6JST XH 3PMIDI OUT/THRU
J7JST XH 2PAudio OUT

MCU selection

The PCB schematic references the AVR64DB28, but the AVR128DB28 is pin-compatible and also supported. The MCU must be selected at firmware build time via the WITH_MCU CMake option. Both variants are available in SPDIP-28 (DIP) package, making them easy to hand-solder or socket.

Enclosure

A 3D-printable enclosure designed in OpenSCAD is available. It consists of a front shell with cutouts for the OLED display and side-mounted connectors, and a back cover.

Enclosure, front

Enclosure front shell

Enclosure, back

Enclosure back cover

PartFile
Front shellenclosure-front.stl
Back coverenclosure-back.stl

Source files are available in the repository under 3d-models/.

Build manual

For general assembly instructions -- including PCB ordering, parts sourcing, soldering, and UPDI flashing -- refer to the Hardware Build Manual.

The board is primarily PTH components. The only IC that requires special attention is the 6N137 optocoupler (DIP-8). Consult the Interactive BOM and the Schematic (PDF) for component placement and values.