SD2SNES Assembly – Exporting/ordering the PCB

To create the files required for ordering the PCB, we need the following tools:

  1. A PCB manufacturer. (JLCPCB as an example).
  2. KiCAD Version 5.0 or higher .
  3. The git repository from the previous step.

Our process will look like this:

  1. Install KiCAD 5.0+.
  2. Open the PCB layout and make first checks.
  3. Plot the PCB layers into Gerber files and create drill files.
  4. Zip all of it together for upload.
  5. Upload the data to JLCPCB.
  6. Do the required JLCPCB configuration.
  7. Do final checks on JLCPCB.
  8. Finalize the order.

Step 1) Installing KiCAD

KiCAD installation on Ubuntu Linux is quite easy. We’ll use a PPA repository available. Detailed instructions can be found here:

In short: Add ppa:js-reynaud/kicad-5 , apt update and apt install kicad. That should also take care of all dependencies for you. KiCAD can then be started from the menu or command line with “kicad”.

Step 2) Opening the PCB and first checks

Run KiCAD, then select File -> Open Project (Ctrl-O) and navigate to the folder of the GIT project. Inside that folder, naviage to pcb/kicad, select the Revision you’re interested in (RevK) and then select the file.

(~/git/retroconsoles/pcb/kicad/RevK if you mirrored the previous step).

Next, open up the PCB Layout Editor. It’s reachable via the icon shown in the image below:

Opening the Layout Editor

You’ll be presented with a view similar to this:

Basic view for KiCAD PCB Layouter

You can use the checkboxes on the right to display/hide the different layers of the board. Here is a quick rundown of the most important layers:

  • Component + Copper: Top and bottom layer of the PCB. Contains all the traces for the board.
  • F.SilkS + B.SilkS. Silkscreen layers. These contain the placement details for the PCB. This is extremely important for hand assembly, debugging and repairs.
  • F.Mask + B.Mask. Soldermasks. Critical for assembly. These layers describe where to cover the copper traces and where not.
  • Edge.Cuts. Cutting information. Required by manucfacturer in order to place the outline cuts for your board.
  • F.CrtYd, B.CrtYd, F.Fab, B.Fab. Additional information for design and manufacturing/assembly. Not really critical for production.

Step 3) Plotting the Gerber files, creating drill files.

Select File -> Plot… to open the export options for the PCB. It’ll open the following dialog. Make sure you have selected the layers on the left correctly.

Also select an output directory that fits your needs. I usually create it in a directory called “production_batch_1” for final exports, and “test” when just trying out stuff. Always keep your production files after you created them, they can come in very handy when debugging the PCB!

Output directory display