Skip to the content
2 layers68 × 91.5 mmPcbfrfr, the printed circuit board in 3D

Pump

Size
68 × 91.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
36
Nets
78
Pads
181
Tracks, vias
444, 25
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
10 Jan 2025
Updated
23 Aug 2025

Overview

Pcbfrfr is an open-source printed circuit board by nfranzwa, from the nfranzwa/OscillatingPump repository on GitHub, published under the Apache-2.0 licence. It is a 2-layer board of 68 × 91.5 mm with 36 parts on 78 nets, routed with 444 tracks and 25 vias.

It is built around the AP63203WU, AP63205WU and SS24, with the US2AA among its other parts. Its parts include 20 connectors, 10 capacitors, 2 ICs, 2 diodes and 2 inductors.

Main components

4

README

README.md

UCSD MAE 156 Capstone Project

Link to UCSD Capstone Project Overview https://sites.google.com/eng.ucsd.edu/mae156b-2025winter-team06

The provided code was developed using Arduino IDE and the Platform.io extension on VS Code. While it is possible to flash/deploy our software to an ESP32 through other means, we heavily recommend the two for ease of installing dependencies and following subsequent instructions.

Setup

In order to flash the GPIO ESP or Web ESP, first make a local copy of the most recent version of this repository by clicking <Code> and either:

  • Copying and running the command in terminal (requires github cli installation or git)
  • Opening through Github Desktop (requires installing the Github Desktop app)
  • Downloading and extracting the code from a .zip file

The next steps assume you have a local copy of the provided code.

Installing Libraries

GPIO ESP

Click the Platform IO icon on the left edge of VS Code, then navigate to Quick Access > PIO Home > Projects & Configuration.

image

Select Add Existing.

image

Navigate to the directory drive/path/to/repository/OscillatingPump/ESP32_CTRL and select Open "ESP32_CTRL.

image

Shortly, Platform IO should be setting up the project according to the platform.ini file in the selected folder, most importantly installing libraries that are used in the project.

Web ESP

Open the Arduino sketch named webesp.ino located in /WebappCode/webesp/webesp/.

Navigate to the library manager.

image

Search for and install the following libraries:

  • Arduino_JSON by Arduino
  • Async TCP by ESP32Async
  • ESP Async WebServer by ESP32ASync
  • EspSoftwareSerial by Dirk Kaar, Peter Lerup

In the top menu, Navigate to Sketch > Include Library, and include the following:

  • WiFi
  • LittleFS

image

The next step is to install ESP32 LittleFS uploader to the Arduino IDE.

Go to [[https://github.com/earlephilhower/arduino-littlefs-upload/releases]] and download the latest version of arduino-littlefs-upload-x.x.x.vsix.

Windows:

  1. In File Explorer, navigate to C:\Users\<username>\.arduinoIDE\
  2. Create a folder called plugins if it doesn't already exist.
  3. Move the downloaded .vsix file into this folder.

Mac OS:

  1. In Finder, navigate to ~/.arduinoIDE
  2. Create a new folder called plugins
  3. Move the downloaded .vsix file into this folder.

Restart the Arduino IDE, and make sure the plug-in was successfully installed by opening the command palette with Ctrl/Cmd + Shift + P and ensuring Upload LittleFS to Pico/ESP8266/ESP32 is an available command.

Uploading/Deploying code to the ESP32's

With the environments and libraries set up, one can compile and deploy the code through the following procedures.

GPIO ESP

On the bottom bar, ensure that the Platform IO project is ESP32_CTRL and you are deploying to the right COM port (leave as Auto unless multiple ESP's are connected to same computer).

image

The code will be compiled and deployed to the ESP32 when pressing the → button.

  • one can also compile the code without deploying by pressing the ✓ button.

A new terminal should open within VS Code, displaying compile messages. When the terminal says Connecting... Press and hold the Boot button on the ESP until the terminal shows that code is being written to the ESP32.

Web ESP

First, Go to Sketch > Show Sketch Folder and ensure that the data/ folder from our repository is there. This contains files that are to be uploaded to the ESP32 filesystem.

Open the command palette and run Upload LittleFS to Pico/ESP8266/ESP32.

After getting a Completed upload message, compile and deploy the sketch to the ESP32 by pressing the → button.

  • one can also compile the code without deploying by pressing the ✓ button.

When the terminal says Connecting... Press and hold the Boot button on the ESP until the terminal shows that code is being written to the ESP32.

Troubleshooting code

If the ESP's are consistently not behaving as expected, we provide debugging statements through Serial Monitors, which can be accessed through the Command Palette of both VS Code and Arduino IDE.

Issues to check may include whether an ESP is:

  • constantly restarting (stuck in a boot loop)
  • unable to communicate through serial with the other ESP
  • some particular features are not behaving as expected
  • error codes being thrown by an ESP

The GPIO ESP has an ongoing task that reads the Serial port between the computer and ESP, providing the user with the following inputs and features:

User InputFeature
debugtoggles debugging statements for Serial communication between ESPs
cal debugtoggles debugging statements for during calibration
wave debugtoggles debugging statements for wave generation
show pmprints out the current pressure map vector
m:#.## M:#.##manually overwrite the target min and max pressure
c:#manually overwrite the calibration state

Parts

36
QtyValueFootprintReferences
7Conn_01x04_PinConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ6, J8, J9, J12, J13, J14, J15
5Conn_01x05_PinConnector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ1, J11, J16, J17, J18
422 uFCapacitor_SMD:C_0805_2012MetricC3, C4, C9, C10
4Conn_01x19_SocketConnector_PinHeader_2.54mm:PinHeader_1x19_P2.54mm_VerticalJ3, J4, J5, J7
20.1 uFCapacitor_SMD:C_0402_1005MetricC6, C7
2100 nFCapacitor_SMD:C_0402_1005MetricC2, C8
110 uFCapacitor_THT:CP_Radial_D4.0mm_P1.50mmC1
11000 uFCapacitor_THT:CP_Radial_D10.0mm_P5.00mmC5
13.9 uHInductor_SMD:L_Changjiang_FXL0530L3
14.7 uHInductor_SMD:L_Changjiang_FXL0530L1
1AP63203WUPackage_TO_SOT_SMD:TSOT-23-6U1
1AP63205WUPackage_TO_SOT_SMD:TSOT-23-6U2
1Barrel_Jack_SwitchConnector_BarrelJack:BarrelJack_CLIFF_FC681465S_SMT_HorizontalJ10
1SS24Diode_SMD:D_SMAD3
1US2AADiode_SMD:D_SMAD2
1batteryConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ2
1estopConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ22
1mtrConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ21

More from nfranzwa/OscillatingPump

1
  • 4 layers59 × 34.5 mmPump controller, the printed circuit board in 3D

    Pump controller

    nfranzwa/OscillatingPump

    Pump

    53 parts2Apache-2.0

Similar boards

  • 4 layers100 × 100 mmArtnet node poe, the printed circuit board in 3D

    Artnet node poe

    Tommie1236/artnet-node-poe

    134 partsMIT
  • 2 layers130.8 × 134.4 mmMyFirstBuck, the printed circuit board in 3D

    MyFirstBuck

    ManveerA/Buck_Converter_PCB

    Repository for Buck Converter PCB design project for ELEC-4450 Power Electronics.

    50 parts1
  • 2 layers130.8 × 147.6 mmBuck Converter, the printed circuit board in 3D

    Buck Converter

    adamino-moss/adams-buck

    46 parts
  • 2 layers143.5 × 129.5 mmBuck PCB, the printed circuit board in 3D

    Buck PCB

    CollinObrien1/Custom-Buck-Converter

    Custom Buck PCB for Power Electronics

    49 parts
  • 2 layersKeyPad PCB, the printed circuit board in 3D

    KeyPad PCB

    PrintBot-Studio/3D-Printed-Arduino-based-Keypad

    21 parts
  • 2 layers48.1 × 24.8 mmMotor driver, the printed circuit board in 3D

    Motor driver

    zeph-bit/motor_driver

    A simple motor driver circuit.

    20 partsMIT
  • 2 layers100 × 73.9 mmSecurity Alarm Panel, the printed circuit board in 3D

    Security Alarm Panel

    Matyas604/Security-Alarm-Panel

    Home Assistant Smart Home Alarm Control Panel with fingerprint reader, NFC/RFID card reader, motion radar, and touchscreen TFT display. It can control your smart home, not just your home security system.

    132 parts1GPL-3.0

Questions

How big is the Pcbfrfr PCB?

It measures 68 × 91.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Pcbfrfr use?

36 parts, built around the AP63203WU, AP63205WU, SS24 and US2AA. 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 Pcbfrfr KiCad files?

From the nfranzwa/OscillatingPump repository on GitHub, at the commit this page was made from: the board is KiCad/pcbfrfr/pcbfrfr.kicad_pcb and its schematic KiCad/pcbfrfr/pcbfrfr.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Pcbfrfr design in my own project?

Its repository publishes it under the Apache-2.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).