z2hxD

Voltage and current meter based on CW32F030

 
Overview


Photos of the finished voltmeter and ammeter based on the CW32F030 are shown below

: ![IMG_7361 2.JPG]

![IMG_7359.jpg]
I won't go into details since they were all taught by the same mentor. This was my first time experiencing JLCPCB's 3D printing and panel services. Initially, I wanted an acrylic panel, but the customer service representative called to tell me that acrylic couldn't be made with bulging, so I changed it to a thin-film panel. The buttons have a nice bulge. I

initially wanted a semi-transparent shell, but my printer couldn't handle transparent effects. So I used JLCPCB's 3D printing service to make a semi-transparent resin shell. The result is shown in the image:

![IMG_7309.jpg]
The panel hadn't arrived yet, so I assembled it and checked the effect. I found some design flaws: the LCD screen edges weren't reinforced, and the four corner screws were too short to hold the motherboard in place, causing the motherboard to be uneven during assembly. So I modified the model and finally printed a white one using my own printer.

The shell model file is attached.

Below are the screenshots

: ![3D_PCB1_2024-08-03-3.png]
![
3D_PCB1_2024-08-03-2.png ]

![Multimeter-3.png]

![Multimeter-2.png]
![Multimeter.png]
On the software side, I developed using VS Code + EIDE on a Mac, and compilation was normal. However, the flashing process kept failing, even after trying several different linkers. Finally, I installed a Windows virtual machine and successfully flashed it via serial port. One more thing: I hope domestic chip manufacturers will also put more effort into software development and support cross-platform compatibility.

Voltage and current meter firmware source code (vscode + EIDE) https://github.com/rushairer/LearnCW32/tree/voltage-and-current-meter

CW32F030 startup template (vscode + EIDE)
https://github.com/rushairer/LearnCW32
参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2026-03-27 03:30:46

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号