

PiElectrical Work and Documentation
- Size
- 112.1 × 88.3 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 59
- Nets
- 70
- Pads
- 202
- Tracks, vias
- 335, 18
- Pours
- 4
- Routed
- Yes
- KiCad
- KiCad 7 (file 20221018)
- Created
- 20 Sep 2016
- Updated
- 1 Oct 2026
Overview
PDB is an open-source printed circuit board by pioneers, from the pioneers/PiElectrical repository on GitHub. It is a 2-layer board of 112.1 × 88.3 mm with 59 parts on 70 nets, routed with 335 tracks and 18 vias.
It is built around the CH340G and PCF8574T. Its parts include 21 resistors, 7 capacitors, 3 connectors, 3 switches and 2 ICs. It belongs with the AVR (ATmega, ATtiny) boards of this library.
Main components
2CH340G
SOP-16-40℃~+85℃ 2Mbps 3.3V、5V USB 2.0 USB to UART SOP-16 USB Converters ROHSWCH (Nanjing Qinheng Microelectronics)USB ConvertersPCF8574T
SOP-16-300mil-40℃~+85℃ 100kHz 10uA 2.5V~6V 25mA 300uA 8 8 Cascading and address extension、Built-in LED driver I2C Interrupt Output Open-drain SOP-16-300mil I/O Expanders ROHSHGSEMII/O Expanders
README
README.mdPiElectrical
This is the working repo for PiElectrical teams
ToDo:
- The stuff in PDB-Y16
- Convert motor controller design to KiCad
- Add and test current regulation for motor controller
- Talk to runtime and potentially use cheaper MCU for motor controller
Repo Structure:
Boards: Contains all necessary information about each board, including KiCad (and old Eagle) files, arduino test files, and board specific documentation.
Bootloaders: Contains the files necessary to burn the bootloader for boards identifying as Leonardo (Atmega32u4).
Documentation: All docu packets and scripts. Fragile! Do not touch!
Production_Files: Finalized gerbs and other necessary production files (BOM, CPL, etc...) sent out for fabrication.
Images: Place all your images in here to enhance your READMEs.
Libraries: Necessary KiCad files to work on PiElectrical
ToDo is on the README to keep things easier to see at first glance. GitHub issues tracker can be used as well.
Setup
When you see an arrow like this... (click me)
...it indicates an expandable section. We usually include images in here as a better reference for you to follow along.Initial Setup of PiElectrical repo on your computer
- Copy the URL for pioneers/PiElectrical to your clipboard: (Or here: https://github.com/pioneers/PiElectrical.git)
- In Terminal (Mac, GNU/Linux) or Git Bash (windows), navigate to your working directory (the directory that you want to keep PiElectrical in.)
- Clone PiElectrical by running this command:
git clone https://github.com/pioneers/PiElectrical.git
Installation of KiCad on your computer
- Download the latest version of KiCad here: https://www.kicad.org/download/
-
Run installer. Use all default settings on installer. (Click to see default settings)
Setting up KiCad
- Open KiCad.
-
Depending on whether you've used KiCad before, select the appropriate option on the pop-up. (Default settings if you're new to KiCad).
Adding Symbols
-
Go to the Preferences tab, and select Manage Symbol Libraries...
-
If this is your first time using KiCad, it will prompt you to configure the Global Symbol Library. It is highly recommended that you select "Copy default global symbol library table".
-
Select the folder icon near the bottom left and navigate to the PiE_Symbols.kicad_sym file in the src folder.
-
You should now see the PiE_Symbols in your Symbol Libraries. Make sure the "active" box is checked, and click "OK".
Adding Footprints
-
Go to the Preferences tab, and select Manage Footprint Libraries...
-
If this is your first time using KiCad, it will prompt you to configure the Global Footprint Library. It is highly recommended that you select "Copy default global footprint library table".
-
Select the folder icon near the bottom left and navigate to the PiE_Footprints.pretty file in the src folder.
-
You should now see the PiE_Footprints in your Footprint Libraries. Make sure the "active" box is checked, and click "OK".
Note that this setup instruction is based on KiCad 7.0.7, but it should still work for other versions.
Work Flow
Protocol when working on KiCad files
The revision number should be REV <year><revision>. E.g. REV 16A for year 16 revision A.
If you are not quite familiar with git, see Useful Links for the PiE Github tutorial
WARNING: Do not modify PiE_Symbols.kicad_sym or PiE_Footprints.pretty without discussing it with PMs.
Steps when working on KiCad files:
- In Terminal (mac, GNU/Linux) or GitBash (windows), navigate to your working directory (wherever you have PiElectrical).
- Make sure your working directory is clean: git status
- If you haven't started your sub project: git checkout -b YOURNAME-SUBPROJECT
- YOUR_NAME/SUBPROJECT is now the name of your branch
- Do your work in KiCad.
- Once you are at a good stopping point in your KiCad work, commit your progress:
- git add path/to/your/file
- git commit -m "Make your commit message short and with this format"
- NOTE: Commiting is like saving your file, but for all of PiE as well as your personal computer. And just like saving, Commit Early & Commit Often!
- Repeat Steps 5 and 6 until you are finished with your EAGLE work.
- Once you have made your last commit, push your files to the PiElectrical github repo: git push origin YOUR_BRANCH
- If you get a merge conflict, contact the PMs for help.
- If completely done, submit a Pull Request
Commit Message Format Conventions
- Present Tense ("Reroute power traces on team flag", not "Rerouted power traces on team flag")
- No period at the end: ("Reroute power traces on team flag", not "Reroute power traces on team flag.")
- Keep your message length to about one sentence.
Merge Conflicts: What should I do?
Don't try to fix it yourself: Eagle files are finicky and you might break all your work!
Ask someone who knows how to deal with this, i.e. your PM or something
Generating Fabrication Outputs
-
Make sure you run the Electrical Rules Check (ERC) in the schematic and the Design Rules Checker (DRC) in the layout, and have no red errors. Feel free to ask PMs if you have any questions.
-
Go to File -> Fabrication Outputs -> Gerbers (.gbr)...
-
If this is your first time using KiCad, it will prompt you to configure the Global Symbol Library. It is highly recommended that you select "Copy default global symbol library table".
-
Select the folder icon near the bottom left and navigate to the PiE_Symbols.kicad_sym file in the src folder.
-
You should now see the PiE_Symbols in your Symbol Libraries. Make sure the "active" box is checked, and click "OK".
-
Open the brd file
-
Click Cam Job
-
Open pie.cam
-
Make a directory in each sensor's folder called SENSOR_NAME-gerb
- SENSOR_NAME must be the exact name as the brd file
-
Run job, and click yes to all for the polygon issue
-
Once all the jobs are done, run
make gerb
FAQ
Q: What's the difference between commit before I pull?
A: Do you want to keep any of the changes? Then commit those (the ones you want to keep) before you pull. Or else, the things you pull might conflict with your work, and you'll have a git disaster.
Q: I worked on my stuff, pulled, and everything I did went away!
A: As long as you committed, the PMs can recover your work for you.
Q: Why am I working on my own branch?
A: This is to keep track of pull request and board reviews on a per board basis
Useful Links
PiE's own Github Tutorial
Read up on the PiE Electrical Style Rules and Guidelines (This is a good resource, but outdated)
Design Rules
You can find JLC's design rules here: https://jlcpcb.com/capabilities/pcb-capabilities. Please review this before ordering a PCB.
Some of our general rules:
- Traces must be multiples of 45 degrees
- Standard Pin Distance: 100 mils (2.54 mm)
Make sure to annotate your boards:
Copyright (c) 2023, Pioneers in Engineering
All rights reserved.
Design by: Justin H
This design is open source hardware.
For more information, visit
github.com/pioneers/PiElectricalParts
59| Qty | Value | Footprint | References |
|---|---|---|---|
| 8 | 200 | Resistor_SMD:R_0603_1608Metric | R7, R8, R9, R10, R11, R12, R13, R14 |
| 5 | Anderson_Horizontal | PiE_Footprints:anderson_horizontal | A1, A2, A3, A4, A5 |
| 4 | USB | PiE_Footprints:USB-A_female | DATA1, USB1, USB2, USB3 |
| 3 | 10000 | Resistor_SMD:R_0603_1608Metric | R2, R4, R6 |
| 3 | 30000 | Resistor_SMD:R_0603_1608Metric | R1, R3, R5 |
| 2 | 0.1uF | Capacitor_SMD:C_0603_1608Metric | C3, C4 |
| 2 | 10u | Capacitor_THT:CP_Radial_D5.0mm_P2.00mm | C1, C2 |
| 2 | 22 | Resistor_SMD:R_0603_1608Metric | R17, R18 |
| 2 | 22pF | Capacitor_SMD:C_0603_1608Metric | C5, C6 |
| 2 | 4700 | Resistor_SMD:R_0603_1608Metric | R19, R20 |
| 2 | Conn_01x02 | PiE_Footprints:PinHeader_1x02_P2.54mm_Vertical | J1, J3 |
| 1 | 0.1u | Capacitor_SMD:C_0603_1608Metric | C7 |
| 1 | 1000 | Resistor_SMD:R_0603_1608Metric | R16 |
| 1 | 10k | Resistor_SMD:R_0402_1005Metric | R21 |
| 1 | 12MHz | PiE_Footprints:JYJE S1C12000VWFAC | Y1 |
| 1 | 3300 | Resistor_SMD:R_0603_1608Metric | R15 |
| 1 | 4_digit_7_segment_display | PiE_Footprints:LED-SEG-TH_12P-L30.0-W13.7-P2.54-S10.16-BL | D3 |
| 1 | BUCK_CONVERTER_5V | PiE_Footprints:5v_converter | Converter1 |
| 1 | Buzzer | PiE_Footprints:Buzzer | B1 |
| 1 | CH340G | PiE_Footprints:CH340g | U2 |
| 1 | Conn_01x04 | PiE_Footprints:PinHeader_1x04_P2.54mm_Vertical | J2 |
| 1 | D-SWITCH_MR5-111-C5N-BB | PiE_Footprints:Rocker Switch | Sw1 |
| 1 | Fuseholder | PiE_Footprints:Fuse Holder SMD | F1 |
| 1 | JST-XH_4-pin | PiE_Footprints:JST_XH_B4B-XH-A_1x04_P2.50mm_Vertical | Jst1 |
| 1 | LOGO | PiE_Footprints:PiE Logo | G*** |
| 1 | PCF8574 | PiE_Footprints:PCF8574T | U3 |
| 1 | ProMicro | PiE_Footprints:ProMicro-EnforcedTop | Pro1 |
| 1 | SW_MEC_5E | Button_Switch_THT:SW_PUSH_6mm | SW3 |
| 1 | SW_SPDT | PiE_Footprints:DEALON SS-12D01-G3 | SW2 |
| 1 | XT60_F | PiE_Footprints:AMASS_XT60-M_1x02_P7.20mm_Vertical | Batt1 |
| 1 | s8050_JSMSEMI | PiE_Footprints:s8050 JSMSEMI | Q1 |
The 55 most common of 59 parts.
More from pioneers/PiElectrical
12- 2 layers112.1 × 88.2 mm

- 2 layers112.1 × 88.3 mm

- 2 layers109.5 × 59 mm

- 2 layers53.3 × 27 mm

- 2 layers104.4 × 58.1 mm

- 2 layers

- 2 layers34.9 × 34.7 mm

- 2 layers26 × 32 mm

- 2 layers45.7 × 50.8 mm

- 2 layers40.3 × 52.4 mm

- 2 layers18 × 31 mm

- 2 layers40.5 × 45.8 mm

Similar boards
- 2 layers58.4 × 80.6 mm

- 2 layers87 × 47 mm

- 2 layers155 × 60 mm

- 2 layers140 × 100 mm

- 2 layers82.6 × 79.5 mm

- 2 layers100 × 100 mm

- 2 layers100 × 45 mm

- 2 layers148.6 × 192.2 mm

Badge
NuttyShell/NuttyBadge
NuttyBadge: A NuttyShell crafted multi-tool. Opensourced Hardawre and Software
169 parts31GPL-3.0
Questions
How big is the PDB PCB?
It measures 112.1 × 88.3 mm and has 2 copper layers, 1.6 mm thick.
What parts does the PDB use?
59 parts, built around the CH340G and PCF8574T. 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 PDB KiCad files?
From the pioneers/PiElectrical repository on GitHub, at the commit this page was made from: the board is Boards/PiEDB-Y16/Contingency/PDB/PDB.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Can I use the PDB design in my own project?
Its repository states no licence, so its author keeps all rights: ask pioneers before reusing the design.