LT4Dc

Voltage and current meters based on LCSC Geo-Star

 
Overview
1. Project Function Introduction:
This is a voltage and current meter based on the LCSC CW32 microcontroller, replicated from the Voltage and Current Meter Training Camp. It allows for convenient and quick detection of input voltage and current, providing 5V and 15V voltage and 0.5A and 1.5A current to other devices. Upon power-up, the left digital display shows the voltage, and the right digital display shows the current. Pressing the K1 button switches between five modes: Mode 1 is the 5V voltage calibration mode, Mode 2 is the 15V voltage calibration mode, Mode 3 is the 0.5A current calibration mode, and Mode 4 is the 1.5A current calibration mode. To adjust the voltage and current, short-circuit the pin header next to the adjustable resistor. The voltage is adjusted by rotating the left adjustable resistor, and the current is adjusted by rotating the right adjustable resistor. After calibration in any of the four modes, press the K2 button to write the values ​​to the FLASH memory.
2. Project Attributes:
This project is being published for the first time; the project is original; the project has not won any awards in other competitions.
 3. Open Source
License: GPL 3.0 
(Unauthorized reproduction prohibited)
4. Hardware
                                                                                                                Schematic:
Use single-point grounding. Power and ground wires should be 30 mils or wider to allow for larger current flow. Use filler or copper pouring for high current flow. Place filter capacitors close to chip pins. Power should flow through diodes first, then large capacitors, then small capacitors. Modules should be placed in separate blocks.                                                                                                                       PCB 3D
                                                                                   Schematic: Draw the 3D shell outline in JLCPCB EDA. Then, set the cutout areas according to the locations of the holes. This project selects a top cutout, and another rectangular cutout on the top surface to hold the panel. Place the 3D shell screw posts according to their positions. Select reinforcing ribs on the top surface, not countersunk holes. Install screws from the bottom. Before drawing the                                                                                                               3D shell panel, first export the DXF file, selecting to export the top layer, board frame layer, hole layer, multi-layer pads in the 3D shell layer, board frame, 3D shell border, and the 3D shell top surface cutout area. Then import it into the panel file, set the border as the border layer, and set the area to be cut out as the cutout layer. You can place images, text, and background colors on the printing layer. Place the labeled text. If the background color of the printing layer is not transparent and there are lights to be displayed, set the light position as a transparent control layer.                                                                                                          Panel diagram 5. Software part : Use KEIL to write embedded programs. First, turn on the clock and configure the GPIO port initialization. Configure the LED lights, buttons, and digital tubes. Then turn on the timer and ADC analog-to-digital conversion to measure voltage and current values. The buttons are triggered externally using a timer, and the LEDs also use a timer to blink for one second. 6. Physical demonstration part:                                                                 Physical diagram without 3D shell and panel installed.                                                          Physical diagram with 3D shell and panel installed.









参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2026-03-26 12:24:52

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号