毕业论文

打赏
当前位置: 毕业论文 > 电子通信 >

STC89C52单片机的信号发生器的设计

时间:2024-04-07 21:21来源:毕业论文
单片机的信号发生器的设计。基于单片机的信号发生器。由单片机产生数字信号输入到D/A转换模块,将其转换为模拟信号,再经过运算放大器滤波放大后输出信号

摘 要:随着单片机控制技术的迅猛发展,数字信号发生器的应用越来越广泛。本设计能够产生10Hz至100Hz范围内的多种函数波形信号,高精度而低成本,具有极其重要的意义。本设计主要介绍了一种基于单片机的信号发生器。由单片机产生数字信号输入到D/A转换模块,将其转换为模拟信号,再经过运算放大器滤波放大后输出信号,通过按键模块实现波形的种类的切换,频率大小的改变。实验结果表明,本系统能够产生要求的正弦波、锯齿波等四种不同的信号,且信号的频率、幅值均可调。验证了本设计的可行性。95054

毕业论文关键词:STC89C52,DAC0832,信号发生器

Abstract: With the rapid development of single-chip control technology, the application of digital signal generator is more and more extensive。 This design can produce a variety of waveforms from 10Hz to 100Hz。It is high precision and low cost, and is of great significance。 This design mainly introduces a kind of signal generator based on single chip。 The single-chip produces the digital signal and sends it to the D/A conversion module, in order to convert it into an analog signal。 And then export the signal after amplification。 We can switch the type of waveform and frequency change through the key module。 The experimental results show that the system can produce four different signals, such as sine wave and saw tooth wave, and the frequency and amplitude of the signal are adjustable。 The feasibility of this design is validated。

Keywords: STC89C52, DAC0832, The signal generator

目 录

1 引言 5

1。1信号发生器的背景及意义 5

1。2信号发生器的发展现状 5

1。3 本设计研究的内容及目的 6

2 信号发生器的设计 6

2。1 信号发生器的设计方案 6

2。2 基本原理及原理图 7

2。3 信号发生器的器件选择 7

3 系统的硬件设计 8

3。1STC89C52单片机主控模块 8

3。1。1 单片机功能介绍 8

3。2。2 单片机最小系统 10

3。2 D/A转换电路 11

3。3 运算放大电路 11

3。4 LED显示器接口电路 12

3。5 键盘显示模块设计 13

4 系统的软件设计 13

4。1 程序设计总体方案 13

4。2 程序设计流程图 14

4。2。1 主程序 14

4。2。2 液晶显示程序 15

4。2。3按键去抖程序 15

4。2。4 波形程序 16

5 系统的调试与运行 16

5。1 软件调试 16

5。2 硬件调试 20

结论 23

参考文献 24

致谢 25

1 引言

1。1信号发生器的背景及意义源C于H优J尔W论R文M网WwW.youeRw.com 原文+QQ752-018766 STC89C52单片机的信号发生器的设计:http://www.youerw.com/tongxin/lunwen_203212.html

------分隔线----------------------------
推荐内容