- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
论文-拨号式楼宇对讲系统软件部分.doc
摘 要
楼宇对讲系统是采用小区联网式系统,在各住宅门口及住户家中安装可视对讲系统,以实现对访客验明身份及与住户对讲,住户可遥控开启住宅门,从而有效地防止非法人员进人住宅楼内。只有住户通过钥匙或者分机控制楼道或者住户密码才能开启门锁进入小区内。
本课题主要讨论的是以 AT89S52单片机为主机与分机AT89C2051通过 RS485 串行传输协议进行通信,通过C语言设计系统软件,并用软件控制各个功能模块。主机主要接收键盘输入的数据,通过数据总线方式发送到lcd上显示,以及相关提示信息,通过判断主机接收到的是输入房号还是住户密码来进行不同的操作。使用 RS485 总线向分机发送数据进行呼叫,并由分机反馈的数据决定主机工作状态;分机则通过接收的数据决定是否开启闹铃功能,并实现语音通话,开门锁等动作。在基本楼宇对讲功能实现的基础上,本系统还适当加入了一些容错功能和密码开锁功能。例如分机在未经呼叫的情况下不能开启语音和控制门锁,在呼叫中不能在同一主机上呼叫其他分机,输入不存在房号时显示错误信息等。
本论文研究的是拨号式楼宇对讲系统,该形式的对讲系统具有容量大,操作方便等优点。适合高层,多住户居民建筑使用。
关键词:AT89S52; AT89C2051; C语言; RS485串行传输; lcd; 语音通话; 密码开锁
ABSTRACT
Building talkback system is networked with district building talkback system, In front of the house and home of the household to install video talkback system, in order to achieve visitors and householders of identification and intercom, householder remote control to open the door to effectively prevent the illegal visitors inside the residential building. Only people in the corridor through using the control key or calling extension or inputing password to open the door into the households and the district. The main discussion topic is AT89S52 microcontroller as the host and AT89C2051 as the extensions through RS485 serial protocol to communicate, through the C language design system software, and use the software for controling the operation of the various functional blocks. Host receiving data that input from keyboard, senting to the lcd through the data bus, and geting related prompt information, judging the host received the room number or password for different operation. Using the RS485 bus to send data to the extension and calling the householder, deciding hosts working condition by the data received from extension; extension through the received data to decide whether to open the alarm function and voice calls, open locks and other activities. To achieve the basic building talkback function on the basis of the system is also join a number of features,for example: fault tolerance and open
文档评论(0)