Skip to the content
2 layers22 × 20.8 mmFan, the printed circuit board in 3D

Add paths to your bash/zsh rc for convenience

Size
22 × 20.8 mm
Copper layers
2
Thickness
1.6 mm
Parts
7
Nets
6
Pads
17
Tracks, vias
21, 0
Pours
1
Routed
Yes
KiCad
KiCad 9.0 (file 20241129)
Created
13 Aug 2024
Updated
18 Dec 2025

Overview

Fan is an open-source printed circuit board by stanislavstarcha, from the stanislavstarcha/powerbox repository on GitHub. It is a 2-layer board of 22 × 20.8 mm with 7 parts on 6 nets, routed with 21 tracks and 0 vias.

Its parts include 2 resistors, 1 capacitor, 1 diode and 1 transistor.

README

README.md

Install and run firmware

Add paths to your bash/zsh rc for convenience

shell
export POWERBOX_HOME=$HOME/powerbox
export LVGL_HOME=$HOME/lvgl_micropython
shell
mkdir $POWERBOX_HOME
cd $POWERBOX_HOME
git clone https://github.com/stanislavstarcha/powerbox .

Install LVGL micropython

shell
mkdir $LVGL_HOME
cd $LVGL_HOME
git clone https://github.com/lvgl-micropython/lvgl_micropython .

Copy fonts

shell
cd $POWEBOX_HOME
cp ./resources/fonts/Roboto-Black.ttf $LVGL_HOME/lib/lvgl/scripts/built_in_font
cp ./resources/fonts/Roboto-Regular.ttf $LVGL_HOME/lib/lvgl/scripts/built_in_font
cp ./resources/fonts/Material-Sharp-28.ttf $LVGL_HOME/lib/lvgl/scripts/built_in_font

Build fonts

Modify $LVGL_HOME/lib/lvgl/scripts/built_in_font/generate_all.py and add

python
print("\nGenerating 12 px Roboto Ukrainian")
os.system("lv_font_conv --no-compress --no-prefilter --bpp 2 --size 12 --font Roboto-Regular.ttf --format lvgl -o lv_font_roboto_12.c -r 0xB0,0x20-0x22,0x25,0x27-0x40,0x5B-0x5F,0x7B-0x7D,0xA0,0xA7,0xA9,0xAB,0xBB,0x2BC,0x404,0x406-0x407,0x410-0x429,0x42C,0x42E-0x449,0x44C,0x44E-0x44F,0x454,0x456-0x457,0x490-0x491,0x2011,0x2013,0x2019,0x201C,0x201E,0x2030,0x20AC,0x2116")

print("\nGenerating 24 px Glyphs")
os.system("lv_font_conv --no-compress --no-prefilter --bpp 2 --size 24 --font Material-Sharp-28.ttf --format lvgl -o lv_font_material_24.c -r 0xEAC3,0xEAC9,0xEAD0,0xEACF,0xE000,0xe1a7,0xe1a8,0xf156,0xE7EE,0xe5d3,0xe322,0xe87d")

print("\nGenerating 24 px Roboto")
os.system("lv_font_conv --no-compress --no-prefilter --bpp 2 --size 26 --font Roboto-Black.ttf --format lvgl -o lv_font_roboto_24.c -r 0x20,0x30-0x39,0x412,0x442")

print("\nGenerating 120 px Roboto")
os.system("lv_font_conv --no-compress --no-prefilter --bpp 2 --size 120 --font Roboto-Black.ttf --format lvgl -o lv_font_roboto_120.c --symbols 0123456789%")

and then build the fonts

shell
cd $LVGL_HOME/lib/lvgl/scripts/built_in_font
python generate_all.py

Modify headers

Open $LVGL_HOME/lib/lvconf.h

Set to 0 (disable) all #define LV_FONT_MONTSERRAT_* and define custom fonts built earlier.

text
#define LV_FONT_MONTSERRAT_14 0
...

#define LV_FONT_CUSTOM_DECLARE LV_FONT_DECLARE(lv_font_roboto_12) LV_FONT_DECLARE(lv_font_roboto_24) LV_FONT_DECLARE(lv_font_roboto_120) LV_FONT_DECLARE(lv_font_material_24)

#define LV_FONT_DEFAULT &lv_font_roboto_12

Build firmware

shell
cd $LVGL_HOME
python make.py esp32 BOARD=ESP32_GENERIC_S3 DISPLAY=ILI9488 \
FROZEN_MANIFEST=$POWERBOX_HOME/manifest.py BOARD_VARIANT=SPIRAM_OCT \
--flash-size=16 \ 
--ota

Flash firmware

Connect ESP32-S3 to USB and find the port ls /dev/tty*

A typical serial port should look like this

  • /dev/tty.usbmodem11101
  • /dev/cu.usbserial-0001
  • /dev/tty.usbmodem1234561

Note: On MacOS you may need a CH34xVCPDriver that would create a new port like /dev/tty.wchusbserial59710258441

shell
cd $LVGL_HOME

python -m esptool --chip esp32s3 -p /dev/tty.wchusbserial59710258441 \
-b 460800 --before default_reset --after hard_reset write_flash \
--flash_mode dio --flash_size 16MB --flash_freq 80m --erase-all \
0x0 /Users/stasstarcha/workspace/lvgl_micropython/build/lvgl_micropy_ESP32_GENERIC_S3-SPIRAM_OCT-16.bin

Build release

Specify the version and run the command to produce bin and json files that should be attached to a release on GitHub.

shell
cd $POWEBOX_HOME
python scripts/release.py --version=0.10.0 \
--path=$LVGL_HOME/lib/micropython/ports/esp32/build-ESP32_GENERIC_S3-SPIRAM_OCT/micropython.bin \
--output=../build

Development mode

During development, it's easier to update files one by one.

shell
python initialize.py \
--baud_rate 115200 \
--port /dev/cu.usbserial-0001

Parts

7
QtyValueFootprintReferences
2Conn_01x03_SocketConnector_JST:JST_PH_B3B-PH-K_1x03_P2.00mm_VerticalFAN1, INV1
110kResistor_SMD:R_1206_3216MetricR2
110uCapacitor_SMD:C_1210_3225MetricC1
11kResistor_SMD:R_1206_3216MetricR1
1D_ZenerDiode_THT:D_5W_P12.70mm_HorizontalD1
1PMOSPackage_TO_SOT_SMD:SOT-23Q1

More from stanislavstarcha/powerbox

3
  • 2 layers94 × 70 mmCore, the printed circuit board in 3D

    Core

    stanislavstarcha/powerbox

    Add paths to your bash/zsh rc for convenience

    77 parts
  • 2 layers40 × 70 mmUvp, the printed circuit board in 3D

    Uvp

    stanislavstarcha/powerbox

    Add paths to your bash/zsh rc for convenience

    53 parts
  • 2 layers44 × 64 mmBooster, the printed circuit board in 3D

    Booster

    stanislavstarcha/powerbox

    Add paths to your bash/zsh rc for convenience

    41 parts

Similar boards

  • 2 layersEncoder, the printed circuit board in 3D

    Encoder

    byrantech/laptop

    anyon_e, a highly integrated, high end, open source laptop. Attempt the impossible.

    7 parts4.3kMIT
  • 2 layers40 × 20 mmSensor smd, the printed circuit board in 3D

    Sensor smd

    scottbez1/splitflap

    DIY split-flap display

    7 parts4.2k
  • 2 layers19.8 × 30 mmZ limit, the printed circuit board in 3D

    Z limit

    opulo-inc/lumenpnp

    The LumenPnP is an open source pick and place machine.

    7 parts3.7k
  • 2 layers35.6 × 58.2 mmDisplay Carrier, the printed circuit board in 3D

    Display Carrier

    AxxAxx/AxxSolder

    STM32 Based soldering station for JBC cartridges, 9-24 VDC and USB-PD power

    7 parts1.7kGPL-3.0
  • 2 layers20.3 × 16.3 mmMap MPX, the printed circuit board in 3D

    Map MPX

    rusefi/rusefi

    rusefi - GPL internal combustion engine control unit

    7 parts1.2k
  • 2 layers26 × 44 mmCompact carrier board, the printed circuit board in 3D

    Compact carrier board

    jamro/tiny-engineer

    A small desktop robot that brings an AI coding assistant to life, physically acting out when it reads files, thinks, writes code, and finishes work.

    7 parts1.1k
  • 2 layers26.4 × 53.8 mmAtari pickup, the printed circuit board in 3D

    Atari pickup

    hoglet67/RGBtoHDMI

    Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

    7 parts1kGPL-3.0
  • 2 layersRj45 breakout, the printed circuit board in 3D

    Rj45 breakout

    rene-dev/stmbl

    AC Servo Driver for STM32F4

    7 parts990GPL-3.0

Questions

How big is the Fan PCB?

It measures 22 × 20.8 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Fan use?

7 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 Fan KiCad files?

From the stanislavstarcha/powerbox repository on GitHub, at the commit this page was made from: the board is resources/pcba/fan/fan.kicad_pcb and its schematic resources/pcba/booster/booster.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Fan design in my own project?

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