Skip to the content
PCBKitNew board
2 layers30 × 24.7 mmMiniRectangleDB, the printed circuit board in 3D

MiniRectangleDB

GRAMCTRL/GRAM-PRISM10

A modular and scalable design based on WunWae's Prism Controller

Size
30 × 24.7 mm
Copper layers
2
Thickness
1.6 mm
Parts
15
Nets
22
Pads
70
Tracks, vias
146, 20
Pours
1
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
10 Aug 2023
Updated
7 Jul 2024

Overview

MiniRectangleDB is an open-source printed circuit board by GRAMCTRL, from the GRAMCTRL/GRAM-PRISM repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 30 × 24.7 mm with 15 parts on 22 nets, routed with 146 tracks and 20 vias.

It is built around the USBLC6-2SC6. Its parts include 3 resistors, 3 connectors, 2 ICs, 1 capacitor and 1 diode.

Main components

1

README

README.md

GRAM PRI$M

Introduction

The PRI$M is a modular take on the Prism, originally designed by WunWae. It has the standard pinout for firmwares like HayBox and Pico-Rectangle, and is also compatible with more fleshed-out FGC firmwares like GP2040-CE. The key distinctive features between the original Prism and the PRI$M is the USB-C connectivity, and the modular panels that can be replaced and swapped to change the hand layouts without purchasing a whole new controller. With industrial design from GRAM, PCB designed by Quark.Works, this guide goes over a DIY-friendly approach to building and modifying the PRI$M to suit your needs.

If you would like to support the developers of this project, consider purchasing parts like buttons, PCBs, USB-C to GCC cables, and official GRAM builds at GRAMCTRL.COM rather than a fab house.

IMG_8768 (1)

Included Files

Included in this repo is all the files needed to get started with a PRI$M build:

  • PRI$M Frame .stl files
  • Aluminum Panel Gerber files (5 of 'em!)
  • PCB Gerbers for multiple hand layouts and a panelized version for the standard layout

Additional Information

If you want more info around GRAM builds, both open source and official builds, please join the GRAM Digital Controllers Discord to ask questions and work with the community! I would love to see people creating new interesting designs, and building upon our initial framework.

Thanks & Acknowledgements

There are several people who made this project possible, either directly or indirectly.

  • Quark, who did the PCB design on this and many other GRAM projects.
  • WunWae, who developed the ergonomics and original Prism design. Thank you for your blessing on this crazy project!
  • My life and business partner BRUISES, who has turned GRAM into what it is today, and had incredible patience with me as I toiled away at my computer late into the night designing this thing.

Ordering & Customization Guide

While most of these files are universal and can be used at any fab house, JLCPCB has become the de-facto standard for DIY box manufacturing. This is due to their hyper-affordable pricing and low minimum order quantity.

Bill of Materials

Per GRAM PRI$M, you will need (some files can be made using this repository, but I will link to places to purchase them if you would like to avoid MOQs)

Optional

  • USB-C to GCC cable for console/adapter play

Tools Needed

This guide assumes a level of knowledge on soldering and computer literacy. General tool requirements are:

  • Soldering iron
  • Solder
  • USB-C to USB-A cable
  • 3mm hex key/allen wrench
  • Pliers
  • Patience :)

The PCB

Note: Since the ordering process of the PRI$M is almost identical to the SLIM, I have used the ordering guide from the SLIM here. You may need to do more repetitions of these steps depending on which PCB you are printing, and you need to do the panel steps for all 5 aluminum panels.

The PCB Fabrication files should come in the form of a Gerber ZIP file and bom/cpl files (usually in Excel spreadsheet formats).

Drag them into the "Upload Gerbers" box at JLCPCB and this page will pop up:

image

Here you can change the color of the PCB. Green is the fastest and cheapest from JLC, but their black PCBs look siiiiiick. The only setting I recommend you change is to check "Yes" on Confirm Production file. This allows for any mistakes to be ironed out by their engineers.

Towards the bottom of the page, you want to turn on the switch for PCB ASSEMBLY.

image

Make sure you are assembling the Bottom Side of the PCB, and make sure to set Confirm Parts Placement to "Yes". None of the advanced options need to be changed.

Upon confirming your PCB Assembly options, you'll be taken to the Assembly wizard. Clicking next will give you a location to upload the BOM and CPL files (CPL is referred to as Positions in the GRAM Slim files). Once you click through, you'll be brought to you BOM list.

image

This will allow you to modify parts if there's any low stock. There's a line at the bottom for CH1-CH21 with some red text. This is for assembling hotswap sockets, which is not recommended for JLC, as you have to preorder them. when you click next, continue by clicking Do not place.

image

The wizard looks intimidating, but good news! Since you're confirming part placement, the JLC engineers will fix any errors. Just go ahead and continue.

There you have it! Your PCB is ready to order. As of the time of this writing, a set of 5 assembled boards costs $56.07 before shipping.

The Panels

The process of ordering aluminum panels from JLC is similar to the PCB ordering process, but much simpler. Start by dragging the GRAM Slim Top Zip file into the JLC upload window. We want an aluminum PCB, 1.6mm. You can choose either white or black coating (white tends to be glossy, black is matte but a fingerprint magnet).

image

Under High-spec Options, make sure to remove order number, or else they'll put an ugly serial number on the panel.

Once you save to cart, you'll see this screen:

image

Here you can add the GRAM Slim Bottom Zip file, and it will copy all your settings from the Top panel. Save to cart, and you're ready to check out with your PCBs!

Note: JLCPCB cannot transact PCB and 3D printing orders together, so place this order, then move on to 3D printing.

The Frame

The frame file is pretty self explanatory. Just go into JLC's 3D printing section, drop the STL file in, and choose your material. I recommend black Resin, but LEDO 6060 is a great, low cost alternative. The only material I recommend against is the textured Nylon options, as the tolerances between the frame and panels are extremely tight, and the texture could interfere with that. make sure the surface finish is set to sanded.

The website will flag some possible errors (Inverted normals, Multi-shells, Possible noise shells) but if you have not modified the .stl file you are good to go. It is also possible that their support contact you about a risk of deformation given the geometry of the workpiece but it is normal and you should reply to the email that you accept the risks.

image

Need help building your PRI$M? Feel free to join our Discord for advice from our lovely open source community!

Parts

15
QtyValueFootprintReferences
25.1kResistor_SMD:R_0603_1608MetricR10, R11
2USBLC6-2SC6Package_TO_SOT_SMD:SOT-23-6U4, U5
11999 logo1999:1999 logo mdH12
11MResistor_SMD:R_0603_1608MetricR9
14.7uCapacitor_SMD:C_0603_1608MetricC18
1500 mAFuse:Fuse_1206_3216MetricF1
1Conn_01x06Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_VerticalJ7
1Conn_01x06Connector_JST:JST_SH_SM06B-SRSS-TB_1x06-1MP_P1.00mm_HorizontalJ8
1MountingHoleMountingHole:MountingHole_2.2mm_M2_DIN965_PadH10
1MountingHole_PadMountingHole:MountingHole_2.2mm_M2_DIN965_PadH9
1Schottky DiodeDiode_SMD:D_SOD-323D3
1USB C ConnectorRectangles:TYPE-C_24P_QCHTJ6
1qw logoqw-logo:qw new logo silk + copper smH11

Questions

How big is the MiniRectangleDB PCB?

It measures 30 × 24.7 mm and has 2 copper layers, 1.6 mm thick.

What parts does the MiniRectangleDB use?

15 parts, built around the USBLC6-2SC6. 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 MiniRectangleDB KiCad files?

From the GRAMCTRL/GRAM-PRISM repository on GitHub, at the commit this page was made from: the board is v1/PCBs/DaughterBoard/MiniRectangleDB.kicad_pcb and its schematic v1/PCBs/DaughterBoard/MiniRectangleDB.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the MiniRectangleDB 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).

More from GRAMCTRL/GRAM-PRISM

4
  • 2 layers203.3 × 221.2 mmPanelized Board, the printed circuit board in 3D

    Panelized Board

    GRAMCTRL/GRAM-PRISM

    A modular and scalable design based on WunWae's Prism Controller

    87 parts10GPL-3.0
  • 2 layers181.7 × 124.5 mmGRAM PRISM, the printed circuit board in 3D

    GRAM PRISM

    GRAMCTRL/GRAM-PRISM

    A modular and scalable design based on WunWae's Prism Controller

    47 parts10GPL-3.0
  • 2 layers144.1 × 153 mmRight Hand, the printed circuit board in 3D

    Right Hand

    GRAMCTRL/GRAM-PRISM

    A modular and scalable design based on WunWae's Prism Controller

    18 parts10GPL-3.0
  • 2 layers144.1 × 153 mmRight Hand Swift, the printed circuit board in 3D

    Right Hand Swift

    GRAMCTRL/GRAM-PRISM

    A modular and scalable design based on WunWae's Prism Controller

    17 parts10GPL-3.0

Similar boards

  • 4 layers16.9 × 119.4 mmOrbit, the printed circuit board in 3D

    Orbit

    earthtojake/text-to-cad

    Design physical products with AI

    182 parts26kMIT
  • 2 layers290.1 × 130 mmPro V2, the printed circuit board in 3D

    Pro V2

    kata0510/Lily58

    6×4+4keys column-staggered split keyboard.

    312 parts2.3k
  • 4 layers95 × 55.5 mmEinkPDA keyboard, the printed circuit board in 3D

    EinkPDA keyboard

    TalismanDesign/PocketMage_PDA

    An E-Ink PDA device using the ESP32 S3.

    137 parts2kApache-2.0
  • 4 layers299 × 127 mmLaunch, the printed circuit board in 3D

    Launch

    system76/launch

    System76 Launch Configurable Keyboard

    385 parts1.4kGPL-3.0
  • 2 layers42 × 67 mmLalboard, the printed circuit board in 3D

    Lalboard

    JesusFreke/lalboard

    A 3D-printed keyboard inspired by the DataHand

    65 parts993
  • 2 layers134 × 88 mmTulipcc, the printed circuit board in 3D

    Tulipcc

    shorepine/tulipcc

    The Tulip Creative Computer and AMYboard - portable Python synthesizers

    103 parts978
  • 4 layers70.8 × 108 mmCastor and Pollux, the printed circuit board in 3D

    Castor and Pollux

    wntrblm/Castor_and_Pollux

    A Juno-inspired dual oscillator

    235 parts587
  • 4 layers28.2 × 26.1 mmDongleHiderPlus PCB, the printed circuit board in 3D

    DongleHiderPlus PCB

    LeoDJ/FW-EC-DongleHiderPlus

    Framework Expansion Card that includes a USB hub to hide a bare dongle inside and still have a USB-A port externally

    23 parts497CERN-OHL-W-2.0