

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.mdInstall and run firmware
Add paths to your bash/zsh rc for convenience
export POWERBOX_HOME=$HOME/powerbox
export LVGL_HOME=$HOME/lvgl_micropythonmkdir $POWERBOX_HOME
cd $POWERBOX_HOME
git clone https://github.com/stanislavstarcha/powerbox .Install LVGL micropython
mkdir $LVGL_HOME
cd $LVGL_HOME
git clone https://github.com/lvgl-micropython/lvgl_micropython .Copy fonts
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_fontBuild fonts
Modify $LVGL_HOME/lib/lvgl/scripts/built_in_font/generate_all.py and add
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
cd $LVGL_HOME/lib/lvgl/scripts/built_in_font
python generate_all.pyModify headers
Open $LVGL_HOME/lib/lvconf.h
Set to 0 (disable) all #define LV_FONT_MONTSERRAT_*
and define custom fonts built earlier.
#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_12Build firmware
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 \
--otaFlash 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
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.binBuild release
Specify the version and run the command to produce bin and json files that should be attached to a release on GitHub.
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=../buildDevelopment mode
During development, it's easier to update files one by one.
python initialize.py \
--baud_rate 115200 \
--port /dev/cu.usbserial-0001Parts
7| Qty | Value | Footprint | References |
|---|---|---|---|
| 2 | Conn_01x03_Socket | Connector_JST:JST_PH_B3B-PH-K_1x03_P2.00mm_Vertical | FAN1, INV1 |
| 1 | 10k | Resistor_SMD:R_1206_3216Metric | R2 |
| 1 | 10u | Capacitor_SMD:C_1210_3225Metric | C1 |
| 1 | 1k | Resistor_SMD:R_1206_3216Metric | R1 |
| 1 | D_Zener | Diode_THT:D_5W_P12.70mm_Horizontal | D1 |
| 1 | PMOS | Package_TO_SOT_SMD:SOT-23 | Q1 |
More from stanislavstarcha/powerbox
3Similar boards
- 2 layers

Encoder
byrantech/laptop
anyon_e, a highly integrated, high end, open source laptop. Attempt the impossible.
7 parts4.3kMIT - 2 layers40 × 20 mm

- 2 layers19.8 × 30 mm

- 2 layers35.6 × 58.2 mm

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 mm

- 2 layers26 × 44 mm

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 mm

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 layers

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.

