- 1、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
编号 本科生毕业单片机计算器及密码锁程序设计The design of the SCM calculator and password lock program 学 生 姓 名 韩雪峰 专 业 08331 学 号 0833115 指 导 教 师 郭丹伟 分 院 电子工程分院 2012年 月 摘 要 智能化是当今光、机、电一体化产品的发展趋势之一,而智能性的实现主要依赖于嵌入式系统的核心单片机。仿真器不但是开发单片机系统的重要手段,也是学习单片机知识的必备工具。论文分别介绍了单片机仿真系统的硬件设计和软件实现。 硬件设计包括仿真芯片的选型,单片机的资源应用及扩展电路,如:8255并口扩展、发光二极管、七段动态数码显示4×4键盘输入、蜂鸣器等。 软件部分包括两个大程序:密码锁程序和计算器程序。密码锁程序实现3-8位可变密码的输入、修改和密码输入正确后的授权操作功能,密码错误后有声光报警(不同的报警次数对应不同的报警方式)。计算器程序实现带符号浮点数的加、减、乘、除及开根号的功能,设计中加入了第二功能键解决了按键有限的问题。这两个程序主要应用了单片机教材中中断、动态显示、键盘输入、I/O接口这些重要功能,具有良好的示范作用。 本系统不但可以应用于单片机教学,对大多数电子爱好者开发简单的仿真器也有借鉴作用。 ABSTRACT Intelligence is one of the development trend of todays optical, mechanical, electrical integration products. Intelligence to achieve the main dependent on the core microcontroller for embedded systems. The emulator is not only an important means to develop single-chip system,but also is a necessary tool to learn the MCU knowledge. The paper describes the microcontroller simulation system hardware design and software implementation Hard ware design, including simulation of chip selection, application and expansion of the circuit of the microcontroller resources, such as: 8255 parallel port expansion, light-emitting diodes, seven-segment dynamic digital display 4 × 4 keyboard input, buzzer The software part includes two procedures: lock procedures and calculator program.Lock program authorized operating functions in the 3-8 variable password input, modify and password to enter the correct password is incorrect after sound and light alarm.The calculator program signed floating-point add, subtract, multiply, and in addition to the square root function, designed to add the second function key to solve the key problem of limited.These two procedures are mainly applied to interrupt the microcontroller textbooks, dynamic display, keyboard input, the I / O interface of these important functions, with a good role model. This system not only can be applied to the microcontroller refe
文档评论(0)