Skip to the content
2 layers40 × 70 mmUvp, the printed circuit board in 3D

Add paths to your bash/zsh rc for convenience

Size
40 × 70 mm
Copper layers
2
Thickness
1.6 mm
Parts
53
Nets
40
Pads
144
Tracks, vias
191, 18
Pours
4
Routed
Yes
KiCad
KiCad 9.0 (file 20241129)
Created
13 Aug 2024
Updated
18 Dec 2025

Overview

Uvp is an open-source printed circuit board by stanislavstarcha, from the stanislavstarcha/powerbox repository on GitHub. It is a 2-layer board of 40 × 70 mm with 53 parts on 40 nets, routed with 191 tracks and 18 vias.

It is built around the SN74LVC2G04DBVR and NE555D. Its parts include 23 resistors, 9 capacitors, 7 ICs, 5 transistors and 2 diodes.

Main components

2

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

53
QtyValueFootprintReferences
710kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR5, R7, R8, R10, R12, R14, R20
51kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR4, R11, R13, R18, R19
410kResistor_SMD:R_1206_3216MetricR21, R22, R23, R24
310uCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC1, C2, C3
31MResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR1, R9, R17
3500kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR6, R15, R16
210nCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC4, C6
21uCapacitor_SMD:C_1210_3225MetricC8, C9
2D_ZenerDiode_THT:D_5W_P12.70mm_HorizontalD1, D2
2NE555DPackage_SO:SOIC-8_3.9x4.9mm_P1.27mmU5, U6
2NMOSPackage_TO_SOT_SMD:SOT-23Q1, Q3
2PMOS 9301Package_TO_SOT_SMD:SOT-23Q4, Q5
2TL331Package_TO_SOT_SMD:SOT-23-5U3, U7
110kPotentiometer_THT:Potentiometer_Runtron_RM-063_HorizontalRV1
110uCapacitor_SMD:C_1210_3225Metric_Pad1.33x2.70mm_HandSolderC5
11uCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC7
1270kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR2
1FAN1Connector_JST:JST_PH_S3B-PH-K_1x03_P2.00mm_HorizontalIN1
1FAN2Connector_JST:JST_PH_S3B-PH-K_1x03_P2.00mm_HorizontalIN3
1INConnector_JST:JST_XH_S2B-XH-A_1x02_P2.50mm_HorizontalJ1
1INV FAN1Connector_JST:JST_PH_S3B-PH-K_1x03_P2.00mm_HorizontalIN2
1INV FAN2Connector_JST:JST_PH_S3B-PH-K_1x03_P2.00mm_HorizontalIN4
1L78L05_SOT89Package_TO_SOT_SMD:SOT-89-3U8
1LOADConnector_JST:JST_XH_S2B-XH-A_1x02_P2.50mm_HorizontalJ2
1PMOSPackage_TO_SOT_SMD:TO-252-2Q2
1REF3025Package_TO_SOT_SMD:SOT-23U1
1SN74LVC2G04DBVRSN74LVC2G04DBVR:SOT95P280X145-6NU4

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 layers44 × 64 mmBooster, the printed circuit board in 3D

    Booster

    stanislavstarcha/powerbox

    Add paths to your bash/zsh rc for convenience

    41 parts
  • 2 layers22 × 20.8 mmFan, the printed circuit board in 3D

    Fan

    stanislavstarcha/powerbox

    Add paths to your bash/zsh rc for convenience

    7 parts

Similar boards

  • 4 layers90 × 66 mmChassisBoard, the printed circuit board in 3D

    ChassisBoard

    SolarEnergyRacers/solar_car_control_system_v6

    solarenergyracers.ch - control system (AC, DC, MC), Documents

    71 parts
  • 2 layers100 × 100 mmZxevo1010 main, the printed circuit board in 3D

    Zxevo1010 main

    UzixLS/zxevo1010-board

    10x10cm PCB variant of ZX-Evolution project for G738/G706 enclosure

    252 parts26
  • 2 layers100 × 100 mmZxuno1010, the printed circuit board in 3D

    Zxuno1010

    UzixLS/zxuno1010-board

    10x10cm PCB variant of ZX-UNO project for G738/G706 enclosure

    233 parts23MIT
  • 2 layers99.9 × 43.2 mmGopher arcade, the printed circuit board in 3D

    Gopher arcade

    conejoninja/arcade

    Gopher Arcade

    14 parts7Apache-2.0
  • 4 layers57 × 27 mmCANRepIso, the printed circuit board in 3D

    CANRepIso

    icl-rocketry/Ricardo-CANRepeater

    CAN repeater, isolator and arbiter board

    82 parts1
  • 2 layers98 × 60 mmMOSFET Controller, the printed circuit board in 3D

    MOSFET Controller

    omarmustafa130/Logic-Controlled-LED-Driver-PCB

    115 parts
  • 4 layers63.5 × 63.5 mmIMU-2X, the printed circuit board in 3D

    IMU-2X

    frc971/electrical

    This repo contains the electrical files for the 971 FRC team. The files include PCBs and the electrical system diagrams. The PCBs are created using KiCad.

    125 parts3Apache-2.0
  • 6 layers220 × 100 mmMotion card placement, the printed circuit board in 3D

    Motion card placement

    DeadlySIn777/Controller

    Unfinished CNC controller motherboard: native KiCad sources, rules, DSN and global routing review

    203 parts

Questions

How big is the Uvp PCB?

It measures 40 × 70 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Uvp use?

53 parts, built around the SN74LVC2G04DBVR and NE555D. 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 Uvp KiCad files?

From the stanislavstarcha/powerbox repository on GitHub, at the commit this page was made from: the board is resources/pcba/uvp/uvp.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 Uvp design in my own project?

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