2021-04-24 10:43:06 索炜达电子 1997
项目编号:E474
文件大小:11M
源码说明:带中文注释
开发环境:C编译器
简要概述:
【设计指标】
主控: STM32F103ZET6
液晶屏: 4.3寸TFT480×272 65K彩色LCD显示屏 FSMC
AD: 12位1MHz采样速率
最高实时取样率: 1Msps 8Bits
取样缓冲器深度: 5K
垂直灵敏度: 5V,1V,500mV,200mV,100mV,50mV,20mV,10mV;
水平时基范围: 2S,1S,500mS,200mS,100mS,50mS,20mS,10mS,5mS,2mS,1mS,500uS,200uS,100uS,50uS,20uS,10uS,5uS,2uS,1uS
输入阻抗: ≥1MΩ
最高输入电压: 30Vpp
耦合方式: AC/DC
触发功能: 实现自动、常规、单次触发方式 ,上升或下降边沿触发
参数计算: 频率、周期、占空比、交流峰-峰值、平均值
触发电平: 触发电平高低位置可调,触发时基位置可调实现RUN/STOP功能
【功能预留】
1、波形发生器:使用STM32一路DA实现正弦,三角波,方波输出。 任意一种波形幅值在0-3.3V任意可调、频率在一定范围任意可调、方波占空比可调。调节选项可以通过触摸屏完成设置。
2、SD卡存储: SD卡波形存储输出,能够对当前屏幕截屏,以JPG格式存储在SD卡上。能够存储1S内的波形数据,可以随时调用查看。
3、数据传输: 用C#编写上位机,通过串口完成对下位机的控制。初步功能为:(1)实现STOP/RUN功能(2)输出波形电压、时间参数(3)控制截屏(4)控制波形发生器(5)其他
4、图形接口: 完成UCGUI的移植和使用工作。
5、远期计划: 添加FFT等等
1、采样速率:600Sa/s,6kSa/s ,60kSa/s,600kSa/s ,3MSa/s,,6MSa/s,30MSa/s ,60MSa/s
2、水平扫速:250 ns*、500ns、1μs、5 μs、10μs、50μs、500 μs、5ms 、50ms
3、垂直电压灵敏度:10mV/div, 20mV/div, 50mV/div, 0.1V/div, 0,2V/div, 0.5V/div, 1V/div,2V/div, 5V/div
4、被测信号的各种参数屏幕显示,包括频率、电压峰峰值等。
【原理图】
【PCB图】
【通信协议】
【代码截图】
【文件列表】
目录│文件列表:
└ STM32示波器
├ 上位机
│ │ 示波器上位机.exe
│ └ STM32示波器上位机源代码
│ │ 示波器上位机.sln
│ └ 示波器上位机
│ │ Form1.cs
│ │ Form1.Designer.cs
│ │ Form1.resx
│ │ Program.cs
│ │ 示波器上位机.csproj
│ ├ bin
│ │ └ Debug
│ │ │ 示波器上位机.pdb
│ │ │ 示波器上位机.vshost.exe
│ │ └ 示波器上位机.vshost.exe.manifest
│ ├ obj
│ │ └ x86
│ │ └ Debug
│ │ │ DesignTimeResolveAssemblyReferencesInput.cache
│ │ │ 示波器上位机.csproj.FileListAbsolute.txt
│ │ │ 示波器上位机.exe
│ │ │ 示波器上位机.Form1.resources
│ │ │ 示波器上位机.pdb
│ │ │ 示波器上位机.Properties.Resources.resources
│ └ Properties
│ │ AssemblyInfo.cs
│ │ Resources.Designer.cs
│ │ Resources.resx
│ │ Settings.Designer.cs
│ └ Settings.settings
├ 硬件
│ │ 电平平移.ms12
│ │ 示波器AD板.pdf
│ │ 示波器AD板最终实物版图.PcbDoc
│ │ 示波器AD板最终实物版图.PcbDoc.htm
│ │ 示波器上层板.pdf
│ │ 示波器上层板最终实物版图.PcbDoc
│ │ 示波器前端电路.ms12
│ └ 耦合——衰减电路.ms12
├ 程序
│ │ JLink Regs CM3.txt
│ │ JLinkSettings.ini
│ │ stm32-fd-FlashLED.uvopt
│ │ STM32示波器+GUI.uvopt
│ │ STM32示波器+GUI.uvproj
│ │ UCOS+GUI.uvopt
│ ├ APP
│ │ │ app.c
│ │ │ app.h
│ │ │ app_cfg.h
│ │ │ includes.h
│ │ │ os_cfg.h
│ │ │ task_gui.c
│ │ │ task_gui.h
│ │ │ task_main.c
│ │ │ task_main.h
│ │ │ task_rtc.c
│ │ │ task_rtc.h
│ │ │ task_sd.c
│ │ │ task_sd.h
│ │ │ task_touchscreen.c
│ │ └ task_touchscreen.h
│ ├ CM3
│ │ │ core_cm3.c
│ │ │ core_cm3.h
│ │ │ stm32f10x.h
│ │ │ system_stm32f10x.c
│ │ └ system_stm32f10x.h
│ ├ FWlib
│ │ ├ inc
│ │ │ │ misc.h
│ │ │ │ stm32f10x_adc.h
│ │ │ │ stm32f10x_bkp.h
│ │ │ │ stm32f10x_can.h
│ │ │ │ stm32f10x_cec.h
│ │ │ │ stm32f10x_conf.h
│ │ │ │ stm32f10x_crc.h
│ │ │ │ stm32f10x_dac.h
│ │ │ │ stm32f10x_dbgmcu.h
│ │ │ │ stm32f10x_dma.h
│ │ │ │ stm32f10x_exti.h
│ │ │ │ stm32f10x_flash.h
│ │ │ │ stm32f10x_fsmc.h
│ │ │ │ stm32f10x_gpio.h
│ │ │ │ stm32f10x_i2c.h
│ │ │ │ stm32f10x_iwdg.h
│ │ │ │ stm32f10x_pwr.h
│ │ │ │ stm32f10x_rcc.h
│ │ │ │ stm32f10x_rtc.h
│ │ │ │ stm32f10x_sdio.h
│ │ │ │ stm32f10x_spi.h
│ │ │ │ stm32f10x_tim.h
│ │ │ │ stm32f10x_usart.h
│ │ │ └ stm32f10x_wwdg.h
│ │ └ SRC
│ │ │ misc.c
│ │ │ stm32f10x_adc.c
│ │ │ stm32f10x_bkp.c
│ │ │ stm32f10x_can.c
│ │ │ stm32f10x_cec.c
│ │ │ stm32f10x_crc.c
│ │ │ stm32f10x_dac.c
│ │ │ stm32f10x_dbgmcu.c
│ │ │ stm32f10x_dma.c
│ │ │ stm32f10x_exti.c
│ │ │ stm32f10x_flash.c
│ │ │ stm32f10x_fsmc.c
│ │ │ stm32f10x_gpio.c
│ │ │ stm32f10x_i2c.c
│ │ │ stm32f10x_iwdg.c
│ │ │ stm32f10x_pwr.c
│ │ │ stm32f10x_rcc.c
│ │ │ stm32f10x_rtc.c
│ │ │ stm32f10x_sdio.c
│ │ │ stm32f10x_spi.c
│ │ │ stm32f10x_tim.c
│ │ │ stm32f10x_usart.c
│ │ │ stm32f10x_wwdg.c
│ │ └ system_stm32f10x.c
│ ├ GUI
│ │ │ uCGUI_Lib.lib
│ │ ├ Config
│ │ │ │ GUIConf.h
│ │ │ │ GUITouchConf.h
│ │ │ │ LCDConf.h
│ │ │ └ vssver.scc
│ │ ├ Core
│ │ │ │ CCGUICore.bat
│ │ │ │ GUI.h
│ │ │ │ GUIDebug.h
│ │ │ │ GUIType.h
│ │ │ │ GUIVersion.h
│ │ │ │ GUI_ConfDefaults.h
│ │ │ │ GUI_FontIntern.h
│ │ │ │ GUI_Private.h
│ │ │ │ GUI_Protected.h
│ │ │ │ GUI_VNC.h
│ │ │ │ GUI_X.h
│ │ │ │ LCD.h
│ │ │ │ LCDSIM.h
│ │ │ │ LCD_ConfDefaults.h
│ │ │ │ LCD_Private.h
│ │ │ │ LCD_Protected.h
│ │ │ └ vssver.scc
│ │ ├ GUI.H
│ │ │ │ BUTTON.h
│ │ │ │ BUTTON_Private.h
│ │ │ │ CHECKBOX.h
│ │ │ │ CHECKBOX_Private.h
│ │ │ │ DIALOG.h
│ │ │ │ DIALOG_Intern.h
│ │ │ │ DROPDOWN.h
│ │ │ │ DROPDOWN_Private.h
│ │ │ │ EDIT.h
│ │ │ │ EDIT_Private.h
│ │ │ │ FRAMEWIN.h
│ │ │ │ FRAMEWIN_Private.h
│ │ │ │ GUI.h
│ │ │ │ GUIDebug.h
│ │ │ │ GUIType.h
│ │ │ │ GUIVersion.h
│ │ │ │ GUI_ARRAY.h
│ │ │ │ GUI_ConfDefaults.h
│ │ │ │ GUI_FontIntern.h
│ │ │ │ GUI_HOOK.h
│ │ │ │ GUI_Private.h
│ │ │ │ GUI_Protected.h
│ │ │ │ GUI_VNC.h
│ │ │ │ GUI_X.h
│ │ │ │ HEADER.h
│ │ │ │ HEADER_Private.h
│ │ │ │ jconfig.h
│ │ │ │ jdct.h
│ │ │ │ jdhuff.h
│ │ │ │ jerror.h
│ │ │ │ jinclude.h
│ │ │ │ jmemsys.h
│ │ │ │ jmorecfg.h
│ │ │ │ jpegint.h
│ │ │ │ jpeglib.h
│ │ │ │ jversion.h
│ │ │ │ LCD.h
│ │ │ │ LCDSIM.h
│ │ │ │ LCD_ConfDefaults.h
│ │ │ │ LCD_IncludeDriver.h
│ │ │ │ LCD_Private.h
│ │ │ │ LCD_Protected.h
│ │ │ │ LISTBOX.h
│ │ │ │ LISTBOX_Private.h
│ │ │ │ LISTVIEW.h
│ │ │ │ LISTVIEW_Private.h
│ │ │ │ MENU.h
│ │ │ │ MENU_Private.h
│ │ │ │ MESSAGEBOX.h
│ │ │ │ MULTIEDIT.h
│ │ │ │ MULTIPAGE.h
│ │ │ │ MULTIPAGE_Private.h
│ │ │ │ PROGBAR.h
│ │ │ │ RADIO.h
│ │ │ │ RADIO_Private.h
│ │ │ │ SCROLLBAR.h
│ │ │ │ SCROLLBAR_Private.h
│ │ │ │ SLIDER.h
│ │ │ │ TEXT.h
│ │ │ │ TEXT_Private.h
│ │ │ │ WIDGET.h
│ │ │ │ WINDOW_Private.h
│ │ │ │ WM.h
│ │ │ │ WM_GUI.h
│ │ │ │ WM_Intern.h
│ │ │ └ WM_Intern_ConfDep.h
│ │ └ LCDDriver
│ │ │ CCLCDDriver.bat
│ │ │ LCD_GUI_Interface.c
│ │ └ vssver.scc
│ ├ GUI_X
│ │ │ GUI_X.c
│ │ │ GUI_X_Touch.c
│ │ └ GUI_X_uCOS.c
│ ├ startup
│ │ └ startup_stm32f10x_hd.s
│ ├ uCOS-II
│ │ ├ Ports
│ │ │ │ os_cpu.h
│ │ │ │ os_cpu_a.asm
│ │ │ │ os_cpu_c.c
│ │ │ └ os_dbg.c
│ │ └ Source
│ │ │ os_core.c
│ │ │ os_dbg_r.c
│ │ │ os_flag.c
│ │ │ os_mbox.c
│ │ │ os_mem.c
│ │ │ os_mutex.c
│ │ │ os_q.c
│ │ │ os_sem.c
│ │ │ os_task.c
│ │ │ os_time.c
│ │ │ os_tmr.c
│ │ │ ucos_ii.c
│ │ └ ucos_ii.h
│ └ user
│ │ adc.c
│ │ adc.h
│ │ ascii_font.h
│ │ bitband.h
│ │ dac v2.0.c
│ │ dac.c
│ │ dac.h
│ │ delay v2.0.c
│ │ delay.c
│ │ delay.h
│ │ EXTI.c
│ │ EXTI.h
│ │ GBK_Small.h
│ │ indkey.c
│ │ indkey.h
│ │ iwdg.c
│ │ iwdg.h
│ │ LED.c
│ │ LED.H
│ │ main.c
│ │ oscilloscope.c
│ │ oscilloscope.h
│ │ pincfg.c
│ │ pincfg.h
│ │ pwm.c
│ │ pwm.h
│ │ readme.txt
│ │ sdcard.c
│ │ sdcard.h
│ │ stdarg.h
│ │ stm32f10x_it.c
│ │ stm32f10x_it.h
│ │ tft_api.c
│ │ tft_api.h
│ │ tft_drive.c
│ │ tft_drive.h
│ │ timer.c
│ │ timer.h
│ │ tsc2046.c
│ │ tsc2046.h
│ │ usart1.c
│ └ usart1.h
└ 设计文档
│ STM32示波器通信协议.xlsx
│ 增益计算表.xlsx
│ 用四个字节十六进制数表示单精度浮点数.docx
│ 示波器时间表.docx
└ 设计指标.docx