1、 1 摘摘 要要 电子科技日新月异, 人们对现代电子设备的智能化和微型化及其精度提出了 更高的要求,而单片机因其具有稳定可靠、 体积小、 价格低廉等特点,成为设 计智能化仪器仪表的首选微控制器, 因此本次我们没有选用传统的专用的时钟芯 片,而是采用了 AT89S52 为控制芯片,此款单片机可以使用软件对其进行在线编 程,其灵活性和可靠性都相对提高,采用 ds1302 为时钟芯片,ds18b20 为温度 传感芯片和 tea5767 的收音机芯片。 TEA5767内 置 了 主 频 高 达75MHZ的 数 字 信 号 处 理 器 , 实 现 384KBPS/48KHZ 的 MD 级高品质 MP3
2、音乐文件回放,加上拥有一般 MP3 播放 器难以企及的高保真回放线路 (信噪比高达 95DB, THD 总谐波失真率 0.05% 同时非常省电。 单片计算机即单片微型计算机。由 RAM ,ROM,CPU 构成,定时,计数和多种 接口于一体的微控制器。它体积小,成本低,功能强,广泛应用于智能产业和工 业自动化上。而 51 系列单片机是各单片机中最为典型和最有代表性的一种。这 次课程设计通过对它的学习,应用,从而达到学习、设计、开发软、硬的能力。 本设计主要设计了一个基于 AT89S52 单片机的数字收音机万年历。并在液晶屏 (12864)显示相应的年,月,日,时,分,秒,星期,温度,电台频点,信
3、号 强度,及收音机状态,并结合 LM386 的双声道功率放大为我们日常生活提供美妙 的电台广播。 关键词: 单片机 C 语言 万年历 TEA5767 温度测量 LCD 液晶屏 2 SummarySummary Elect onic technology is changing rapidly, people are intelligent and modern electronic equipment miniaturization and a higher accuracy requirements, and SCM because of its stable and reliable, s
4、mall size, low price and so has become the preferred design of intelligent micro-instrumentation controller, so this time we do not use a conventional dedicated clock chip, instead of using AT89S52 as the control chip, the microcontroller can use this section of its online programming software, its
5、flexibility and reliability are relatively increased, as the use of ds1302 clock chip, ds18b20 tea5767 for the temperature sensor chip and the radio chip. TEA5767 built-in frequency up to 75MHZ digital signal processor, the MD level to achieve 384KBPS/48KHZ high quality MP3 music file playback, plus
6、 MP3 player has a generally difficult to match the high-fidelity playback line (SNR up to 95DB, THD Total Harmonic Distortion also very energy-efficient. Single-chip computer that is single-chip microcomputer. By the RAM, ROM, CPU composition, timing, counting and multiple interfaces in one of the micro-controller. Its small size, low cost, powerful, widely used in smart industries and industrial automation. The 51 series of microcontrollers is the most typical and most representativ