Skip to the content
2 layers103.5 × 65.5 mmTripico psu, the printed circuit board in 3D

3-Channels Raspberry Pico-based smart power supply. Can run as standalone power supply (V or I controlled), run I-V sweeps decribed in yaml files, or run as a passive ammeter/voltmeter

Size
103.5 × 65.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
41
Nets
64
Pads
208
Tracks, vias
435, 26
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
3 Apr 2026
Updated
11 Apr 2026

Overview

Tripico psu is an open-source printed circuit board by bluesyann, from the bluesyann/tripico-psu repository on GitHub. It is a 2-layer board of 103.5 × 65.5 mm with 41 parts on 64 nets, routed with 435 tracks and 26 vias.

It is built around the LM324, BS170 and TIP41C, with the TIP42C among its other parts. Its parts include 11 resistors, 9 transistors, 6 capacitors and 1 IC. It belongs with the power boards and the RP2040 boards of this library.

Main components

4

README

README.md

TriPico PSU Logo

TriPico PSU

Hardware Badge Firmware Badge Software Badge Use Cases Badge

Hardware Guide Firmware Guide Software Guide

A 3-channel Raspberry Pi Pico instrument that works as a programmable power supply, bench voltmeter/ammeter, and YAML-driven curve tracer all in one.


⚡ What Is This?

TriPico PSU is a 3-channel instrument built around a Raspberry Pi Pico and dual INA3221 measurement ICs. It can be configured as:

  • Programmable multi-channel power supply — independent voltage/current regulation on 3 channels with max power limits
  • Live voltmeter/ammeter front end — real-time monitoring with interactive desktop GUI and live charts
  • Curve tracer — automated characterization of transistors, diodes, and components using YAML recipe automation

Repository Structure

Picture Insertion Block: Full Build Overview

Use this block when you have a cleaner hero photo than global_view.jpg.

md
![TriPico PSU - complete build](docs/pictures/overview_complete_build.jpg)

🎯 How It Works

The Pico firmware regulates 3 channels independently, continuously reads voltage/current through dual INA3221 sensors, and streams measurements over serial at 115200 baud. On the computer side, you have two modes:

  • Interactive GUI mode — real-time control and monitoring with live voltage/current charts
  • YAML automation mode — scripted sweeps, static test runs, CSV export, and optional plots

🚀 Build And Run (Step By Step)

1) Build The Hardware

Picture Insertion Block: Build Steps Collage

Add one image showing PCB + panel + enclosure parts before assembly.

md
![Hardware build steps](docs/pictures/build_steps_collage.jpg)
  1. Open the KiCad files and fabricate/assemble the PCB.
  2. Build the front panel/enclosure from the provided enclosure assets.
  3. Wire the panel elements (switches, relays, connectors, LEDs) to the PCB.

Detailed files and notes are in hardware/README.md.

2) Flash The Pico Firmware

Picture Insertion Block: Pico Flashing

Show your firmware upload workflow or MicroPython file layout.

md
![Firmware flashing workflow](docs/pictures/pico_firmware_upload.jpg)
  1. Copy all files from the firmware folder to the Pico:
    • config.py
    • device.py
    • ina3221.py
    • main.py
  2. Reboot the board and verify serial output appears.

Firmware details are in firmware/README.md.

3) Set Up The Computer Software

Picture Insertion Block: Software Setup

Optional terminal screenshot after successful dependency install.

md
![Host software setup](docs/pictures/software_setup_terminal.jpg)
  1. Create a Python virtual environment.
  2. Install dependencies from software/requirements.txt.
  3. Configure software/tripico-psu_config.yaml for your serial port and calibration folder.

Software details are in software/README.md.

4) Use It

Picture Insertion Block: First Run

Add one screenshot with the GUI connected and channels active.

md
![First successful run](docs/pictures/first_run_connected_gui.jpg)
  • GUI mode (interactive bench use):

    • Run software/tripico-psu_gui.py
    • Connect to the Pico
    • Set channel mode (V or mA), setpoint, and max power
  • YAML mode (automation and characterization):

    • Run software/tripico-psu_run_yaml.py with one YAML recipe from software/examples
    • Capture sweeps/static runs to CSV and optional plots

📊 Typical Practical Uses

Standalone power supply behavior

Picture Insertion Block: Power Supply Mode

md
![Power supply mode example](docs/pictures/mode_power_supply.jpg)
  • Set channels in voltage or current mode
  • Apply max-power protection per channel
  • Monitor live values and status (regulation/saturation/alerts)

Digital voltmeter/ammeter style usage

Picture Insertion Block: Meter Mode

md
![Voltmeter ammeter mode example](docs/pictures/mode_meter.jpg)
  • Use one or more channels as sensing points
  • Observe time-series voltage/current in the GUI
  • Switch measurement range from the front panel selector

Curve tracer usage

Picture Insertion Block: Curve Tracer Plot

md
![Curve tracer example plot](docs/pictures/mode_curve_tracer_plot.jpg)
  • Define nested sweeps in YAML (for example transistor curves)
  • Plot I-V behavior in real time
  • Export data for offline analysis

Example Screens

Current Status

This repository already contains working code and build assets. Hardware assembly details are intentionally partial and should be completed with your own wiring/BOM documentation as you finalize your build.

Parts

41
QtyValueFootprintReferences
81kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR1, R3, R5, Rled_usb1, RledOL1, RledOL2, RledOL3, RledRange1
31000uCapacitor_THT:CP_Radial_D16.0mm_P7.50mmC4, C5, C6
310kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR2, R4, R6
322uCapacitor_THT:CP_Radial_D5.0mm_P2.00mmC1, C2, C3
3BS170Package_TO_SOT_THT:TO-92_InlineQ1, Q4, Q7
3TIP41CPackage_TO_SOT_THT:TO-220-3_VerticalQ2, Q5, Q8
3TIP42CPackage_TO_SOT_THT:TO-220-3_VerticalQ3, Q6, Q9
2Conn_01x02_PinConnector_JST:JST_PH_B2B-PH-K_1x02_P2.00mm_VerticalCon_Ext_V1, Con_Main_Switch1
2Conn_01x04_PinConnector_JST:JST_PH_B4B-PH-K_1x04_P2.00mm_VerticalCon_LED_panel1, Con_OL_led1
2Conn_01x05_PinConnector_JST:JST_PH_B5B-PH-K_1x05_P2.00mm_VerticalCon_PP_led1, Con_Relays1
2~custom_footprints:INA3221_on_PCBINA3221onPCB1, INA3221onPCB2
12kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P2.54mm_VerticalRpulldown1
1300Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalRLed_PP1
15kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalRled_ext1
1Conn_01x03_PinConnector_JST:JST_PH_B3B-PH-K_1x03_P2.00mm_VerticalCon_Outputs1
1Conn_01x06_PinConnector_JST:JST_PH_B6B-PH-K_1x06_P2.00mm_VerticalCon_Range_Sw1
1LM324Package_DIP:DIP-14_W7.62mm_Socket_LongPadsU1
1RaspberryPi_Picocustom_footprints:RaspberryPi_Pico_THT_NoAntennaA1

Similar boards

  • 2 layers135.9 × 47 mmSolar tracker, the printed circuit board in 3D

    Solar tracker

    joe-skb7/solar-tracker-pcb

    PCB for simple analog solar tracker

    30 parts6GPL-3.0
  • 2 layers89.2 × 62.1 mmDce pcb v1, the printed circuit board in 3D

    Dce pcb v1

    DeniseViltes/dce-g5-proyecto_integrador

    FIUBA - Electrónica - Taller de Diseño de Circuitos Electrónicos -Proyecto de diseño: Sistema de alimentación para aplicaciones industriales y automotrices

    59 parts1
  • 2 layers94.5 × 67.6 mmAtmegaStepperDriver, the printed circuit board in 3D

    AtmegaStepperDriver

    eGuardianDev/atmegaStepperDriver

    Open source stepper driver powered by atmega328p chip. First prototype designed for used in 3D printer.

    102 parts2GPL-3.0
  • 2 layers120 × 120 mmA1 Main Board, the printed circuit board in 3D

    A1 Main Board

    D-LCR/A1_Main-Board

    LCR Meter Analogue Main Board

    217 parts
  • 2 layersTone Master, the printed circuit board in 3D

    Tone Master

    EvansCesilThomas/Tone_Controls_and_Sampling

    3-in-1 (Overdrive, Distortion, Fuzz) effects for guitar (PCB is WIP) Proposed realtime audio sampling and pitch-sihting for a synthesizer functionality (WIP)

    70 parts
  • 2 layers60 × 40 mmPi psu, the printed circuit board in 3D

    Pi psu

    grahamseamans/pi-psu

    A 5V linear power supply designed for Raspberry Pi and similar devices.

    21 parts
  • 2 layers365 × 220 mmPss, the printed circuit board in 3D

    Pss

    pascalguttmann/obat-powersupplysink

    Obat KiCAD Project for PowerSupply Sink

    621 partsMIT

Questions

How big is the Tripico psu PCB?

It measures 103.5 × 65.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Tripico psu use?

41 parts, built around the LM324, BS170, TIP41C and TIP42C. 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 Tripico psu KiCad files?

From the bluesyann/tripico-psu repository on GitHub, at the commit this page was made from: the board is hardware/kicad/tripico-psu.kicad_pcb and its schematic hardware/kicad/tripico-psu.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Tripico psu design in my own project?

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