yJc64qup

Instruments and Meters - Measuring Tools

 
Overview
1. Lithium Battery Charging Circuit:
This circuit uses the LTC4054 battery management chip to charge the lithium battery. The LTC4054 is a lithium battery charging chip manufactured by Linear Technology, specifically designed for charging single-cell lithium batteries. Only a few external components are needed; no dedicated heatsink is required. The charging current can be adjusted via the 5-pin resistor, supporting a maximum charging current of 800mA.
2. PS7516 Boost Circuit, Voltage Detection Circuit, and Soft-Start Circuit:
 Since the ADS1256 requires a 5V power supply, the PS7516 boost chip, which can be turned off, is chosen to control the output of the boost circuit.
 
 
An external 3.7V lithium battery can be connected to power the entire circuit board, or a Type-C power supply can be used. The Type-C interface can also be used to charge the circuit board. The specific circuit diagram is shown below.
4. 2.5V Reference Circuit:
This uses the TL431 power supply chip to provide a reference for the ADS1256. Other basic voltage chips can also be used.
5. ADS1256 Sampling Circuit and Peripheral Circuit
Images:
 
PS7516.pdf
ads1256.pdf
STM32F103C8T6.pdf
LTC4054LES5-4.2V.pdf
VI_ADC.hex
PDF_Instruments_Measuring Tools.zip
Altium_Instruments_Measuring Tools.zip
PADS_Instruments_Measuring Tools.zip
BOM_Instruments_Measuring Tools.xlsx
97091
#LCSC EDA Instrumentation Training Camp# CW32 Point Crystal Multifunctional Test Pen
This is a multi-functional crystal testing pen designed with the CW32F030C8T6 as the main controller.
The pen's functions include: 1. Voltage level measurement; 2. Circuit continuity measurement; 3. PWM signal output; 4. Diode detection, etc.
It's a compact and portable crystal testing pen, making it a useful measuring instrument!
Following the LCSC training camp's replica of the PointChip CW32 multi-functional test pen
 
: I. Main Controller: CW32F030C8T6.
Vcc, GND, DIO, CLK, and REST are brought out separately for easy programming. A reset button is also included; this button doesn't necessarily need to be soldered on, but can be reset by shorting REST and GND with tweezers.
 
II. Signal Output Circuit:
        The signal output circuit can output DC signals or directly output PWM signals. Essentially, it directly outputs signals from the microcontroller. The DC output level is achieved by adjusting the duty cycle of the PWM (the set signal frequency is 20kHz; for other frequencies, the DC calibration value needs to be modified), and then converting it into a "DC" signal through two stages of low-pass filtering.
        However, since the output voltage of the PWM-to-DC converter is lower than the high level of the PWM, it can only output voltages from 0 to (+3.3VX), which does not meet the 0-5V target I proposed in the design. Therefore, an operational amplifier was added to double the voltage output, ultimately allowing an output voltage from 0 to 6V, meeting the target requirements. The amplified output voltage, after passing through a low-pass filter, yields a more ideal DC signal. (This uses a positive proportional amplifier circuit, amplifying the signal transmitted from the front end by a factor of 2.)
 
III. Signal Input Circuit
The diagram above (black box) shows the most basic signal input circuit. First, a bidirectional TVS diode protects the subsequent circuitry. Then, analog switch 3 (COM3 and NC3, NO3) allows selection between signal input and output modes (default output mode). Analog switch 2 allows selection of whether the input signal is attenuated. The analog front-end design references an oscilloscope, with an input impedance of 1MΩ. Like an oscilloscope, it allows selection of X1 and X10 ranges, with X10 selected by default. This design maximizes the safety of the subsequent circuitry, similar to how, when storing a multimeter with a separate power button, the range should be set to "AC voltage, maximum range."
 
IV. BLE Bluetooth Transmission
To facilitate connection between the test pen and a computer or mobile phone, I chose to use Bluetooth BLE technology for wireless data transmission.
The main reasons for not using the more common CH340 serial-to-USB direct connection are as follows:
① The data cable has a certain weight and rigidity, making it less flexible to operate while wireless;
② It is not recommended to use the device with the data cable plugged in, as this will cause the floating ground of the test probe to become grounded, potentially causing a short circuit during testing;
③ Most importantly: safety! If a high voltage is input to the test probe due to operational error, and the protection circuit fails, causing the microcontroller to burn out, this high voltage could potentially be directly input to the phone or computer along the data cable, causing serious damage!
 
During PCB design, the area around the antenna should be kept clear to prevent interference from other signals and noise, which could lead to signal transmission bugs.
 
V. Screen Display
This project uses a 0.96-inch TFT display screen with a resolution of 80*160, employing an ST7735 display driver chip. It is connected to the PCB via FPC soldering and communicates through an SPI interface. R18 is a backlight current-limiting resistor, which can control the display backlight via the BLK network controlled by the microcontroller, or it can be controlled by PWM dimming via a program.
 
VI. Five-way Remote Control Switch (Complete Operation Input)
The user operation section of this project uses a five-way joystick switch, which can be understood as equivalent to five ordinary button switches. Programming it is also done as ordinary buttons.
The functions corresponding to the joystick switch in different directions will be explained in the program section.
 
VII. Overall Physical Effect Image (
Back and
Front) Note!!! After soldering, before use, be sure to connect the COM terminal and the analog ground terminal with a jumper wire!!! After downloading the program, calibration is mandatory for the first use! Otherwise, the measured data or output signal will be inaccurate! If used without calibration, reset the microcontroller using the reset button and then restart for calibration!

 



Demo video.mp4
PDF_#LCSC EDA Instrumentation Training Camp#CW32 Spot Crystal Multifunctional Test Pen.zip
Altium_#LCSC EDA Instrumentation Training Camp#CW32 Point Crystal Multifunctional Test Pen.zip
PADS_#LCSC EDA Instrumentation Training Camp#CW32 Spot Crystal Multifunctional Test Pen.zip
BOM_#LCSC EDA Instrumentation Training Camp#CW32 Point Crystal Multifunctional Test Pen.xlsx
97092
Simple Oscilloscope
This is the oscilloscope project of the 13th Instrumentation Training Camp of LCSC. This project was jointly organized by JLCSC and Hardwood Classroom. The open source basically adopts their solution, but a few I/O ports are different.
The LCSC training camp oscilloscope has all functions implemented (and the H750 chip is already integrated, eliminating the need for a core board), but it has the following issues
: 1. Error: The peak error is approximately 0.4-0.6V (this could also be due to excessively long traces causing voltage drop).
2. Input channel interference: When one channel receives an input signal, the other channel also receives a small, identical signal, with a peak value approximately 1/100th that of the other channel, and phase lag. This is caused by a PCB design flaw.
3. The 40-pin display in the schematic cannot be driven (the screen has too many pixels, and the chip's memory is insufficient). An external display was designed using the SPI1 pin, so the 40-pin display can be removed from the reference design. 5. It can be connected to a battery, and an additional 8MB of FLASH memory was added, but this was not used at this time due to time constraints; it will be implemented much later.
6. The initial PCB layout had errors. The schematic has been modified, but the PCB layout remains unchanged. Please do not proceed with the initial layout.
7. It supports ISP and SWDIO for program downloading.
20231107_182401.JPG
20231107_182408.JPG
Fangbo.mp4
Triangle Wave.mp4
Sine Wave.mp4
PDF_Simple Oscilloscope.zip
Altium_SimpleOscilloscope.zip
PADS_Simple Oscilloscope.zip
BOM_Simple Oscilloscope.xlsx
97093
electronic
参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2026-03-28 11:29:06

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号