

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.
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."
To facilitate connection between the test pen and a computer or mobile phone, I chose to use Bluetooth BLE technology for wireless data transmission.
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.
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.
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.
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!

All reference designs on this site are sourced from major semiconductor manufacturers or collected online for learning and research. The copyright belongs to the semiconductor manufacturer or the original author. If you believe that the reference design of this site infringes upon your relevant rights and interests, please send us a rights notice. As a neutral platform service provider, we will take measures to delete the relevant content in accordance with relevant laws after receiving the relevant notice from the rights holder. Please send relevant notifications to email: bbs_service@eeworld.com.cn.
It is your responsibility to test the circuit yourself and determine its suitability for you. EEWorld will not be liable for direct, indirect, special, incidental, consequential or punitive damages arising from any cause or anything connected to any reference design used.
Supported by EEWorld Datasheet