1、1 1 单片机综合实践报告 课题名称: 基于单片机技术数字钟电路的设计基于单片机技术数字钟电路的设计 系 部: 电子工程系 2010 年 10 月 8 日 2 2 目录目录 一、摘要一、摘要 3 二、简单设计思路二、简单设计思路 4 2.1 课题设计要求 . 4 2.2 设计基本原理简介 4 三、三、 整体设计方案整体设计方案. 5 3.1 硬件电路设计 . 5 3 31.11.1 原理图的设计原理图的设计 . 5 3 31.2 PCB1.2 PCB 板的设计板的设计 . 6 3.2 软件编程 6 3.3 单片机下载 . 7 四、电路安装与调试四、电路安装与调试 10 4.1 电路的安装 .
2、10 42 电路的调试 . 10 五、五、 改进与应用改进与应用 .11 六、参考资料六、参考资料11 附录附录. 12 附录一 12 附录二 13 3 3 一、摘要一、摘要 近年来随着计算机在社会领域的渗透和大规模集成电路的发展, 单片机的应 用正在不断地走向深入,由于它具有功能强,体积小,功耗低,价格便宜,工作 可靠,使用方便等特点,因此特别适合于与控制有关的系统,越来越广泛地应用 于自动控制, 智能化仪器, 仪表, 数据采集, 军工产品以及家用电器等各个领域, 单片机往往是作为一个核心部件来使用,在根据具体硬件结构,以及针对具体应 用对象特点的软件结合,以作完善。 本文介绍了基于单片机的
3、数字钟的设计,详细讨论了它从软件上实现的过 程,重点在时钟调整的方式:查询和中断的比较,然后,对数字钟的稳定性和精 确性作了相关的讨论。在文章的最后,给出了采用中断方式实现的数字钟的源程 序。 关键字:单片机,数字钟,数据缓冲区,中断 AbstractAbstract In recent years, with computers in the in filtration and the development of large-scale integrated circuits. SCM application is steadily deepening, as it has strong
4、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 core component to use, In light of specific hardware archi