The hardware design circuit includes four parts: signal preprocessing, single-chip microcomputer, Bluetooth serial port module and power supply. The circuit schematic is shown in Figure 1.
Figure 1: Bluetooth virtual oscilloscope circuit schematic
Signal preprocessing: The voltage range of the AD conversion of the microcontroller is 0~3.3V. In order to measure the AC signal, the input signal ground terminal is connected to the 1.65V adjusted by RP3, so that the voltage of -1.65~+1.65V can be measured. In actual work, electricians measure voltages ranging from a few volts to hundreds of volts. For this reason, a resistor voltage drop network R1, R2, R4, R5, RP1 and RP2 are added, so that a voltage of 60V can be measured. With an oscilloscope probe with a x10 block (10 times magnification), the maximum voltage can be measured is 600V. LM358 is a dual op amp connected in voltage follower mode. Its main function is to increase the input impedance so that the oscilloscope input impedance is 1MΩ. Otherwise, when the oscilloscope probe is placed in the x10 block, the measured value will be biased. The op amp can also limit the signal amplitude input to the microcontroller when the input signal is too large to protect the microcontroller. There are 2 signal input terminals in total, forming a dual-trace oscilloscope, which can compare the phase relationship of the 2-way signal.
Microcontroller: Philips' microcontroller P89LPC938 is selected. It is a low-power FLASH microcontroller based on the 80C51 core. It has a 7.373MHz oscillator, reset circuit, 8-channel 10-bit AD converter, 8K bytes of Flash program memory, and 768 bytes of RAM data memory, which makes the peripheral circuit very simple. In order to improve the AD conversion speed and the accuracy of the communication baud rate, an external 12MHz crystal oscillator is used. P2.0 (AD07) and P2.1 (AD06) of the microcontroller are connected to the voltage output of the dual op amp LM358, and P1.0 (TXD) and P1.1 (RXD) of the microcontroller are connected to the serial port of the Bluetooth module.
The main parameters of the Bluetooth serial port module: compatible with Bluetooth V2.0 specification, CLASS 2 standard, maximum transmission distance of 10M, support SPP service (serial port). The multi-functional Bluetooth module can change the master-slave settings, the default is the slave device, can be connected to the computer or mobile phone Bluetooth, and can also change the communication baud rate. The default is 9600bps, which can be changed to a larger baud rate, such as 115200bps, to speed up the communication speed. The default pairing password is 1234. Before searching for the Bluetooth module each time, power on the Bluetooth module and search again. When searching again, power on the Bluetooth module first, otherwise it may not be searched. The connection between the mobile phone Bluetooth and the Bluetooth serial port module is the focus and difficulty of program design. This connection process is to create a Bluetooth client, which is divided into 4 main steps: searching for devices, searching for services, obtaining connection URLs, and establishing connections.
Previous article:A great engineer teaches you how to use an oscilloscope!
Next article:A Novel and Simple Multi-channel Virtual Oscilloscope System Circuit Design
- Keysight Technologies Helps Samsung Electronics Successfully Validate FiRa® 2.0 Safe Distance Measurement Test Case
- From probes to power supplies, Tektronix is leading the way in comprehensive innovation in power electronics testing
- Seizing the Opportunities in the Chinese Application Market: NI's Challenges and Answers
- Tektronix Launches Breakthrough Power Measurement Tools to Accelerate Innovation as Global Electrification Accelerates
- Not all oscilloscopes are created equal: Why ADCs and low noise floor matter
- Enable TekHSI high-speed interface function to accelerate the remote transmission of waveform data
- How to measure the quality of soft start thyristor
- How to use a multimeter to judge whether a soft starter is good or bad
- What are the advantages and disadvantages of non-contact temperature sensors?
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- Can the freewheeling diode be omitted when the MOS tube controls the solenoid valve?
- STEVAL-MKSBOX1V1 (SensorTile.box) firmware download via USB
- Gallium nitride is a key technology for realizing 5G
- STM32 output 4-20MA or 0-10V circuit sharing
- LIS2MDL array PCB engineering and code information for magnetic nail navigation AGV car
- Live Review: Rochester Electronics Semiconductor Full-Cycle Solutions (including videos, materials, Q&A)
- How to understand this parameter in the MOS tube specification?
- Why is it necessary to use a four-pin Kelvin connected resistor for current detection?
- Purgatory Legend-12864 LCD War
- Live Review: How to Design High-Performance Servo Drives Using Infineon IGBT7