1、毕业设计(论文) I 目 录 绪论 1 1 课题总体介绍 1 1.1 数字式智能钟研究的背景及意义 1 1.2 数字式智能时钟的功能 2 2 显示和键盘设计方案分析 3 2.1 显示部分 3 2.1.1 LCD . 3 2.1.2 LED . 3 2.2 键盘部分 4 2.2.1 独立式键盘 4 2.2.2 矩阵式键盘 4 2.2.3 组合式键盘 5 3 数字式智能时钟硬件电路设计 7 3.1 显示电路 7 3.2 按键电路 7 4 数字式智能时钟软件设计 9 4.1 显示子程序设计 9 4.2 键盘扫描子程序 9 5 显示电路调试 . 10 参考文献 . 11 附录 . 12 致谢 . 错误
2、错误! !未定义书签。未定义书签。 毕业设计(论文) II 数字式智能时钟研究数字式智能时钟研究 摘 要 近年来随着计算机在社会领域的渗透和大规模集成电路的发展,单片机的应用正在不断地走向 深入,由于它具有功能强,体积小,功耗低,价格便宜,工作可靠,使用方便等特点,因此特别适 合于与控制有关的系统,越来越广泛地应用于自动控制,智能化仪器,仪表,数据采集,军工产品 以及家用电器等各个领域,单片机往往是作为一个核心部件来使用,在根据具体硬件结构,以及针 对具体应用对象特点的软件结合,以作完善。 本次设计中以单片机的发展过程和发展方向为背景,介绍了单片机的输入输出的工作原理和操 作方法,中断的工作原
3、理和操作方法。LED 的内部结构。电路设计及调试过程。 本次做的数字式智能时钟是以单片机(STC89C52)为核心,结合相关的元器件(LED 数码显 示器、74LS164 等) ,再配以相应的软件,达到制作简易数字式智能时钟的目的,其硬件部分难点在 于元器件的选择、布局及焊接2。 【关键词】单片机 数字钟 LED 数码显示器 静态显示 毕业设计(论文) III Study of intelligent digital Clock Abstract In recent years, with computers in the infiltration and the development of
4、 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 instru
5、ments, 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 architecture, and application-specific software features object combine to make perfect. The design of a microcontroller de
6、velopment process and the direction of development as the background, the computers input and output of the working principle, the principle and method of operation, LED internal structure. Circuit design and debugging process. The figures do bell on SCM (A T89C52) at the core, Combined with the components (a total of cathode LED digital display,74LS164), and factoring in the corresponding software, Easy to produce digital clock purposes, as part of the hardware components is a difficult cho