Skip to the content
2 layersGPIO HAT, the printed circuit board in 3D

This repository is used to store coursework, scripts, and supporting materials for our electronics and embedded systems projects throughout the semester.

Copper layers
2
Thickness
1.6 mm
Parts
28
Nets
50
Pads
200
Tracks, vias
17, 0
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
12 Jan 2026
Updated
19 Apr 2026

Overview

GPIO HAT is an open-source printed circuit board by AndrewPrimi, from the AndrewPrimi/Group-5 repository on GitHub. It is a 2-layer board with 28 parts on 50 nets, routed with 17 tracks and 0 vias.

Its parts include 19 resistors, 2 capacitors, 2 diodes, 2 transistors and 1 IC.

README

README.md

Electronics Tool Bench – Group 5

This repository is used to store coursework, scripts, and supporting materials for our electronics and embedded systems projects throughout the semester. It includes work completed using tools such as the Raspberry Pi and GitHub for collaborative development.

Course Deliverables

  • Documentaton under Technical_Documenation Folder
  • User Manual under User_Manual folder
  • Current Status of these files are relevant to the status of the completion of the project, these files updated with every deliverable and checkpoint

Deliverable 2 – Raspberry Pi Hello World (RP4)

  • File(s): HelloWorldPI.py, HelloWorldScripts
  • Description: Python script used to verify Raspberry Pi setup and GitHub integration. The script was run successfully on the Raspberry Pi as part of the assignment. Practice GitHub Commit files.

Deiverable 3 - DigiPot and Rotary Encoder

  • File(s): gpio_status.py, gpio_status_simple.py, potentiometer.py, LED_ON_OFF.py
  • Description: Scripts used to setup GPIO ports and to use the digital potentiometer (change resistance) and rotary encoder (turn off/on an LED), LED turn off and on script.

Deliverable 4 – Power Supply Simulation, CAD, GPIO Diagram and Power Diagram

  • File(s): Deliverable_4.pdf, KiCad_Files, Multisim_Schematics
  • Description: GPIO and power diagrams, ±12 V power supply simulation, and initial PCB CAD design using KiCad for future Pi-HAT development.

Deliverable 5 – Checkpoint C (DigiPot User Interface)

  • File(s): Checkpoint_C_Code (name your Checkpoint “C” code clearly), updated weekly documentation + demo video
  • Description: Rotary encoder + LCD user interface to set and display digipot resistance. Slow spin adjusts by 10 Ω and fast spin adjusts by 100 Ω, with a selectable range of 100 Ω to 10 kΩ. Pressing the encoder selects/sets the value and programs the digipot (verified with a multimeter). The UI must allow selecting which side of the dual digipot is being controlled and each side must be independent. Holding the knob for 3 seconds returns to the primary selection screen. No LCD buttons are used and the system should not reboot between resistance changes.

Deliverable 6 – ±12 V Supply Under Load, 5-bit ADC Simulation, and PCB Schematic Updates

  • File(s): Deliverable_6.pdf, KiCad_Files, Multisim_Schematics, updated weekly documentation
  • Description: Updated and validated the split-rail ±12 V power supply to ensure stability with no load and with an approximate 50 mA load on both rails. Documented and clarified system ground/reference behavior, including the virtual ground midpoint concept. Developed and simulated a 5-bit-equivalent ADC design using a SAR-based approach with an R-2R DAC, sample-and-hold circuit, and LM339 comparator. Updated the Pi-Hat protector KiCad schematic/PCB to include the ±12 V supply nets (+12 V, GND, −12 V), ADC routing concepts, and initial layout/routing screenshots with key design decisions and debugging considerations (labels, test points, footprints).

Deliverable 7 – Physical ADC, Ohmmeter, Voltmeter

  • File(s): N/A
  • Description:

Additional deliverables will be added to this repository as the semester progresses.

Group Members

  • Andrew Primiano
  • Logan Griffy
  • Tillman Clark
  • George Braun
  • Kai DeVito

Parts

28
QtyValueFootprintReferences
19100Resistor_SMD:R_0201_0603MetricR1, R2, R3, R4, R5, R6, R10, R11, R12, R13, R14, R15, R16, R17, R18, R19 +3
20.0000001Capacitor_THT:CP_Axial_L10.0mm_D4.5mm_P15.00mm_HorizontalC1, C2
2DDiode_THT:D_5KP_P7.62mm_Vertical_AnodeUpD1, D3
124Battery:BatteryHolder_Keystone_103_1x20mmV1
1MCP4131-xxxx-PPackage_DIP:DIP-8_W7.62mmU1
1NMOSTransistor_Power_Module:Infineon_AG-ECONO2Q1
1PMOSTransistor_Power_Module:Infineon_AG-ECONO2Q2
1PiHeaderMConnector_IDC:IDC-Header_2x20-1MP_P2.54mm_Latch6.5mm_VerticalJ2

More from AndrewPrimi/Group-5

4
  • 2 layersFinalPCB, the printed circuit board in 3D

    FinalPCB

    AndrewPrimi/Group-5

    This repository is used to store coursework, scripts, and supporting materials for our electronics and embedded systems projects throughout the semester.

    70 parts
  • 2 layersDeliverable7 PCB, the printed circuit board in 3D

    Deliverable7 PCB

    AndrewPrimi/Group-5

    This repository is used to store coursework, scripts, and supporting materials for our electronics and embedded systems projects throughout the semester.

    42 parts
  • 2 layersGPIO HAT, the printed circuit board in 3D

    GPIO HAT

    AndrewPrimi/Group-5

    This repository is used to store coursework, scripts, and supporting materials for our electronics and embedded systems projects throughout the semester.

    28 parts
  • 2 layersPI Hat:SAR ADC, the printed circuit board in 3D

    PI Hat:SAR ADC

    AndrewPrimi/Group-5

    This repository is used to store coursework, scripts, and supporting materials for our electronics and embedded systems projects throughout the semester.

    21 parts

Similar boards

  • 2 layers44.5 × 72.7 mmOSO SWAT C1-jig, the printed circuit board in 3D

    OSO SWAT C1-jig

    joeycastillo/Sensor-Watch

    A board replacement for the classic Casio F-91W wristwatch

    28 parts2.1k
  • 2 layers95 × 54 mmEinkPDA screen, the printed circuit board in 3D

    EinkPDA screen

    TalismanDesign/PocketMage_PDA

    An E-Ink PDA device using the ESP32 S3.

    28 parts2kApache-2.0
  • 2 layers45 × 45 mmSmartbuttons, the printed circuit board in 3D

    Smartbuttons

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    28 parts915
  • 2 layers24.1 × 36.2 mmEsp32miniBT, the printed circuit board in 3D

    Esp32miniBT

    asterics/esp32_mouse_keyboard

    ESP32 implementation for HID over GATT Keyboard and Mouse (Bluetooth Low Energy). Including serial API for external modules (similar to Adafruit EZKey HID)

    28 parts911GPL-3.0
  • 2 layers34.8 × 12.2 mmInfnoise goldfingers, the printed circuit board in 3D

    Infnoise goldfingers

    waywardgeek/infnoise

    The world's easiest TRNG to get right

    28 parts854CC0-1.0
  • 2 layers55.9 × 99.1 mmStm32f0 disco Luos shield, the printed circuit board in 3D

    Stm32f0 disco Luos shield

    Luos-io/luos_engine

    Open-source and real-time orchestrator for cyber-physical-systems, to easily design, test and deploy embedded applications and digital twins.

    28 parts546MIT
  • 2 layers88 × 25 mmEleLab v2 Frontpanel a, the printed circuit board in 3D

    EleLab v2 Frontpanel a

    Chrismettal/EleLab_v2

    Cheap DIY lab system for hobbyists and the tinkering folk

    28 parts531GPL-3.0

Questions

What parts does the GPIO HAT use?

28 parts. 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 GPIO HAT KiCad files?

From the AndrewPrimi/Group-5 repository on GitHub, at the commit this page was made from: the board is GPIO_HAT-backups/GPIO_HAT-2026-02-17_171046/GPIO_HAT.kicad_pcb and its schematic Deliverable10PCB/FinalPCB.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the GPIO HAT design in my own project?

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