目 录
摘 要 ..................................................................................................................................................I
ABSTRACT......................................................................................................................................II
1 绪论..................................................................................................................................................1
1.1 设计背景 ....................................................................................................................................1
1.2 信号发生器概述 ........................................................................................................................1
1.3 本设计概述 ................................................................................................................................2
2 硬件电路设计 ...............................................................................................................3
2.1 主控芯片和电路设计 ................................................................................................................3
2.1.1 单片机介绍 .........................................................................................................................3
2.1.2 STC89C52 单片机 ...............................................................................................................3
2.2 DDS 原理和电路设计 ................................................................................................................8
2.2.1 DDS 原理与特点 .................................................................................................................8
2.2.2 AD9835 原理与结构............................................................................................................9
2.2.3 AD9835 应用电路..............................................................................................................14
2.3 RS232 模块 ...............................................................................................................................15
2.3.1 RS232 通信协议介绍 ........................................................................................................15
2.3.2 RS232 串口硬件电路设计 ................................................................................................16
2.4 4×4 矩阵键盘 ..........................................................................................................................17
2.4.1 4×4 矩阵键盘的工作原理 ...............................................................................................17
2.5 LCD 液晶显示模块..................................................................................................................17
2.5.1 液晶显示介绍 ...................................................................................................................18
2.5.2 LCD1602 字符型液晶显示模块介绍 ...............................................................................18
2.5.2 LCD1602 参数及引脚功能 ...............................................................................................19
2.6 信号发生器 ..............................................................................................................................20
2.6.1 系统总电路图 ...................................................................................................................20
2.6.2 实物制作说明 ...................................................................................................................20
2.6.3 系统实际功能介绍 ...........................................................................................................21
3 软件程序设计 .............................................................................................................................23
3.1AD9835 软件设计......................................................................................................................23
3.1.1AD9835 内部寄存器、控制字和编程...............................................................................23