摘要
近年来随着计算机在社会领域的渗透和大规模集成电路的发展,单片机的应用正在不断地走向深入,由于它具有功能强,体积小,功耗低,价格便宜,工作可靠,使用方便等特点,因此特别适合于与控制有关的系统,越来越广泛地应用于自动控制,智能化仪器,仪表,数据采集,军工产品以及家用电器等各个领域,单片机往往是作为一个核心部件来使用,在根据具体硬件结构,以及针对具体应用对象特点的软件结合,以作完善。
本次做的数字闹钟以89C51单片机作为控制核心,使用串行时钟芯片PCF8563实现时间的显示设置和闹钟功能。为了方便驱动其它电路,通过总线驱动器74LS245增加单片机的驱动能力。将数据及地址等信号通过40线的总线引出,便于将来对此单片机系统作进一步的扩展。作为一款多功能数字闹钟它除具有括时钟显示、闹钟功能外,还有具有秒表、温度测量、电压测量等功能。本次设计的难点与重点在于各个模块的设计。
关键词:单片机89C51 数字闹钟时钟芯片PCF8563
Abstract
In recent years, puters in the infiltration and the development of large-scale integrated circuits. SCM application is steadily deepening, as it has strong function, small size, low power dissipation, low prices, reliable, easy to use features, it is particularly suited to and control of the system, increasingly widely used in automatic control, intelligent instruments, gauges, data acquisition, military products and household appliances, and other areas, is often microcontroller as a ponent to use, In light of specific hardware architecture, and application specific software features bine to make perfect.
The figures do bell on SCM (AT89C51) at the core, Combined with ponents, and factoring in the corresponding software, Easy to produce digital clock purposes, as part of the ponents is a difficult choice, layout and welding.
Keywords : Single Chip puter 89C51 bell PCF8563
目录
摘要 I
Abstract II
第一章引言 1
第二章方案设计与比较 2
2
系统工作原理: 2
2
温度采集方案 3
键盘显示方案 3
3
4
闹钟功能方案 4
电压、频率测量方案 4
第三章主要元器件介绍与说明 5
AT89C51单片机工作原理与性能 5
AT89C51单片机管脚说明 6
振荡器特性 8
PCF8563时钟芯片及其应用 8
PCF8563时钟芯片特性 8
PCF8563时钟芯片管脚配置与描述 9
功能描述 10
报警功能模式 10
定时器 10
复位 11
内部寄存器的功能 11
13
第四章系统硬件设计 14
14
14
时钟接口电路设计 14
液晶显示器(LCD)电路设计 16
键盘接口电路电路设计 17
声光报警接口电路设计 18
温度测量电路设计 19
交流电特性测量设计 22
25
25
主程序流程图 26
蜂鸣器闹铃中断服务子程序流程图 27
28
4
毕业设计(论文)-基于AT89C51单片机的数字闹钟设计(电路图+源程序) 来自淘豆网m.daumloan.com转载请标明出处.