Skip to the content
2 layersArduino drumkit, the printed circuit board in 3D

An Arduino Nano USB drumkit to play with, but not limited to, Ubuntu Studio 18.04 and Hydrogen 0.9.7.

Copper layers
2
Thickness
1.6 mm
Parts
27
Nets
19
Pads
72
Tracks, vias
120, 0
Routed
Yes
KiCad
KiCad 4
Created
11 Nov 2019
Updated
11 Nov 2019

Overview

Arduino drumkit is an open-source printed circuit board by rafapgoncalves, from the rafapgoncalves/arduino-drumkit repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board with 27 parts on 19 nets, routed with 120 tracks and 0 vias.

Its parts include 12 resistors, 3 switches and 1 connector. It belongs with the AVR (ATmega, ATtiny) boards of this library.

README

README.md

arduino-drumkit

An Arduino Nano USB drumkit to play with, but not limited to, Ubuntu Studio 18.04 and Hydrogen 0.9.7.

Getting Started

  1. Download and install Eclipse C/C++. More on that here;
  2. Clone the repository;
  3. Open eclipse and create a new workspace;
  4. Go to File -> Import -> General -> Existing projects into workspace;
    • Select arduino-drumkit folder and check "Search for nested projects";
    • Make sure all projects are selected and click Finish.

Arduino

First thing to do is to adjust the code to your arduino's version. Open arduino/src/drums/Drumkit.cpp. At the Drumkit constructor you will find the declaration of the sensors (SwitchSensor for pull-up switches and PiezoSensor for piezos) and keys (instructions) for each drum pad.

Since I'm using Arduino Nano, the project is set up with 2 switches (one for bass drum and the other for hi-hat pedal) and 8 piezos.

You can change most of the parameters in arduino/src/Define.h.

General MIDI

A few adjustments may be necessary to use it as a GM-compatible instrument:

  • Make sure DEBUG messages are disabled;
  • Keys may vary as stated before;
  • Baud Rate may be different, probably 31250.

Ubuntu Studio

In order to run ubuntu-studio project you are goint to need read permission on serial port. Run the program as sudo or add your user to dialout group or equivalent. Don't forget to log off and back in for the changes to take effect.

sh
sudo usermod -a -G dialout username

If you want to build ubuntu-studio project yourself, you gonna need some libraries that are not installed by default.

sh
sudo apt update
sudo apt install libgtk-3-dev libgtkmm-3.0-dev

Hardware

Schematic

The DIN socket is optional in case you plan to use USB. And if you don't want to use USB, don't forget to add a power supply to Arduino.

Threre is also a KiCad project that you can use. This is a little bit out of scale and I didn't manage to track down where the problem is (footprint, KiCad, img conversion, etc) so double check before creating your pcb (I resized the final image). Also, your DIN socket will be different than mine.

There are good tutorials on YouTube to make drum pads such as this one from Spikenzie.

Jack Control

Connect your arduino to the PC, open and start ubuntu-studio project.

Ubuntu Studio Project

Open QjackCtl and Hydrogen. On QjackCtl click the Connections button and go to ALSA tab. Connect arduino output port to hydrogen input port.

Jack Connections

On Hydrogen, make sure input mode is set to Drumkit: Tools -> Input Mode -> Drumkit.

License

This project is licensed under the GNU GENERAL PUBLIC LICENSE - see the LICENSE file for details.

Acknowledgments

TODO

  • Add MIDI Channel support
  • Move debug messages to MIDI format

Parts

27
QtyValueFootprintReferences
81Marduino-drumkit:R_L6.22mm_D2.3mm_P10.16mm_HorizontalR1, R2, R3, R4, R5, R6, R7, R8
8Piezoarduino-drumkit:External_2_14.224mmPiezo1, Piezo2, Piezo3, Piezo4, Piezo5, Piezo6, Piezo7, Piezo8
310Karduino-drumkit:R_L6.22mm_D2.3mm_P10.16mm_HorizontalR9, R10, R11
3SW_Pusharduino-drumkit:External_2_14.224mmSW1, SW2, SW3
1220Karduino-drumkit:R_L6.22mm_D2.3mm_P10.16mm_HorizontalR12
1ArduinoNanoarduino-drumkit:ArduinoNanoJacksXA1
1Casearduino-drumkit:CaseCase
1DIN-5_180degreearduino-drumkit:Din5-180J1

The 26 most common of 27 parts.

Similar boards

  • 2 layers47.6 × 27.3 mmMmc usb 1, the printed circuit board in 3D

    Mmc usb 1

    rusefi/rusefi

    rusefi - GPL internal combustion engine control unit

    27 parts1.2k
  • 2 layers77.4 × 77.4 mmCORAZON LEDS CON FADE, the printed circuit board in 3D

    CORAZON LEDS CON FADE

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    27 parts915
  • 2 layers44.2 × 29.3 mmI2c tiny usb, the printed circuit board in 3D

    I2c tiny usb

    harbaum/I2C-Tiny-USB

    Cheap and simple I²C to USB interface

    27 parts454
  • 2 layers22 × 42 mmNvme bm to e, the printed circuit board in 3D

    Nvme bm to e

    CRImier/MyKiCad

    My KiCad boards. Can't be bothered uploading individually anymore, so here you go.

    27 parts253GPL-3.0
  • 2 layers80 × 61 mmPicoProducer, the printed circuit board in 3D

    PicoProducer

    pjgpetecodes/pico-streamdeck

    This project is an OBS Controller using a Raspberry Pi Pico and CircuitPython.

    27 parts230MIT
  • 2 layers186 × 45 mmAddOnD, the printed circuit board in 3D

    AddOnD

    freeDSP/freeDSP-aurora

    freeDSP ADAU1452 with 8 analog input, 8 analog outputs, S/P-DIF I/O, ADAT I/O, USB Audio Class2, WiFi, Bluetooth

    27 parts226CC-BY-SA-4.0
  • 2 layers29.6 × 40.6 mmDbwifi revB, the printed circuit board in 3D

    Dbwifi revB

    ugcs/ddc

    Drone Show Software is software designed for drone shows, allowing flight path planning as well as control of dozens of drones simultaneously in a synchronized manner.

    27 parts223

Questions

What parts does the Arduino drumkit use?

27 parts. 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 Arduino drumkit KiCad files?

From the rafapgoncalves/arduino-drumkit repository on GitHub, at the commit this page was made from: the board is hardware/kicad/kicad.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Arduino drumkit design in my own project?

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