This project is a voltage and current meter based on the CW32 microcontroller, featuring voltage and current detection and calibration functions.
## Project Functionality This design is a voltage and current meter based on the CW32 microcontroller; it has three independent buttons with functions of setting, calibration, and return, enabling voltage and current detection and calibration.
## Project Parameters
* This design uses the LCSC CW32 development board as the main controller, utilizing the chip's built-in ADC for sampling. * This design uses a 0.96-inch OLED LCD display. The first line displays the voltage and current meter readings, the second line displays the voltage value in mV, the third line displays the current value in mA, and the fourth line displays the current mode. * This design uses an LDO as the power supply. Considering that most voltage meter products are used in industrial scenarios with 24V or 36V power supplies, this project selected the SE8550K2 with a maximum input voltage of up to 40V as the power supply. The main reason for not using a DC-DC step-down circuit to handle large voltage drops in this project is to avoid introducing DC-DC ripple interference during the design process; a secondary reason is to reduce project costs. * This design uses a low-side current sampling circuit for current detection. The low-side of the sampling circuit shares a common ground with the development board's meter interface. The designed sampling current is 3A, and the selected sampling resistor (R0) is 100mΩ. * This design uses a voltage divider circuit to achieve high voltage acquisition. The designed voltage acquisition voltage is 100V, and the current configuration is 0-30V. * This project additionally adds a TL431 circuit to provide a 2.5V reference voltage, which can be used to provide an external voltage reference for the chip to calibrate the AD converter.
## Physical Diagram
Voltmeter and Ammeter.mp4
PDF_VCMonitor.zip
Altium_VCMonitor.zip
PADS_VCMonitor.zip
BOM_VCMonitor.xlsx
92941
electronic