基于单片机的数字FM收音机(毕业设计) 下载本文

内容发布更新时间 : 2024/5/4 7:57:31星期一 下面是文章的全部内容请认真阅读。

基于单片机的数字FM收音机设计

摘要:本文在具体分析了STC89C52单片机的技术特点与数字FM收音机

的基础上,提出了采用单片机控制收音机实现数字调频的方法,并给出了具体的软硬件设计。该系统利主要由STC89C52单片机、液晶显示器、按键、调频收音模块TEA5767、功放LM386组成[1]。实际运行时,用TEA5767搜索频率,利用单片机STC89C52控制处理,经LM386芯片放大音频功率同时再通过液晶显示器显示频率,最终实现87.5MHz~108MHz调频广播的接收。相关的功能验证实验表明,本系统达到了既定的设计目标。

关键词:单片机技术;收音机;频率搜索;液晶显示

The Design of Digital FM Radio Which Based on Single Chip

Microcomputer

Abstract: This paper mainly proposes the method of using single chip

computer to control digital FM radio . It gives the specific hardware and software design which based on a detailed analysis on of the technical characteristics of STC89C52 SCM and digital FM radio. The system uses STC89C52 SCM as CPU for overall control, mainly composed of STC89C52 SCM, LCD display, keypad, FM radio module TEA5767 and LM386 amplifier. When it operates, firstly you should use the TEA5767 display to show the search frequency. Then, control and process it with STC89C52 SCM. By the way magnify the audio power through LM386 chip. The LCD display frequency. Ultimately, it’ll reach a broadcast reception range from 87.5MHz to 108MHz FM. Some related functional verification experiments show that the system achieves the established design goals.

Keywords:SCM technology; Radio; Frequency search;Liquid-crystal display

目 录

序 言......................................................................................................1

第1章 课题分析与方案论证..................................................................2

1.1 课题任务分析...................................................................................2 1.2 方案论证..........................................................................................2

第2章 硬件电路......................................................................................5

2.1主控电路...........................................................................................5 2.2音频输出电路....................................................................................9 2.3FM收音电路......................................................................................12 2.4LCD1062液晶屏模块..........................................................................15 2.5按键电路 ........................................................................................16 2.6I2C总线简介.....................................................................................16 2.7电路装配注意事项............................................................................18

第3章 软件设计.....................................................................................19

3.1主程序设计......................................................................................19 3.2液晶屏显示控制子程序.....................................................................21 3.3收音机控制子程序............................................................................23

第4章 系统测试.....................................................................................25

4.1硬件测试..........................................................................................25 4.2软件测试..........................................................................................25 4.3整机调试..........................................................................................26 4.4调试结果..........................................................................................26

结束语......................................................................................................27

参考文献..................................................................................................28

致 谢....................................................................................................29

附 录....................................................................................................30

附录1 程序清单....................................................................................30 附录2 硬件原理图.................................................................................42 附录3 硬件实物图.................................................................................43 附录4 外文资料原文..............................................................................44 外文资料译文..............................................................................50