Skip to the content
2 layers81.5 × 68.5 mmDeej keypad, the printed circuit board in 3D

My Deej design with a built in keypad

Size
81.5 × 68.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
30
Nets
19
Pads
119
Tracks, vias
146, 14
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
9 Dec 2024
Updated
5 Feb 2025

Overview

Deej keypad is an open-source printed circuit board by jrhow2, from the jrhow2/my_deej_build repository on GitHub. It is a 2-layer board of 81.5 × 68.5 mm with 30 parts on 19 nets, routed with 146 tracks and 14 vias.

Its parts include 12 diodes and 2 connectors. It belongs with the keyboards and input boards of this library.

README

README.md

jrhow2's Deej Build

Description

image_jrhow2's_deej

This is a repository to document and share my work on my first Deej build, which includes 1 rotary potentiometer for master volume, 5 slide potentiometers, 6 latching mute buttons with LED indicators (one for each slider), and a 12-key macropad. This is primarily based on miodec's fork, which adds support for programmable buttons to the original deej project from omiharel.

The main additions I have made to these projects are the use of the keypad.h library to increase the number of programmable buttons past what would be achievable using the arduino nano's pins for individual buttons, and the use of latching led as mute buttons/LED indicators. An autohotkey script was used to expand the functionality of the programmable buttons, and a custom PCB was created to more easily add the macropad keyswitches.

In this repository, I've included that CAD files for the enclosure produced in Fusion360, the PCB schematics and gerber files, the customized arduino sketch, and the autohotkey script.

Wokwi Cicuit design/code simulation

Wokwi.com was used for circuit design and siumlation of the Arduino Nano and code. The Wokwi simulation can be found here, and the .zip files exported from Wokwi can be found at deej_jrhow2_wokwi.zip.

Note that since wokwi does not include latching buttons and because there was some difficulty with how I soldered my sliders in the final configuration, the code in wokwi does not exactly match the final code in the provided .ino file.

Mechancal Design

Fusion 360 design files

The enclosure was designed in Fusion 360, and I've provided the .f3d file.

3D printing

Slicing was performed in Orca Slicer and the models were printed on a BambuLab P1S with an AMS unit for multi-color printing. I have provided the Orca Slicer project file as well as the .stls of all of the parts.

To get the faux carbon fiber look on the top surface, I used this textured plate purchased from Amazon. These kinds of plates work best with slightly increased bed temperature and decreased speed for the first layer or two.

Part's list

3D-printed Keycaps

I used this parametric keycap generator with OpenSCAD to make flat keycaps for AMS printing with logos.

PCB Design

I designed a keypad in KiCad. The PCB is very simple, just connecting the keyswitches together and including some contacts to solder on wires. The pcb files can be found here.

Arduino Sketch

As mentioned above, my sketch is modified from miodec's fork by adding support for mute buttons and a keypad. The sketch can be found here.

Autohotkey script

I used Autohotkey to take the simple keyboard events sent by the arduino sketch and use them to support slightly more complex actions, such as launching apps and a "rage quit" button (just presses alt+f4). In my config file, I tell Deej to send values for keys that are not commonly used by windows (e.g. "browser home"). Autohotkey then reads these and performs the desired actions. The autohotkey script can be found here.

Parts

30
QtyValueFootprintReferences
12D_SmallDiodes_SMD:D_SOD-123D1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12
12MX-NoLEDMX_Alps_Hybrid:MX-1U-NoLEDMX1, MX2, MX3, MX4, MX5, MX6, MX7, MX8, MX9, MX10, MX11, MX12
1Screw_Terminal_01x03Connectors_Terminal_Blocks:TerminalBlock_bornier-3_P5.08mmJ1
1Screw_Terminal_01x04Connectors_Terminal_Blocks:TerminalBlock_bornier-4_P5.08mmJ2

The 26 most common of 30 parts.

Similar boards

  • 2 layers52.2 × 52.2 mmBase promicro, the printed circuit board in 3D

    Base promicro

    google/mozc-devices

    Circuit diagrams and firmware source code for Gboard DIY keyboards

    30 parts3kApache-2.0
  • 2 layers40.6 × 15.2 mmVr mmm, the printed circuit board in 3D

    Vr mmm

    rusefi/rusefi

    rusefi - GPL internal combustion engine control unit

    30 parts1.2k
  • 2 layers270 × 11 mmDaylight, the printed circuit board in 3D

    Daylight

    VoronDesign/Voron-Hardware

    Cool Hardware designed by the Voron Design group

    30 parts1.1kGPL-3.0
  • 2 layers65 × 30 mmRgb to hdmi, the printed circuit board in 3D

    Rgb to hdmi

    hoglet67/RGBtoHDMI

    Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

    30 parts1kGPL-3.0
  • 2 layers40.5 × 58 mmInitial v, the printed circuit board in 3D

    Initial v

    tenderlove/initial-v

    It's a BMW shifter converted to a Bluetooth Keyboard that you use with Vim

    30 parts1kApache-2.0
  • 2 layers34.3 × 41.8 mmMotionCubeViewAllForces, the printed circuit board in 3D

    MotionCubeViewAllForces

    hackclub/OnBoard

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

    30 parts915
  • 2 layers57.4 × 62 mmPicoWS2812, the printed circuit board in 3D

    PicoWS2812

    ErichStyger/mcuoneclipse

    McuOnEclipse projects and examples

    30 parts765
  • 2 layers52.1 × 46.8 mmFIRE TEST PANEL, the printed circuit board in 3D

    FIRE TEST PANEL

    jrsteensen/OpenHornet

    OpenHornet 1:1 F/A-18C Simulator Repository

    30 parts431

Questions

How big is the Deej keypad PCB?

It measures 81.5 × 68.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Deej keypad use?

30 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 Deej keypad KiCad files?

From the jrhow2/my_deej_build repository on GitHub, at the commit this page was made from: the board is PCB/Deej keypad.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Deej keypad design in my own project?

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