The training camp project, a collaboration between LCSC and Wuhan Xinyuan Semiconductor, utilizes the LCSC CW32F030C8Tx development board. This eliminates the need to design a minimum system, replaces the original DC interface with a Type-C interface, and omits the LDO chip, making it more convenient. The connectors have also been modified for greater robustness and reliability, and components have been replaced with surface-mount packages.
Voltage measurement is DC 0-30V, and current measurement is 0-3A.
The hardware section primarily focuses on voltage and current sampling circuits.
The software implementation includes a continuously flashing LED indicator and a digital tube display of current and voltage. A calibration function is also included: defining five operating modes. The K1 key switches between display modes. The K2 key sets the parameter values for the corresponding mode and saves them to FLASH. The K3 key returns to mode 0.
Mode 0: Displays normal voltage and current values (the upper row of the digital tube displays the voltage value *.V or .*V automatically switching, the lower row displays the current value _.**A).
Mode 1: Sets the 5V voltage calibration value. Mode 1: Voltage 15V Calibration Setting. The top row of the digital tube displays 5.05. The next row displays the current voltage value in _V or ._V. In this mode, the multimeter should be set to 5.00V when measuring the measured bit. After pressing the K2 key, the current value is
calibrated to 5V. Mode 2: Voltage 15V Calibration Setting. The top row of the digital tube displays 5.15. The next row displays the current voltage value in _V or ._V. In this mode, the multimeter should be set to 15.0V when measuring the measured bit. After pressing the K2 key, the current value is calibrated to 15V.
Mode 3: Current 0.5A Calibration Setting. The top row of the digital tube displays A.0.5. The next row displays the current current value in _.**A. After pressing the K2 key, the current value is calibrated to 0.5A.
Mode 4: Current 1.5A Calibration Setting. The top row of the digital tube displays A.1.5. The next row displays the current current value in *.**A. Pressing the K2 key will calibrate the current value to 1.5A.
This is the core part of this training camp: calibration to improve the accuracy and precision of instruments or systems.