Ttf01uK9

CW32 Voltage and Current Meter

 
Overview

This project is a voltage and current meter based on the CW32 microcontroller. It 's part of the first phase of the Jiali Innovation training camp.
The design uses the CW32F030C8T6 development board and features three independent buttons: K1 to switch display modes, K2 to set parameter values ​​for the corresponding mode, and K3 to return to mode 0.
The project
defines five working modes. K1 switches between display modes, K2 sets the parameter values ​​for the corresponding mode and saves them to FLASH, and K3 returns to mode 0.
Mode 0: Displays normal voltage and current values ​​(the upper digital tube displays the voltage value in .V or .V automatically, the lower tube displays the current value in _.**A).
Mode 1: 5V voltage calibration setting. The upper digital tube displays 5.05. The lower tube displays the current voltage value in _.V or ._V. In this mode, the multimeter should be set to 5.00V. Pressing K2 calibrates the current value to 5V.
Mode 2: 15V Voltage Calibration Setting. The top row of the digital display shows 5.15. The bottom row shows the current voltage value in _V or ._V. In this mode, the multimeter should be set to 15.0V when measuring the measured bit. Pressing the K2 key will calibrate the current value to 15V.
Mode 3: 0.5A Current Calibration Setting. The top row of the digital display shows A.0.5. The bottom row shows the current current value in _.**A. Pressing the K2 key will calibrate the current value to 0.5A.
Mode 4: 1.5A Current Calibration Setting. The top row of the digital display shows A.1.5. The bottom row shows the current current value in *.**A. Pressing the K2 key will calibrate the current value to 1.5A.
Principle Analysis (Hardware Description):
Refer to the Bilibili tutorial video [Step-by-Step Guide to Making a Voltage and Current Meter: 1.1 Hardware - Power Supply Circuit - LDO Single-Channel Design Analysis] https://www.bilibili.com/video/BV1mw4m1r7Er?vd_source=06b170bd8d90a8749e0f427601c7069f
Software Code
: Refer to the Bilibili tutorial video [Step-by-Step Guide to Making a Voltage and Current Meter: 1.1 Software - Quick Start - LED Driver] https://www.bilibili.com/video/BV1Fw4m1C7db?vd_source=06b170bd8d90a8749e0f427601c7069f
Note:
Do not solder R0 before the end of the experiment.
参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2026-03-27 22:25:30

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号