Note: * is a required field,
please fill it out during the registration stage↓
* 1. Project function introduction
There are already a wide variety of power meter projects on the open source platform, but the functions are relatively few, so I thought of making a full-function power meter.
Its functions include but are not limited to: real-time voltage and current monitoring, PD charging protocol viewing, PD deception, power ripple monitoring, and external modules can be upgraded to realize electronic load, thermal imager, CNC power supply and other functions in the future.
*2. Project attributes
open source
* 3. Open source protocol
CC-BY-NC-SA 3.0
Please fill it out during the competition stage↓
*4. Hardware part
Compared with the last open source power meter, this multi-function power meter has some hardware upgrades:

Upgraded part:
1. The screen is upgraded to a 2.0-inch high-definition color screen, which can display more information.
2. Support external independent power supply or power supply under test, switched by switch. When using external power supply, the accuracy is higher and supports lower voltage.
3. The button is replaced with a dial switch, which feels better.
Added part:
1. Added PD protocol chip, triggered by button, supports protocol viewing and PD deception.
2. Add ripple amplifier circuit to support power supply ripple viewing.
3. Set up 8P interface to support external electronic load, CNC power supply and other equipment in the future.
Hardware composition:
This project has many components, from top to bottom, they are screen, core control board, interface board, bottom board.
Core control board:
used to connect the screen, with single-chip microcomputer, dial switch, burning interface, etc.:
there is AT24CXX chip on it, which is used to store system settings.
The single-chip microcomputer can be connected to the computer with an independent power supply interface, and the voltage and current values can be viewed through the serial port. Try to develop the upper computer software in the future.

Interface board:
there are various interfaces, INA226 circuit, step-down circuit, deception circuit, ripple amplifier circuit:
the ripple amplifier circuit amplifies 6 times, and the ripple within 500mVpp can be viewed.
This interface board is connected to the core control board through a 10p FPC cable.

For detailed circuits, please go to EDA to view the project.
I think this 8P interface is the biggest upgrade and upgrade space for this project:

I feel that the 2.0-inch color screen and the powerful computing power of the single-chip microcomputer used in the project are a bit overkill if they are only used for the power meter, so I left this 6P interface and brought out two IO ports and a 5V power supply. An IIC interface can be continuously connected to external devices for upgrades in the future:
1. Connect the electronic load, this power meter is used to view the real-time power and control the electronic load
2. Connect the thermal imaging module, this module is used to read the thermal imaging data and display it on the high-definition color screen
3. Connect the CNC power supply, this power meter is used to view the real-time voltage and control the CNC power supply output,
etc.
Interface introduction:

In the upper part, the left side is voltage, current, and power. On the right side are the corresponding maximum value, range, resolution, etc.
The lower part is the real-time curve of voltage, current, and power.
In the ripple interface:

The lower part displays the ripple waveform and the ripple Fourier transform curve, as well as the ADC sampling frequency (adjustable), ripple amplitude, fundamental frequency, etc., which are clear at a glance.
*5. The software part
INA226 and other codes and firmware can be downloaded in the attachment area.

One of the improvements in the software is to realize automatic switching of the INA226 current range: switch to a small current range at low current to achieve more accurate resolution, and automatically switch to a large current range at high current.
*6. BOM list
*7. Competition LOGO verification

* 8. Demonstrate your project and record it into a video to upload
the video requirements: Please shoot horizontally, with a resolution of no less than 1280×720, in Mp4/Mov format, and a single video size limited to 100M;
video title: Lichuang Electric Competition: {Project Name}-{Video Module Name}; such as Lichuang Electric Competition: "Autonomous Driving"-Team Introduction.
More details: https://diy.szlcsc.com/posts/d76d9cb41705430e9a54e7a5feed07a5