1、目目 录录 摘要 1 前言 3 1 多用户门铃的概述 3 2 单片机 AT89C51 简介 3 2.1 单片机的发展史 . 3 2.2 AT89C51 的介绍 3 3 设计方案的选择 4 3.1 方案一 . 4 3.2 方案二 . 4 4 系统硬件设计 5 4.1 AT89C51 芯片 5 4.1.1 AT89C51 芯片引脚排列 5 4.1.2 AT89C51 芯片引脚功能介绍 6 4.1.3 AT89C51 的主要性能参数 7 4.2 晶振电路 . 7 4.3 复位电路 . 8 4.4 负载电路 . 9 4.5 元件分类和清单 10 5 系统软件设计. 10 5.1 多用户门铃设计的流程图
2、 10 5.2 门铃程序的编写 11 6 仿真与调试. 11 6.1 KEILC51 编译软件 . 11 6.2 PROTEUS 仿真软件 . 14 6.2.1 在 proteus 中仿真 15 7 电路板制作与调试. 16 7.1 PROTEL DXP 介绍 16 7.2 在 PROTEL DXP 中绘制电路图 . 18 7.3 电路板的焊接与门铃的测试 19 8 结论. 21 谢 辞. 22 参考文献. 23 附 录. 23 1 基于单片机的多用户门铃基于单片机的多用户门铃 摘要摘要: 小区的安全受到越来越多人的重视, 多用户门铃得到广泛应用。 本文针对小区公寓楼的门铃进行设计, 来访者只
3、需要在楼下按下住户 的门铃,相应住户家里的门铃就会响起,住户听到门铃的响起,可以 按下室内开关控制楼下大门的开启。 本文采用单片机 AT89C51 作为中 央处理芯片,介绍了多用户门铃的设计及其软硬件调试结果。该多用 户门铃方便了人们的生活,大大提高了小区的安全性,满足人们的生 活需求。 关键词关键词:多用户门铃;单片机;AT89C51;软件调试 Based on SCM multi-user the doorbell LI Ye-yi Abstract: The safety of Community drawing more and more attention, multi-user d
4、oorbell being widely applied. Aiming at the village apartment block to design, the doorbell of visitors only need to press resident doorbell downstairs and corresponding households will ring the doorbell of home. Hearing the bell rang, the residents can press indoor switch control doors downstairs o
5、pen. This paper mainly introduces the design idea of how the user the doorbell production methods and the whole manufacture process, multi-user doorbell adopts single-chip microcomputer AT89C51 as central processing chip, this multi-user doorbell convenients to peoples life, greatly improves the vil
6、lage of 2 security, satisfy peoples living needs. Key words: Multi-user doorbell; single-chip microcomputer; AT89C51; QQ:107778000 3 前言 随着人们生活水平的提高,小区的安全受到越来越多人的重视,得到一种简 便实用的门铃控制,不但可以保障小区的安全,而且能够提高人们的效率。本设 计主要介绍了基于单片机的多用户门铃(四用户门铃)电路的设计,从画电路图 开始到仿真再到制板做出实物,本设计详细的介绍了整个设计的思路和制作流 程,并且对使用到的软件(KEIL、PROTEUS、PROTEL)的使用方法和操作流程都 有详细的说明。该多用户门铃以单片机 AT89C51 作为中央处理芯片,详细介绍了 AT89C51 的管脚结构和每个管脚的作用及各自的连接方法,使得该系统的功能扩 展比较方便。AT89C51 是美国 ATMEL 公司生产的低电压、高性能 CMOS 8 位单片 机,片内含 2k bytes 的可反复擦写的只读程序存储器(PEROM)和 12