Skip to the content
2 layers40.3 × 52.4 mmServocontrollerproject, the printed circuit board in 3D

Servocontrollerproject

pioneers/PiElectrical8

PiElectrical Work and Documentation

Size
40.3 × 52.4 mm
Copper layers
2
Thickness
1.6 mm
Parts
10
Nets
25
Pads
42
Tracks, vias
9, 0
Pours
3
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
20 Sep 2016
Updated
1 Oct 2026

Overview

Servocontrollerproject is an open-source printed circuit board by pioneers, from the pioneers/PiElectrical repository on GitHub. It is a 2-layer board of 40.3 × 52.4 mm with 10 parts on 25 nets, routed with 9 tracks and 0 vias.

It is built around the B3B-XH-A(LF)(SN). Its parts include 1 capacitor, 1 IC and 1 connector. It belongs with the AVR (ATmega, ATtiny) boards of this library.

Main components

1

README

README.md

PiElectrical

This is the working repo for PiElectrical teams

  1. ToDo
  2. Repo Structure
  3. Setup
  4. Work Flow
  5. How to Create a Gerber
  6. Docu Packets
  7. FAQ
  8. Useful Links
  9. Standards

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

Back to Top

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.

Back to Top

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

  1. Copy the URL for pioneers/PiElectrical to your clipboard: (Or here: https://github.com/pioneers/PiElectrical.git)
  2. In Terminal (Mac, GNU/Linux) or Git Bash (windows), navigate to your working directory (the directory that you want to keep PiElectrical in.)
  3. Clone PiElectrical by running this command: git clone https://github.com/pioneers/PiElectrical.git

Installation of KiCad on your computer

  1. Download the latest version of KiCad here: https://www.kicad.org/download/
  2. Run installer. Use all default settings on installer. (Click to see default settings)

Setting up KiCad

  1. Open KiCad.
  2. 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
  1. Go to the Preferences tab, and select Manage Symbol Libraries...
  2. 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".
  3. Select the folder icon near the bottom left and navigate to the PiE_Symbols.kicad_sym file in the src folder.
  4. You should now see the PiE_Symbols in your Symbol Libraries. Make sure the "active" box is checked, and click "OK".
Adding Footprints
  1. Go to the Preferences tab, and select Manage Footprint Libraries...
  2. 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".
  3. Select the folder icon near the bottom left and navigate to the PiE_Footprints.pretty file in the src folder.
  4. 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.

Back to Top

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:

  1. In Terminal (mac, GNU/Linux) or GitBash (windows), navigate to your working directory (wherever you have PiElectrical).
  2. Make sure your working directory is clean: git status
  3. If you haven't started your sub project: git checkout -b YOURNAME-SUBPROJECT
  4. YOUR_NAME/SUBPROJECT is now the name of your branch
  5. Do your work in KiCad.
  6. Once you are at a good stopping point in your KiCad work, commit your progress:
    1. git add path/to/your/file
    2. git commit -m "Make your commit message short and with this format"
    3. 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!
  7. Repeat Steps 5 and 6 until you are finished with your EAGLE work.
  8. 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.
  9. 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

Back to Top

Generating Fabrication Outputs

  1. 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.

  2. Go to File -> Fabrication Outputs -> Gerbers (.gbr)...
  3. 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".
  4. Select the folder icon near the bottom left and navigate to the PiE_Symbols.kicad_sym file in the src folder.
  5. You should now see the PiE_Symbols in your Symbol Libraries. Make sure the "active" box is checked, and click "OK".
  6. Open the brd file

  7. Click Cam Job

  8. Open pie.cam

  9. Make a directory in each sensor's folder called SENSOR_NAME-gerb

    • SENSOR_NAME must be the exact name as the brd file
  10. Run job, and click yes to all for the polygon issue

  11. Once all the jobs are done, run make gerb

Back to Top

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

Back to Top

Useful Links

PiE's own Github Tutorial

PiElectrical Wiki

Markdown Cheatsheet

Arduino Pro Micro Pinouts

BAC DFM

Read up on the PiE Electrical Style Rules and Guidelines (This is a good resource, but outdated)

Back to Top

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:
text
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/PiElectrical

Back to Top

Parts

10
QtyValueFootprintReferences
2~Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalServo0, Servo1
11000uCapacitor_THT:CP_Radial_D10.0mm_P5.00mmC1
1LOGOPiE_Footprints:PiE LogoG***
1ProMicroPiE_Footprints:ProMicro-EnforcedTopU1
1USB_APiE_Footprints:USB-A_femaleJ3

The 6 most common of 10 parts.

More from pioneers/PiElectrical

12
  • 2 layers112.1 × 88.2 mmPDB, the printed circuit board in 3D

    PDB

    pioneers/PiElectrical

    PiElectrical Work and Documentation

    104 parts8
  • 2 layers112.1 × 88.3 mmPDB, the printed circuit board in 3D

    PDB

    pioneers/PiElectrical

    PiElectrical Work and Documentation

    77 parts8
  • 2 layers112.1 × 88.3 mmPDB, the printed circuit board in 3D

    PDB

    pioneers/PiElectrical

    PiElectrical Work and Documentation

    59 parts8
  • 2 layers109.5 × 59 mmGabesam board, the printed circuit board in 3D

    Gabesam board

    pioneers/PiElectrical

    PiElectrical Work and Documentation

    25 parts8
  • 2 layers53.3 × 27 mmDC DC converter v2, the printed circuit board in 3D

    DC DC converter v2

    pioneers/PiElectrical

    PiElectrical Work and Documentation

    21 parts8
  • 2 layers104.4 × 58.1 mmSimon Says, the printed circuit board in 3D

    Simon Says

    pioneers/PiElectrical

    PiElectrical Work and Documentation

    18 parts8
  • 2 layersTurbo PCB Design, the printed circuit board in 3D

    Turbo PCB Design

    pioneers/PiElectrical

    PiElectrical Work and Documentation

    15 parts8
  • 2 layers34.9 × 34.7 mmDC DC converter, the printed circuit board in 3D

    DC DC converter

    pioneers/PiElectrical

    PiElectrical Work and Documentation

    14 parts8
  • 2 layers26 × 32 mmUSBTTL, the printed circuit board in 3D

    USBTTL

    pioneers/PiElectrical

    PiElectrical Work and Documentation

    13 parts8
  • 2 layers45.7 × 50.8 mmPiE team flag, the printed circuit board in 3D

    PiE team flag

    pioneers/PiElectrical

    PiElectrical Work and Documentation

    12 parts8
  • 2 layers18 × 31 mmUSBTTL, the printed circuit board in 3D

    USBTTL

    pioneers/PiElectrical

    PiElectrical Work and Documentation

    8 parts8
  • 2 layers40.5 × 45.8 mmUltrasonic, the printed circuit board in 3D

    Ultrasonic

    pioneers/PiElectrical

    PiElectrical Work and Documentation

    4 parts8

Similar boards

  • 2 layers52.8 × 55 mmILDAWaveX16, the printed circuit board in 3D

    ILDAWaveX16

    stanleyondrus/ILDAWaveX16

    ILDAWaveX16 is an open-source, high-resolution, wireless laser DAC with SD-card playback, network control, and ILDA output.

    95 parts42
  • 2 layers197.3 × 121.2 mmTeensyMaestro Main PCB, the printed circuit board in 3D

    TeensyMaestro Main PCB

    rimuadmin/TeensyMaestro-Hardware

    Hardware for the TeensyMaestro

    115 parts13CERN-OHL-P-2.0
  • 4 layers65 × 52 mmProtogenControllerV1, the printed circuit board in 3D

    ProtogenControllerV1

    coelacant1/Protogen-Electronics

    SmartMatrix SmartLED Shield breakout for Protogen hardware

    77 parts8GPL-3.0
  • 2 layers100 × 65 mmAstroplant AL, the printed circuit board in 3D

    Astroplant AL

    AstroPlant/astroplant-hardware

    Raw data files for hardware PCB's

    102 parts3
  • 2 layers27 × 17 mmEuklick, the printed circuit board in 3D

    Euklick

    jrlomas/euklick

    Single PCB optical probe for 3D printers

    9 parts2
  • 4 layers275 × 240 mmSupervisor, the printed circuit board in 3D

    Supervisor

    BennetLeff/temper

    a breville control freak ++

    440 parts1
  • 4 layers101 × 51.5 mmQuack core, the printed circuit board in 3D

    Quack core

    HeyPCB/quack-core

    Brain board for the Open Duck Mini: Pi Zero 2W carrier, 14-servo STS bus, fused 2S power path in stitched copper zones (15-18 A battery side), USB-C charging with balancing, IMU.

    138 parts1CERN-OHL-S-2.0

Questions

How big is the Servocontrollerproject PCB?

It measures 40.3 × 52.4 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Servocontrollerproject use?

10 parts, built around the B3B-XH-A(LF)(SN). 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 Servocontrollerproject KiCad files?

From the pioneers/PiElectrical repository on GitHub, at the commit this page was made from: the board is Boards/servocontrollerproject/servocontrollerproject.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Servocontrollerproject design in my own project?

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