Skip to the content
2 layers120 × 60 mmMacropad Pico, the printed circuit board in 3D

A Pico powered 12-key macropad

Size
120 × 60 mm
Copper layers
2
Thickness
1.6 mm
Parts
32
Nets
53
Pads
186
Tracks, vias
168, 6
Pours
2
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
19 Aug 2024
Updated
26 Sep 2024

Overview

Macropad Pico is an open-source printed circuit board by TrojanPinata, from the TrojanPinata/Macropad-Pico repository on GitHub. It is a 2-layer board of 120 × 60 mm with 32 parts on 53 nets, routed with 168 tracks and 6 vias.

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

README

README.md

Macropad-Pico

This is a 12-key macropad based off of the Raspberry Pi Pico with the intention of making something which is almost entirely 3d printable, cheap, and designed with the intention to show off the board, keycaps, and switches. Some key features of this board is the window for the microcontroller, center (separate) USB-C connector (with detachable cable), and a completely through-hole design.

This board is intended for people who want to be able to do the majority of the project on their own - only requiring you to send out the PCB to be made if you want to use one. A alternate switchplate is included for those wanting to handwire their boards.

I also made a video if you want to make this yourself.

image

What you need

In order to actually make this you will need a few things (assuming you didn't get this as a kit and nothing is preassembled):

  • A soldering iron (+ flux, sponge, etc.)
  • A small phillips screwdriver
  • 4 ~12mm long M2 screws/bolts
  • A USB-C female breakout board
  • Some ~26 AWG wire
  • 12 1N4148 Diodes (or similar speed switching diodes)
  • 12 keyboard switches
  • 12 keycaps
  • A Pi Pico
  • The 3D printed case and switchplate
  • A USB-C cable
  • The provided firmware
  • The PCB (optional)
  • Male/Female 4-pin JST connectors (PH type) (optional, but recommended)

Preparation

(If you got this as a kit then this section can be mostly disregarded)

First thing is first, the case and switchplate will need to be printed. This size of this macropad is small enough to be printable on any 3D printer, so it should be pretty accessible. Be aware that tolerances and some shrink of the printed components is normal and should be accounted for. I printed mine with PLA, though most anything can be used. I made the switchplate at 100% infill and the case at 25% and they came out fine.

If you are using the PCB, then you can take the gerbers and send them off to JLCPCB or somewhere and get them made. The PCBs should cost ~$12 with shipping, don't overpay.

If you are doing this with a stock Pi Pico you might have clearance issues with the Micro USB port as it protrudes out a bit. This only occurs if you solder this flat, using headers this won't be an issue. It should fit with a slight bulge (0.1mm too high +/- 0.3mm) - this is mostly a remnant due to using a Pico I designed myself which does not have this issue. Shaving down the plate fixes this but it should not get in the way as long as the Pico is soldered down flat.

In this step I also recommend making the JST connectors. If you are using a PCB, cut down the pins on the female port before soldering them down, making sure they are flush on both sides so that the Pico will be flat when it is soldered down. This port will make the case and PCB easlily seperable when trying to do work on it. Making the JST connectors is kind of a mess, but watch a tutorial and be patient as to not mess them up. We will cover soldering the USB port to them in the next section.

image

Building the board

At this point, you have everything in ready to be soldered, glued, and assembled. We will start by going over the soldering.

If you have never soldered anything before let me give you some tips to be successful:

  • Tin all wires before soldering. When soldering the wire to the thing, you shouldn't need that much as the wire already has some on the tip and will easily attach to the hole/pad.
  • Use flux. Liquid flux, flux pen, doesn't matter - this will make it way easier to make the solder stick.
  • Clean your iron tip with brass brush. This will get rid of the burn off which will make the solder not melt to the tip.
  • Don't let the iron get too hot, stay around 280C for lead-free solder.
  • Use whatever tip you are comfortable with, the smaller the more percise, but somewhere a bit larger may be easier for beginners.

To start, if you haven't attached the female JST connector to the board (ignore if kit), put the connector on the board and mark how much extra wire pokes through the other side of the board, and cut the remainder. Then put some flux in the holes with the connector and solder, using just enough to fill the hole and not create a large bump.

Since we are working on that, then it is probably also necessary to solder the USB port now. The terminals are labeled on both the board and connector, so make sure to match them up. Use flux and tinned wire, and don't leave the iron on the pads too long - only enough to reflow the solder from the tinned wires to the breakout board.

With this, the connector is done and the Pico can be soldered down. To do this, the easiest way is to flatten the Pico in place on the board (if it doesn't want to stay then use tape temporarily) and solder the corners to their pads, then go back and get all of the pads in the middle. Use flux and use a amount of solder to connect the top of the pad with the PCB. On the bottom of the board, there is a cutout for accessing the TP2 and TP3 pads. I recommend soldering two short lengths of wire to them before putting the Pico down, as it makes access to them slightly easier, but it can be done after. Connect those wires to the DP and DN holes to the left on the backside of the PCB.

After doing that, you can drop the diodes in, verifying that they are in the proper orientation. Bend the legs out a bit, and flip the board over. They should stay in, but also the surface below should keep pressure on them so they are flat on the front side. Flux, solder, then clip the legs off (protect your eyes!).

At this point, you are almost done. You now need to pop your switches into the switchplate, and try to fanagle the switches in the array into the holes on the PCB. This is tricky, but be patient. Once they are all in, solder the pins in. The PCB and switchplate should now be sort of connected via the switches.

At this time, you should glue the USB-C connector into the case and connect it to the PCB. Then, the PCB-switchplate combo should be dropped into the case and screwed in. With that, you are ready to flash the firmware and put on the keycaps.

Firmware

I will not go over building your own firmware here, as that is far outside the scope of this guide. The firmware provided can be flashed to the pico but plugging in the PCB or Pico to a computer while holding the BOOTSEL button and dragging the provided .uf2 file onto the drive that RPI-RP2 drive that appears. This will flash the board and you will be ready to go. (Test it with a keyboard tester to make sure it works with the hardware)

Parts

32
QtyValueFootprintReferences
12Dcftkb:D_DO-35_SOD27_P5.08mm_HorizontalD1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12
12KEYSWMX_Only:MXOnly-1U-NoLEDSW-1U-1, SW-1U-2, SW-1U-3, SW-1U-4, SW-1U-5, SW-1U-6, SW-1U-7, SW-1U-8, SW-1U-9, SW-1U-10, SW-1U-11, SW-1U-12
4, , ,
1Conn_01x02_SocketConnector_JST:JST_PH_B2B-PH-K_1x02_P2.00mm_VerticalJ2
1Conn_01x04_SocketConnector_JST:JST_PH_B4B-PH-K_1x04_P2.00mm_VerticalJ1
1LOGOLOGOG***
1Picoeec:RPi_Pico_SMD_THRPI1

Similar boards

  • 2 layers50 × 23.2 mmAnalog, the printed circuit board in 3D

    Analog

    hoglet67/RGBtoHDMI

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

    32 parts1kGPL-3.0
  • 2 layers136.8 × 54.2 mmRetropie zero, the printed circuit board in 3D

    Retropie zero

    hackclub/OnBoard

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

    32 parts915
  • 2 layersMooltipass top, the printed circuit board in 3D

    Mooltipass top

    limpkin/mooltipass

    Github repository dedicated to the mooltipass project

    32 parts531
  • 2 layers16 × 20 mmESPKey, the printed circuit board in 3D

    ESPKey

    octosavvi/ESPKey

    Wiegand data logger, replay device and micro door-controller

    32 parts353GPL-2.0
  • 2 layers82 × 40.9 mmDisplay7447, the printed circuit board in 3D

    Display7447

    zmaker/arduino_cookbook

    gli sketch del nuovo progetto Arduino Cookbook e dei video di YouTube

    32 parts269
  • 2 layers40 × 38 mmShield, the printed circuit board in 3D

    Shield

    murexrobotics/electrical

    Highly integrated electronics design and printed circuit boards (PCBs) for the MATE ROV Competition. Attempt the impossible.

    32 parts192MIT
  • 2 layers47 × 39 mmQrss clock tx, the printed circuit board in 3D

    Qrss clock tx

    swharden/AVR-projects

    A collection of standalone AVR projects written in C

    32 parts184MIT
  • 2 layers30.9 × 63 mmStm32-io extend, the printed circuit board in 3D

    Stm32-io extend

    hardenedlinux/cheap-pcb

    Cheap PCB: Better understanding the current status of hardware supply chain

    32 parts170CC0-1.0

Questions

How big is the Macropad Pico PCB?

It measures 120 × 60 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Macropad Pico use?

32 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 Macropad Pico KiCad files?

From the TrojanPinata/Macropad-Pico repository on GitHub, at the commit this page was made from: the board is pcb/macropad-pico/macropad-pico.kicad_pcb and its schematic pcb/macropad-pico/macropad-pico.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Macropad Pico design in my own project?

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