欢迎来到天天文库
浏览记录
ID:46220525
大小:984.05 KB
页数:40页
时间:2019-11-21
《论文-软件部分》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、楼宇对讲系统是采用小区联网式系统,在各住宅门口及住户家中安装可视对讲系统,以实现对访客验明身份及与住户对讲,住户可遥控开启住宅门,从而有效地防止非法人员进人住宅楼内。只有住户通过钥匙或者分机控制楼道或者住户密码才能开启门锁进入小区内。本课题主耍讨论的是以AT89S52单片机为主机与分机AT89C2051通过RS485串行传输协议进行通信,通过C语言设计系统软件,并用软件控制各个功能模块。主机主要接收键盘输入的数据,通过数据总线方式发送到lcd±显示,以及相关提示信息,通过判断主机接收到的是输入房号还是住户密码
2、来进行不同的操作。使用RS485总线向分机发送数据进行呼叫,并由分机反馈的数据决定主机工作状态;分机则通过接收的数据决定是否开启闹铃功能,并实现语音通话,开门锁等动作。在基本楼宇对讲功能实现的基础上,木系统还适当加入了一些容错功能和密码开锁功能。例如分机在未经呼叫的情况下不能开启语音和控制门锁,在呼叫中不能在同一主机上呼叫其他分机,输入不存在房号时显示错误信息等。木论文研究的是拨号式楼宇对讲系统,该形式的对讲系统具有容量大,操作方便等优点。适合高层,多住户居民建筑使用。关键词:AT89S52;AT89C205
3、1;C语言;RS485串行传输;led;语音通话;密码开锁ABSTRACTBuildingtalkbacksystemisnetworkedwithdistrictbuildingtalkbacksystem,Infrontofthehouseandhomeofthehouseholdtoinstallvideotalkbacksystem,inordertoachievevisitorsandhouseholdersofidentificationandintercom,householderremotec
4、ontroltoopenthedoortoeffectivelypreventtheillegalvisitorsinsidetheresidentialbuilding.Onlypeopleinthecorridorthroughusingthecontrolkeyorcallingextensionorinputingpasswordtoopenthedoorintothehouseholdsandthedistrict.ThemaindiscussiontopicisAT89S52microcontro
5、llerasthehostandAT89C2051astheextensionsthroughRS485serialprotocoltocommunicate,throughtheClanguagedesignsystemsoftware,andusethesoftwareforcontrolingtheoperationofthevariousfunctionalblocks.Hostreceivingdatathatinputfromkeyboard,sentingtotheledthroughtheda
6、tabus,andgetingrelatedpromptinformation,judgingthehostreceivedtheroomnumberorpasswordfordifferentoperation.UsingtheRS485bustosenddatatotheextensionandcallingthehouseholder,decidinghostsworkingconditionbythedatareceivedfromextension;extensionthroughthereceiv
7、eddatatodecidewhethertoopenthealarmfunctionandvoicecalls,openlocksandotheractivities.Toachievethebasicbuildingtalkbackfunctiononthebasisofthesystemisalsojoinanumberoffeatures,forexample:faulttoleranceandopeningthedoorusethepassword,andextensioncannotopenthe
8、talkingfunctionandcontrolthehostopenthedoorwhenitisnotcalledbythehost,whenthehosttalkingwiththeextensionthesamehostcannotcallotherextensions,whileenterthewrongroomnumbertheLCDdisplayerrorinformation.In
此文档下载收益归作者所有