攀枝花学院本科毕业设计(论文)
基于STM32的信号发生器
学生姓名: 学生学号: 院(系): 电气信息工程学院 年级专业:
指导教师: 助理指导教师:
二〇一七年六月
攀枝花学院本科毕业设计(论文) 摘要
摘要
随着电子产品的发展,单片机处理器的应用已经广泛的应用在日常生活中每个角落。特别是在信号发生器中的应用,信号发生器在各行各业中发挥着重要的作用,具有非常重要的意义,现实中接触比较多的是教学实践中,由于很多学校的研究经费有限,不能购买精密的昂贵器材等原因,急需要设计出一款智能化,低成本的信号发生器,可以输出三角波、方波和正弦波等波形。在本文中根据现实的需求设计出一款基于STM32F103Cx的信号发生器系统,整体设计由处理器模块、电源电路模块、AD9833电路模块、按键电路模块、数字显示模块几部分组成。处理器模块采用STM32F103Cx芯片作为该系统的核心处理模块,采用LCD1602液晶显示器作为该系统的显示模块,按键方案采用独立按键的方式更加容易控制设置输出数据,电源接口采用USB方式,使用更加方便。该设计系统采用altium designer等软件完成PCB版的设计,然后进行焊接和测试等,采用keil软件进行编写软件程序,完成波形的输出等,最后经过软硬件设计出可输出三种波形:三角波、方波和正弦波。该系统的设计具有简单和性能优良等优点,最后经过软硬件的调试之后,各项功能和性能都满足设计的要求。
关键词:STM32F103Cx单片机,AD9833电路模块,液晶显示器1602,DDS信号发生器
I
攀枝花学院本科毕业设计(论文) ABSTRACT
ABSTRACT
Abstract: With the development of electronic products, the application of single-chip processor has been widely used in every corner of daily life. Especially in the application of signal generator, the signal generator in all walks of life play an important role, has a very important significance, the reality of contact with more teaching practice, because many schools of research funding is limited, not The purchase of sophisticated equipment and other reasons, the urgent need to design an intelligent, low-cost signal generator, you can output triangular wave, square wave and sine wave and other waveforms. In this paper, according to the actual needs of a design based on STM32F103Cx signal generator system, the overall design by the processor module, power circuit module, AD9833 circuit module, key circuit module, digital display module composed of several parts. Processor module using STM32F103Cx chip as the core of the system processing module, the use of LCD1602 LCD display as the system's display module, the key program using a separate key way easier to control the output data output, power interface using USB way, the use of more convenient. The design system uses altium designer and other software to complete the PCB version of the design, and then welding and testing, the use of keil software to write software programs to complete the output of the waveform, and finally through the hardware and software design can output three waveforms: triangular wave Wave and sine wave. The design of the system is simple and excellent performance, etc., and finally after the hardware and software debugging, the functions and performance to meet the design requirements.
Key words: STM32F103Cx single-chip,AD9833 circuit module, liquid crystal display 1602, DDS Signal generator
II