* 1. Project Function Introduction
Based on the National Technology N32G430C8L7 MCU, the USB power meter detects and displays the current, voltage at both ends of the power supply, and power through current sampling in real time. It supports TYPE-C-5V power supply, and leads to the MCU pins to facilitate the later expansion of different functional modules. There are many problems, and it can barely light up. It's the first time to learn, so just take a look!
*2. Project Properties
This is the first time to try open source design, and it's also the first time to do something really practical. Refer to the official schematic diagram and the development board of the National Technology N32G430C8L7 MCU. There are definitely deficiencies and areas worth improving in the project. If I have time, I will try my best to improve it. (This is the first time it has been made public, it is original, it has not won any awards, and it has not been defended)
* 3. Open source agreement
GPL 3.0 Open source agreement
* 4. Hardware part
(1) Main control circuit

(2) Reset, crystal oscillator, BOOT, debugging, 3.3 step-down circuit
(3) Current sampling, KEY, LED, pin circuit

(4) Voltage sampling, OLED screen circuit
* 5. Software part
The software is compiled using KEIL, debugged using PWLINK, and the official routines are used! During debugging, there are 4 boards and 5 MCUs, of which 4 MCUs can only be connected to the serial port once. 2 of them were flashed with the official HEX code given by the group members, and 2 of them were not flashed. After that, the serial port could not be connected and the connection failed all the time. The SDW port was connected using PWLINK, and the prompt interface was unavailable or an error was reported. And one of the boards was a specially welded minimum system directly connected to the serial port for testing: After welding, it was directly connected to the CH340G serial port, successfully flashed, powered off, disconnected BOOT0, powered on, and later connected to BOOT0 and connected to the serial port again, prompting failure and unable to connect again! The reason is unknown, and no other tasks were performed!
Thanks to group members: Big Glasses Ilikara Yunxi Mao Shiyu, the bad classmate next to me Yan Sen-R&D Mn Zhuzhu National Technology Li Mengmeng (although in the end, Engineer Li was forced by me to Baidu) and other big guys for their help!
In the end, there was no way to use the last board material. After welding, directly connect PWLINK to burn the latest code program under the official case, and successfully light up the screen.
*6. BOM list
*7. Competition LOGO verification

* 8. Physical verification

