airbrakes-pi-hat
PublicLoading…
airbrakes-pi-hat
Custom made Pi hat, named "Airbender", for use in Airbrakes
This repository contains the KiCad project files for a Raspberry Pi hat. This Pi hat is meant to control airbrakes (see the airbrakes repository for more details on the airbrakes system).
Features
- Supports from 7V to 20V input voltage, with a maximum amperage of 10A.
- Variable output voltage for the servo power rail (6V to 13V), while simultaneously powering the Pi at 5V.
- Current and voltage sensing for the entire board, which allows measurement of servo load transients.
- Reverse polarity detection and protection on the input power rail
- Reverse polarity detection and protection for the servo cable. Plugging in the cable backwards now will not fry the Raspberry Pi.
- 7 LEDs for monitoring and detecting the health of the board and its interface with the Raspberry Pi.
- Solder jumper pad to select using a servo via PWM or communicate with the servo via UART
- P-MOSFET to disable power to the servo rail when not in use
- Software controlled buzzer for audible alerts
The repository includes schematic symbols, PCB footprints, 3D models, and all board files necessary to review, edit and manufacture the module.
Quick Start — open the project
- Install KiCad (see Install and Setup below).
- Clone the repository:
git clone https://github.com/NCSU-High-Powered-Rocketry-Club/airbrakes-pi-hat.git && cd airbrakes-pi-hat
Install and Setup
First, install KiCad from kicad.org. We recommend using the latest stable release of KiCad for new designs.
After installation
- Open the
pcb-hat.kicad_proproject. KiCad will use thesym-lib-tableandfp-lib-tablefiles included here if you open the board/schematic from this checkout. - If KiCad shows missing library warnings, update the Project Library Tables or use the library manager to add the project's
sym-lib-tableandfp-lib-table.
Repository structure
Root-level description (key files/folders):
milled_ab_pi_hat/— folder containing CNC milling files for in-house fabrication at the ECE Makerspacepcb-hat/— folder which contains the project files for the SMD version of the Pi hat (This is what we order from JLCPCB!)pcb-hat.kicad_sch— schematicpcb-hat.kicad_pcb— PCB layoutpcb-hat.kicad_pro— KiCad project file that links schematics, board and library tablessym-lib-table— project symbol library table that makes project-local symbols available to Eeschemafp-lib-table— project footprint library table that makes project-local footprints available3dmodels/— 3D STEP/WRL models used with footprintssymbols/— human-editable symbol libraries (e.g.,connectors.kicad_sym,sensors.kicad_sym)footprints/— footprint libraries as.prettydirectories
Library handling
We keep the project-specific libraries inside the repository so that board designs are reproducible and self-contained.
Symbols
- New symbols are added to the project's
symbolsdirectory and are registered in the project'ssym-lib-table.
Footprints
- Footprints live inside
.prettyfolders infootprints/. Add footprints via the footprint editor and store them in an appropriatefootprints/<libname>.prettyfolder.
3D models
- 3D models are stored in
3dmodels/and referenced by footprint model paths. Keep STEP files with good orientation and scale (KiCad's default is mm). We typically download the .step file from the manufacturer's website. - If you add a footprint that references a 3D model, commit both the footprint in
footprints/and the 3D model to3dmodels/.
Good Practices & Design Rules
- Keep schematic symbols generic and footprints specific: do not hardcode assembly-side changes into symbols.
- Look at the existing schematic to see how we do things and try to be consistent.
- Save new libraries to the project-local tables (not global) to keep designs reproducible.
- Keep PCB footprints accurate — use accurate courtyard, 3D models, and update packaging information.
- Validate with DRC (PCB Editor > Inspect > Design Rules Checker) and ERC (Eeschema > Tools > ERC) before committing changes.
- When collaborating, include notes about part sources (Mouser/Digikey vendor links), footprints used, and any custom pad or thickness changes.
Release & Manufacturing Checklist
Before requesting fab or assembling a board, run this checklist:
- Run ERC (Eeschema > Tools > ERC) and fix all warnings.
- Run DRC in PCB Editor and resolve all errors.
- Create a BOM and confirm manufacturer part numbers and footprints match.
- Get the Fabrication Toolkit plugin from the KiCad plugin repo
- Click the generate gerber files button in the PCB editor (via the plugin). Keep all default options. Then export it.
- Check 3D model alignment in PCB Editor (View > 3D Viewer) to ensure components fit.
- Tag or branch the repo in Git to preserve the release snapshot.
License
See LICENSE at the repo root for licensing details.


No comments yet. Be the first to ask about this board.