Xy7rc0Uc

Voltage and current meter based on CW32F030C8T6

 
Overview
Project Overview:
This project is designed based on the official example, reducing the size and adding timeout sleep alarm and vibration wake-up.
Project Functionality:
This design is a voltage and current meter based on the CW32F030C8T6 microcontroller; it has four independent buttons and can measure voltage in the 0-30V range and current in the 0-3A range.
Hardware Instructions:
Shorten the pin headers and solder them onto the CW32. Solder other components
on top , soldering the CW32 last (a lesson learned the hard way). Pay attention to the positive and negative terminals of the button battery holder.
Solder the OLED pin headers first, then solder the OLED, and
finally solder the CW32
. Shorten the boot pins and solder them together.
Attach the model buttons to the buttons .
Shorten the length of the toggle switch and
assemble it flush with the panel. The complete assembly is shown in the image. The design wasn't fully considered; there weren't enough DuPont wire connectors, so they were directly soldered onto the board.
Software
Code: The code uses the official example, only modifying the pins to add automatic sleep alarm and vibration wake-up.
Video Demonstration:
参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2026-03-27 20:03:44

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号