基于ATMega16和iButton电子锁控制器设计.doc

  1. 1、本文档共41页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
基于ATMega16和iButton电子锁控制器设计

摘 要 近年来,美国的达拉斯半导体公司(DALLAS SEMICONDUCTOR)推出了一项特有的单总线(1-Wire Bus)技术,它采用单根信号线,既可传输时钟,又能传输数据,而且数据传输是双向的,因而这种单总线技术具有线路简单,硬件开销少,成本低廉,便于总线扩展和维护等优点。 本文设计了一种基于ATMega16单片机和iButton的电子锁的控制器,从硬件和软件两方面阐述了ATMega16单片机对iButton电子锁进行控制的设计方法。 首先,本文介绍了基于单总线的iButton电子锁的发展背景,单总线的原理以及现在国内外的iButton电子锁的发展现状。 其次,介绍了基于ATMega16和iButton的电子锁控制器的硬件设计。 再次,介绍了该系统的软件设计,包括对iButton仿真模拟器的软件设计。 最后,进行了系统的仿真和测试。 结果表明,该ATMega16单片机能够对iButton进行各种控制,因此该基于ATMega16和iButton的电子锁控制器的设计达到了设计的要求。 关键词:单总线,IButton,ATMega16 注:本设计题目来源于教师的企业科研项目,项目编号为:1920 Abstract In recent days, an American company named Dallas Semiconductor had launched the unique 1-Wire Bus Technology, which could transfer the clock signal and data simultaneously. One signal wire is its tool, and the transmission of it comprises a bidirectional way. Owing to the special design, the 1-Wire Bus Technology operates with simple lines, low hardware expenses and costs, being available to expand the bus circuit and implement maintenance. This paper designs a controller based on the ATMega16 microcontroller and iButton electronic lock, expounding how to control the iButton electronic lock by ATMega16 microcontroller from both the software’s and hardware’s sides. At first, the development of the iButton electronic lock based on 1-Wire bus is introduced, accompanying the principle of 1-Wire Bus and the current condition of iButton electronic lock. Second, the hardware design of the controller based on ATMega16 and iButton is introduced. Third, the software design of the system is presented, including a simulative software of iButton. Finally, the simulation and the test of the system are carried out. The results show that the ATMega16 microcontroller is able to conduct various controls on iButton, which eventually implies the eligibility of the designed electronic controller Key words: 1-Wire Bus, iButton, ATMega16 目 录 1 绪 论 1 1.1 题目背景及目的 1 1.2 国内外发展现状 2 1.2.1 单总线技术 3 1.2.2 多密钥iButton-DS1991 4 1.3 论文的主要内容 6 2 系统的硬件设计 7 2.1 开发环境介绍—Prot

文档评论(0)

bokegood + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档