UIPE 1.47-inch Full-Screen C2C Voltmeter
Project Introduction:
This project involves creating a voltage/current/power/energy meter codenamed 【UIPE】, utilizing services from LCSC PCB/SMT/3D printing/panel manufacturing.
(bilibili video link

) Project Features
: High-precision current detection: 0.1mA level accuracy current detection, suitable for energy assessment of low-power devices with energy consumption requirements.
Wide power range: 100W power range to meet the different power supply needs of various devices.
PD spoofing function: Supports PD spoofing, providing adjustable output from 3.3V to 20V.
Multiple outputs: Includes USB-C and a 2mm banana output interface, suitable for powering various devices.
HMI touch interaction: Intuitive human-machine interface for touch operation to control and adjust the device.
Wireless function: Can be used as a smart home controller, connecting and controlling smart home platforms such as Home Assistant.
Expandable function: Supports expandable functions, can be used as a portable handheld device to meet application needs in mobile scenarios.
Small Size: The design is harmonious, and the compact size makes it easy to carry and place. Project Parameters:
Component
Specification:
Main Chip:
ESP32-S3FH4R2
; Display:
1.47-inch TFT touchscreen, 172x320 resolution, OK-14F024-04 BTB
button
; Boot button, RST reset button;
Slide switch:
USB toggle switch to select whether to connect to ESP32's USB;
Sound
: 4020 packaged buzzer;
Digital Power Monitor:
INA228AIDGST;
Expansion Storage:
Micro SD card slot;
USB Type-C Controller:
FUSB302BUCX;
Triaxial Accelerometer:
LIS2DW12TR;
Input Interface:
USB-C (5A connector, orange pin);
Output Interface:
USB-C (5A connector, orange pin), M2 banana plug; Independent Input/Output Control:
DC
5V~20V;
Extended IO
: Rear pads for power and I/O;
Device Dimensions:
46x25.8x11.5mm;
Device Weight
: 16g;
Design Principles:
Hardware Block Diagram

: PCB'A Front and back
finished board thickness: 1mm
Number of board layers: 4 layers
Required impedance: JLC04101H-7628 (general/finished board thickness 1.02mm±10%) Structural
board size: 41.5 * 21.5 mm


3D schematic

Component
Specification
Hex self-tapping screws
M1.7 x 4
Acrylic backplate
transparent acrylic, bottom surface, 0.5mm, 3M468 (fully transparent waterproof), 260x180mm
2mm banana plug connector
K2 step socket
Software description
Visual Studio Code + PlatformIO development environment


Project code hierarchy
UIPE_CC_CODE
│
├── .pio
├── .vscode
├── include
├── lib
├── src # Source code file directory
│ ├── components # Component module, containing touch function module code
│ ├── hal # Hardware abstraction layer, encapsulating hardware-related operations
│ ├── image # Graphical Resources
│ ├── ui # User interface related code
│ ├── config.h # Configuration header file, used to define global configurations, Wi-Fi SSID, etc.
│ ├── main.cpp # Main program file, program entry point.
│ └── main.h # Header file for the main program.
Libraries required for the project
: |-- GFX Library for Arduino @ 1.4.6
|-- NTPClient @ 3.2.1
|-- FUSB302 PD UFP sink @ 0.1.0
|-- Adafruit MLX90640 @ 1.1.1
|-- Adafruit BusIO @ 1.16.1
|-- Adafruit INA228 Library @ 1.1.0
|-- PubSubClient @ 2.8.0
|-- WiFi @ 2.0.0
|-- SD_MMC @ 2.0.0
|-- SPI @ 2.0.0
|-- TouchLib @ 0.0.2
|-- Wire @ 2.0.0
|-- lvgl @ 8.3.11 Notes
on physical demonstration : This project contains two 0201 components and one BGA component. Please evaluate carefully before replicating. Cost reference : Standard version, Simplified version




PCB'A
¥66
¥55 (No triaxial mount/buzzer/antenna/TF card slot)
Screen
¥15
¥15
Shell
¥24
¥4 (Unpainted)
Acrylic
¥1
None
Total
¥106
¥74