摘 要 随着单片机应用的普及 ,单片机芯片的价格也越来越便宜 ,许多设计者开始用单片机来设计一些常见的电路 .使用单片机设计电路可以做到 :硬件投入少、电路简洁、性能可靠、扩展性好等诸多优点 . 本文即是基于单片机 AT89S51设计和开发的一种低功耗、可靠性高的16路数码显示报警器 ,文中详细介绍该报警器的硬件和软件设计原理,并给出了硬件设计和软件设计的流程图,提出了一种用单片机设计常规电路的新思路。 关键词:单片机,AT89S51,数码显示,报警器
Abstract With the popularity of single-chip microcomputer's application, the price of MCU chip prices has become cheaper and cheaper, and SCM is started to be used to design some common circuit by many designers . Less hardware investment , simpler circuit, reliable performance, perfect scalability , and many other advantages can be done by the use of MCU circuit design . This paper is based on the design of SCM AT89S51's design and development of a low-power, high reliability and the 16-groups digital display, the hardware alarm and software design principle is detailed, and the hardware design , software design and flow charts has been supplied . In this paper,the new idea of using SCM to design a conventional circuit is proposed. Key words: Single Chip Micyoco , AT89S51 , digital display , Annunciator
目 录 1 引言 5 2 系统设计 5 2.1 系统总体方案设计 5 2.1.1 技术要求及特点 5 2.1.2 硬件电路设计 6 2.2 系统硬件设计 6 2.2.1 电源电路 6 2.2.2 单片机控制系统 7 2.2.2.1 复位电路 11 2.2.2.2 时钟电路 12 2.2.2.3 4/16译码电路 12 2.2.2.4 显示电路 13 2.2.2.5 内外供电及低供电指示电路 15 2.2.2.6 报警电路 16 3 程序设计 17 结论 19 参考文献 20 附录1:程序 21 附录2:总电路图 29
(29页 6408字 包括论文、程序、电路图) |