第一范文网 - 专业文章范例文档资料分享平台

基于单片机智能门禁系统毕业设计

来源:用户分享 时间:2025/5/24 4:18:37 本文由loading 分享 下载这篇文档手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:xxxxxxx或QQ:xxxxxx 处理(尽可能给您提供完整文档),感谢您的支持与谅解。

河南科技大学毕业设计(论文)

摘 要

门禁系统采用89S52 单片机作为控制核心,外围加蜂鸣器控制电路、开门指示灯电路、电控锁控制电路以及8位数码管显示电路等。门禁系统主要组成:由CPU、复位电路、电源指示、工作指示、振荡电路、蜂鸣器电路、门控锁电路、出门按钮、读卡模块、显示模块等组成。采用射频卡完成刷卡进门,按钮出门功能。其门禁系统的工作原理:当刷卡时,蜂鸣器响一下,如卡权限获得允许,显示模块显示卡号,同时继电器动作将门锁打开,指示灯点亮,延时一段时间后继电器再次动作将门锁锁闭,指示灯熄灭。当按下出门按钮时,继电器动作将门锁打开,指示灯点亮,延时一段时间后继电器再次动作将门锁锁闭,指示灯熄灭。程序中增加了射频卡权限判断,当遇到合法卡时显示卡号,门锁打开,延时10s自动关闭,非法卡不显示卡号门锁不开。本系统设计简单、性能优良,具有一定的实用性。

关键词:门禁;电控锁;控制

I

河南科技大学毕业设计(论文)

Intelligent access Control System

ABSTRACT

Access control system with 89S52 microcontroller as control core, peripheral and buzzer control circuit, door led circuit, electronically controlled locking control circuits, as well as 8-bit digital display circuit. Access control system components: by the CPU, reset circuit, power indicates, work instructions, oscillating circuit, buzzer circuit, door locking circuit, go button, the card module, display module, etc. RF card to complete the credit card button go out the door. Its access control system works: when you swipe your card, buzzer, such as card access permission, display module displays the card number and relay the door open, light is lit, the delay for a period of time after the relay will lock lock again to action, led is off. When you press the go button, the relay opens the door, light is lit, the delay for a period of time after the relay will lock lock again to action, led is off. Radio frequency card program to increase the competence to judge, when faced with legitimate card display card number, door open, self-closing delay 10s, illegal card does not show card number lock does not open. The system is simple, excellent performance, has some relevance.

KEY WORDS: Access control; Electric Lock; control

II

河南科技大学毕业设计(论文)

目 录

前 言 ................................................................................................ 1 第1章 系统设计 ............................................................................... 2

1.1系统方案的比较 .................................................................... 2

1.1.1选题论证 ...................................................................... 2 1.1.2方案选择 ...................................................................... 3 1.2 CPU的选择 ........................................................................... 4 1.3关于卡的选择 ........................................................................ 4 第2章 硬件电路的设计 ................................................................... 5

2.1基本原理 ................................................................................ 5 2.2资源分配 ................................................................................ 5 2.3最小系统设计 ........................................................................ 6 2.4各部分电路原理 .................................................................... 8

2.4.1 门控锁电路 ................................................................. 8 2.4.2 蜂鸣器电路 ................................................................. 9 2.4.3 控制工作指示灯 ....................................................... 10 2.4.4 出门按钮 ................................................................... 11 2.4.5 读卡模块 ................................................................... 12 2.4.6 显示模块 ................................................................... 16

第3章 设计方案的分析 ................................................................. 17

3.1中断系统 .............................................................................. 17 3.2方案的作用 .......................................................................... 18 3.3方案的优越性 ...................................................................... 19 第4章 软件设计 ............................................................................. 20

4.1 流程图 ................................................................................ 21 4.2 子程序分析 ......................................................................... 23

4.2.1显示程序 .................................................................... 23 4.2.2延时程序 .................................................................... 24

结 论 .............................................................................................. 26 谢 辞 ................................................................................................ 27

III

河南科技大学毕业设计(论文)

参考文献 .......................................................................................... 28 附 录 .............................................................................................. 29

1.元件清单 ................................................................................ 29 2.原理图 .................................................................................... 30 3.程序清单 ................................................................................ 31 外文资料翻译 .................................................................................. 39

IV

搜索更多关于: 基于单片机智能门禁系统毕业设计 的文档
基于单片机智能门禁系统毕业设计.doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.diyifanwen.net/c76lq17eluq7d82u9zjlx7yogl1itcy00inn_1.html(转载请注明文章来源)
热门推荐
Copyright © 2012-2023 第一范文网 版权所有 免责声明 | 联系我们
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:xxxxxx 邮箱:xxxxxx@qq.com
渝ICP备2023013149号
Top