Other Blogs
Describe the circuit board you need in the chat. GrandpaCAD picks real parts, places them, routes the copper, checks the board with KiCad (the free PCB program most makers use) and hands you the files a board house needs to make it.
This macropad is a real one. Turn the layers on and off: each one ends up in the files you send to the factory.
The macropad: 72 × 80 mm, two layers, 90 drilled holes. Click the schematic to open it full size.
It came from one message:
Design me a PCB for a 3x3 macropad: nine Cherry MX switches in a matrix with a 1N4148W diode per key, an ESP32-C3 module (ESP32-C3-WROOM-02) driving it over native USB, a USB-C socket for power and data with a 3.3 V regulator, and four M3 mounting holes. Make the key spacing a parameter. I want to order it from JLCPCB with assembly of the SMD parts, so use real LCSC parts. Don't ask me questions, just build it and check it.
No KiCad weekend, no dev board held together with jumper wires that never quite fits the case.
Every file comes in one ZIP:
| File | What you do with it |
|---|---|
| Gerber ZIP | Upload it to JLCPCB, PCBWay or OSH Park and they make the bare boards. Copper, solder mask, labels and outline for both sides, plus the drill files. |
| Parts list (BOM) and placement file (CPL) | Upload these too and JLCPCB solders the small parts for you. Every part has its LCSC number, so it matches a real part in their stock. |
| KiCad project | Open it in KiCad 9 and change anything by hand. |
| 3D board (STEP) | Design the case around the real board, holes and all. |
| Schematic | The wiring as a drawing, to check it or show it to a friend who knows electronics. |
| Drill files | Inside the Gerber ZIP, and on their own if you drill boards at home on a CNC. |
It also tells you what the files don't cover. For the macropad: the nine switches are soldered by hand, check JLCPCB's stock again before you pay, and look at the part rotations in their assembly preview.
The macropad took three builds. The first put three parts too close to the mounting holes. The second was fully routed, but KiCad's check found 33 places where a hole sat too close to copper. The third passed with zero errors, and only then did it make the order files. (It asked before using the extra generations.)
It also caught a design problem before building anything: the ESP32-C3's USB port can flash firmware and talk serial, but it can't act as a USB keyboard. It said so up front and suggested Bluetooth. That's the kind of thing you'd otherwise find out when the boards arrive.
An honest note: a clean check isn't a tested board. Nobody has soldered this macropad yet. Order a small first batch (JLCPCB's minimum is five boards) and test one before you build the rest.
The key spacing is a slider in the parameters panel. Moving it from 19.05 mm to 20 mm rebuilt the board and every order file in about 40 seconds. No new message, no generation used.
Attach your .kicad_pcb to the message. Add the .kicad_pro so it checks against your board's own rules instead of KiCad's defaults, and the .kicad_sch for the parts list.
Ask it to check the board and you get KiCad's design rule check explained part by part, with what to fix. Ask for the order files and you get the same Gerbers, drill files, BOM and placement file as above.
Want a case for it? Attach the board's STEP to a new chat and ask for one, the same way you'd edit any STEP file. Or have a look at it first in the free STEP viewer.
Describe your board
Say what it does and where you'll order it, or drop in a KiCad board to check.