Skip to the content
2 layers109.7 × 109.5 mmDc31, the printed circuit board in 3D

DCZia DC31 Badge

Size
109.7 × 109.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
76
Nets
97
Pads
376
Tracks, vias
646, 89
Pours
3
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
3 Jul 2023
Updated
27 Oct 2026

Overview

Dc31 is an open-source printed circuit board by dczia, from the dczia/Defcon31-Badge repository on GitHub. It is a 2-layer board of 109.7 × 109.5 mm with 76 parts on 97 nets, routed with 646 tracks and 89 vias.

It is built around the OPA341UA, TPS62153RGT and 74HC04D, with the TLP2361(E among its other parts. Its parts include 16 diodes, 13 switches, 11 resistors, 9 connectors and 7 capacitors. It belongs with the audio and music and lEDs and displays boards and the RP2040 boards of this library.

Main components

4

README

README.md

Defcon31-Badge

DCZia 2023 DC31 Badge - Electric Sampler

text
   ____  ___________   _          ________          __       _
   / __ \/ ____/__  /  (_)___ _   / ____/ /__  _____/ /______(_)____
  / / / / /      / /  / / __ `/  / __/ / / _ \/ ___/ __/ ___/ / ___/
 / /_/ / /___   / /__/ / /_/ /  / /___/ /  __/ /__/ /_/ /  / / /__
/_____/\____/  /____/_/\__,_/  /_____/_/\___/\___/\__/_/  /_/\___/

   _____                       __
  / ___/____ _____ ___  ____  / /__  _____
  \__ \/ __ `/ __ `__ \/ __ \/ / _ \/ ___/
 ___/ / /_/ / / / / / / /_/ / /  __/ /
/____/\__,_/_/ /_/ /_/ .___/_/\___/_/
                    /_/

About

The DCZia Electric Sampler - A eurorack format drum machine, sampler, and step sequencer powered by the Pi2040.

Specs

RPI 2040 Microconroller OLED Screen 3.5mm Audio Out Jack 3.5mm Midi In / Out (TRRS) 3.5mm Sync In / Out MicroSD Card Slot Eurorack Power Connector Battery Power

Build Guide

The badge comes with all surface mount components already assembled on the board. You will need to solder on the keyswitches, audio jacks, screen, rotary encoders, and battery box.

First add the audio jacks. Install all the jacks and make sure they are flat and perpendicular with the board. Next install the front board first aligning the jacks with the holes in the front board. Then connect the bottom pin header to the front board. The header will be off by one, THIS IS OK for the v1.1 board! Then carefully flip over the board and solder on the jacks.

Remove the front panel.

Then insert a keyswitch, or all keyswitches onto the board. Check that the metal pins are not bent, and if so gently straignten them out with your fingers or a pair of tweezers. Carfully flip the board over and solder on the keyswitches.

Next add the rotary encoders. Push them through the board, and you may need to gently fold in the side stabilization pins if they do not line up correctly. Flip over the board and solder these in.

Next with the board facing forward and on a flat surface, put the screen in. The legs of the screen should not protrude through the back of the board past the holes, or only a tiny bit. You may need to use something like a pencil or something to help the screen lay flat, standing off from the board. Gently solder from the front to establish a mechanical connection to the board, then once the screen is secure, flip over and solder the back. You must solder the back pads to endure a connection from the screen to the microcrontroller.

Finally flip the board over and gently attach the battery pack somewhere on the back with the supplied double sticky tape. Then solder on the leads from the battery pack to the pads on the bottom left side of the back of the board.

User Manual

Currently the firmware is not complete, and the user interface may change.

The Select Knob will change between options on the screen, and push selects the currently highlighted option.

The Volume knob will change the volume.

The PLAY button will play / pause any currently running program

There are a few modes on the v1 software. A LED light mode. A Sampler mode with a sequencer. You can load a wav file from the onboard flash, and then add a sequence and control the steps with the 8 key switches, and adjust per step volume. A Sequencer mode which will play pre progarmed sequences. (Still under dev) A Midi controller mode. You can adjust what notes / cc params are output via the python code in our repo. A USB HID Device mode. The keys will output 0-9 and the device will emulate a keyboard.

Notes

If you picked up a V1 board at Con, the board shipped with our testing firmware. Please flash the V1 firmware for more features.

Additional Features and changes will be coming soon!

Updating the software / firmware

To update the software on the board you can do two things.

  1. Use the fimware blob from our release section. To use this, unplug and turn off the module. Using something non conductivem press and hold the button on the RPI 2040 (The BootSelect Button) while powering on the unit via a micro usb cable. You should then see a mass storage drive appear on your computer. Drag the single uf2 file onto the drive. Then the unit should restart with the new firmware.

  2. You can also plug the unit into your computer via the micro usb and drag the contents of the Production/Software folder onto the mass storage drive. The unit should reboot when complete. Sometimes if your computer transfers the files too slow this can cause issues with the RPI rebooting before all the software is complete.

Parts

76
QtyValueFootprintReferences
14D_Small_FilledDiode_SMD:D_SOD-323D1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12, D13, D16
40.1uFCapacitor_SMD:C_0603_1608MetricC1, C4, C5, C6
4MountingHole_1.6lib_fp:MountingHole_1.6HOLE1, HOLE2, HOLE3, HOLE4
3100kResistor_SMD:R_0603_1608MetricR3, R5, R11
21kResistor_SMD:R_0603_1608MetricR1, R4
2D_SchottkyDiode_SMD:D_SOD-323D14, D15
110RResistor_SMD:R_0603_1608MetricR8
110kResistor_SMD:R_0603_1608MetricR6
110uFCapacitor_SMD:C_0805_2012MetricC2
11MResistor_SMD:R_0603_1608MetricR7
12.2uHInductor_SMD:L_Wuerth_MAPI-3015L1
1220RResistor_SMD:R_0603_1608MetricR10
1220kResistor_SMD:R_0603_1608MetricR2
122uFCapacitor_SMD:C_0805_2012MetricC7
13.3nFCapacitor_SMD:C_0805_2012MetricC3
133RResistor_SMD:R_0603_1608MetricR9
13904Package_TO_SOT_SMD:SOT-23Q1
174HC04PCM_Package_SO_AKL:TSSOP-14_4.4x5mm_P0.65mmU4
1BATT+TestPoint:TestPoint_Pad_1.5x1.5mmTP2
1BATT-TestPoint:TestPoint_Pad_1.5x1.5mmTP3
1EurorackConnector_IDC:IDC-Header_2x05_P2.54mm_VerticalJ7
1FRONTConnector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ3
1Functionlib_fp:MX-Alps-Choc-1USW10
1Function Selectlib_fp:RotaryEncoderSW11
1GainTestPoint:TestPoint_Pad_1.5x1.5mmTP1
1HEADPHONElib_fp:STX-3790-5NJ8
1LOGOlib_fp:hamsterG***
1LOGOlib_fp:ZiaLogoG***
1LOGOlib_fp:DCZiaElectricSamplerG***
1MAX98357A/BPackage_DFN_QFN:TQFN-16-1EP_3x3mm_P0.5mm_EP1.23x1.23mmU3
1MIDI INlib_fp:STX-3790-5NJ5
1MIDI OUTlib_fp:STX-3790-5NJ6
1Micro_SD_Card_SPIlib_fp:MicroSD-Socket-Seeed-320090008J9
1OLEDlib_fp:OLEDJ1
1OPA341UAPackage_SO:SOIC-8_3.9x4.9mm_P1.27mmU2
1Picolib_fp:RPi_Pico_SMDU1
1PlayPauselib_fp:MX-Alps-Choc-1USW9
1SP+TestPoint:TestPoint_Pad_1.5x1.5mmTP5
1SP-TestPoint:TestPoint_Pad_1.5x1.5mmTP4
1SW_SPDTlib_fp:SW_SPDT_CK-JS102011SAQNSW14
1SYNC INlib_fp:STX-3790-5NJ4
1SYNC OUTlib_fp:STX-3790-5NJ2
1Seq1lib_fp:MX-Alps-Choc-1USW1
1Seq2lib_fp:MX-Alps-Choc-1USW2
1Seq3lib_fp:MX-Alps-Choc-1USW3
1Seq4lib_fp:MX-Alps-Choc-1USW4
1Seq5lib_fp:MX-Alps-Choc-1USW5
1Seq6lib_fp:MX-Alps-Choc-1USW6
1Seq7lib_fp:MX-Alps-Choc-1USW7
1Seq8lib_fp:MX-Alps-Choc-1USW8
1TLP2361PCM_Package_SO_AKL:SO-5_4.4x3.6mm_P1.27mmU5
1TPS62153Package_DFN_QFN:VQFN-16-1EP_3x3mm_P0.5mm_EP1.68x1.68mm_ThermalViasU6
1Volumelib_fp:RotaryEncoderSW12

More from dczia/Defcon31-Badge

2
  • 2 layers111.4 × 128.5 mmDc31, the printed circuit board in 3D

    Dc31

    dczia/Defcon31-Badge

    DCZia DC31 Badge

    50 parts16
  • 2 layers111.4 × 128.5 mmDc31-front, the printed circuit board in 3D

    Dc31-front

    dczia/Defcon31-Badge

    DCZia DC31 Badge

    22 parts16

Similar boards

  • 4 layers70.7 × 56.9 mmHEI Shift Light, the printed circuit board in 3D

    HEI Shift Light

    drewsum/HEI_Shift_Light

    An automotive shift light meant to integrate into the TACH signal from an HEI distributor, to be embedded in a dashboard

    112 parts
  • 4 layers50 × 85 mmPedal, the printed circuit board in 3D

    Pedal

    torvalds/GuitarPedal

    Linus learns analog circuits

    85 parts2.5kGPL-2.0
  • 2 layers86.6 × 50 mmM4pyro, the printed circuit board in 3D

    M4pyro

    cuspaceflight/m4-avionics

    Martlet 4 Avionics

    165 parts8
  • 2 layers139.4 × 37.9 mmPlume Measurment Board, the printed circuit board in 3D

    Plume Measurment Board

    KacperParaniuk/MonARCH-Electrical-Payload

    Contains hardware and software development for project MonARCH

    82 parts
  • 2 layers90 × 70 mmTRIA LedControlBoard, the printed circuit board in 3D

    TRIA LedControlBoard

    motii8128/TRIA

    Triple-wheel Robot for Intelligent Autonomous

    22 partsMIT
  • 2 layers64 × 67 mmMidi, the printed circuit board in 3D

    Midi

    keshikan/CureMIDI

    USB-MIDI Interface(2IN/2OUT) for STM32

    182 parts65
  • 4 layers100.9 × 77.5 mmYm2610-pcb, the printed circuit board in 3D

    Ym2610-pcb

    dan-rodrigues/ym2610-pcb

    FPGA-based PCB to control a YM2610 sound synthesis chip.

    168 parts31

Questions

How big is the Dc31 PCB?

It measures 109.7 × 109.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Dc31 use?

76 parts, built around the OPA341UA, TPS62153RGT, 74HC04D and TLP2361(E. 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 Dc31 KiCad files?

From the dczia/Defcon31-Badge repository on GitHub, at the commit this page was made from: the board is Hardware/Final/dc31.kicad_pcb and its schematic Hardware/Final/dc31-buttons.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Dc31 design in my own project?

Its repository states no licence, so its author keeps all rights: ask dczia before reusing the design.