Design of digital oscilloscope based on STM32 (complete information)

 
Overview
Digital oscilloscope function: Waveform generator: Use STM32 DA to realize sine, triangle, square and white noise output. The amplitude of any waveform can be adjusted arbitrarily in 0-3.3V, the frequency can be adjusted arbitrarily in a certain range, and the duty cycle of the square wave can be adjusted. The adjustment options can be set through the touch screen. SD card storage: SD card waveform storage output, can take a screenshot of the current screen and store it on the SD card in JPG format. Can store waveform data within 1S, can be called and viewed at any time. Data transmission: Use C# to write the upper computer and control the lower computer through the serial port. (1) Implement STOP/RUN function (2) Output waveform voltage and time parameters (3) Control screenshot (4) Control waveform generator (5) Control FFT (6) Storage and display of waveform Graphic interface: UCGUI Horizontal scan speed: 250 ns*, 500ns, 1μs, 5 μs, 10μs, 50μs, 500 μs, 5ms, 50ms Vertical voltage sensitivity: 10mV/div, 20mV/div, 50mV/div, 0.1V/div, 0,2V/div, 0.5V/div, 1V/div,2V/div, 5V/div Various parameters of the measured signal are displayed on the screen, including frequency, peak-to-peak voltage, etc. The most worthy reference is how to formulate a more efficient communication protocol. After consulting a lot of information, a communication protocol was designed based on actual conditions. The theoretical maximum transmission rate of this communication protocol can reach 16000bps, and the actual transmission rate is 10666bps. The detailed description of the encoding and decoding algorithms of the protocol is attached. As the amount of programs increases, F103 gradually becomes more and more difficult, of which the FFT operation is a typical example. We also hope to take this opportunity to apply for the F429 MCU with DSP instructions to further improve the performance of the oscilloscope.
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-05-27 20:01:47

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号