WKWfq5g

Based on LCSC Diwenxing CW32 digital voltage and current meter

 
Overview
This schematic design explains
the software used.
Since I don't know how to write software, I used the software provided by juminut, and I would like to express my gratitude.
A pre-compiled hex file is attached at the bottom. It can be directly burned.
If you want to learn the code, the attached file (project.zip) contains the Keil software source code.
Five working modes are defined. The K1 key is used to switch display modes. The K2 key sets the parameter value for the corresponding mode and saves it 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 in .V or .V automatically switches,
the lower row displays the current value in _.**A). Mode 1: 5V voltage calibration setting. The upper row of the digital tube displays 5.05. The lower row displays the current voltage value in _.V or ._V. In this mode, the multimeter should be set to 5.00V to measure the measured bit. After pressing the K2 key, the current value is calibrated to 5V.
Mode 2: 15V voltage calibration setting. The upper row of the digital tube displays 5.15. The next row displays the current voltage value as _.V or ._V. In this mode, the multimeter should be set to 15.0V when measuring the measured part. Pressing the K2 key will calibrate the current value to 15V.
Mode 3: Current 0.5A calibration setting. The upper row of the digital display shows A.0.5. The next row displays the current current value as _.**A. Pressing the K2 key will calibrate the current value to 0.5A.
Mode 4: Current 1.5A calibration setting. The upper row of the digital display shows A.1.5. The next row displays the current current value as *.**A. Pressing the K2 key will calibrate the current value to 1.5A.
Learning video: https://www.bilibili.com/video/BV1Fw4m1C7db/?spm_id_from=333.788&vd_source=66ea5d947e141827003216742d914809
Software author link: https://oshwhub.com/juminut/voltage-ammeter-7347744a
参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2026-03-28 04:41:39

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号