多功能智能门铃的设计
无需注册登录,支付后按照提示操作即可获取该资料.
多功能智能门铃的设计(论文11200字)
摘要:如今,智能化和便捷化是人们日常生活所关注的。不同于以往门铃只有“叮咚”声的功能,现在的出现的许多智能化门铃,都有着何种各样的功能,如语音、留言及报警等等功能。此次设计,选用STC89C52单片机,通过此单片机的控制功能去驱动其他功能芯片,按照模块化的原则而特别设计出来的。其中,ISD4004语音芯片,通过STC89C52来控制,充分利用它在录音和放音的出色功能,加上红外模块和蜂鸣器,加强了整个门铃系统的实用性与安全性。
本次设计的智能化门铃系统,当门铃按键按下时,开关能够模拟门磁信息的变化,门铃根据门磁的变化来决定是播放门铃声,还是播放留言提示。主人在家时,播放门铃声,不在家时,提示留言录音。通过单片机接收红外探测系统信号的变化,来控制照明,然后根据单片机定时器计数来决定是否开启蜂鸣器和联动报警。
关键字:STC89C52单片机;ISD4004语音芯片;红外探测
The design and implementation of multi-functional intelligent doorbell
Abstracts: Nowadays, the focus of People's Daily life is becoming more and more intelligent and convenient. Unlike conventional doorbells which only own one function and one kind of sound ‘Ding-Dong’, intelligent doorbells always have many kinds of functions, such as recording, leaving words, and warning etc. Based on the principle of modularity, the STC89C52 microcontroller was used as the core to design of multi-functional intelligent doorbell, whose control function can be used to drive other chips. To make full use of the recording and playback function of the voice chip ISD4004, it is under the control of the microcontroller with the addition of infrared detector and buzzer, resulting in strengthening the whole bell system’s practicality and safety.
In this design of intelligent doorbell system, as the button is pressed, the switch will simulate the change of the gate magnetic information. According to the change of gate magnetic information, doorbell decides to play the doorbell or the voice of prompting message. If master is at home, it will play the doorbell; otherwise, it will play the voice of prompting message.The microcontroller controls the lights by receiving the signal change of infrared detector. Finally, the doorbell uses the count of microcontroller timer/counter to decide whether to open the buzzer and the linked switch or not.
Keywords:STC89C52microcontroller; ISD4004voice chip; infrared detector
目录
摘要 I
Abstracts II
1.引言 1
1.1设计背景 1
1.2设计目的和意义 1
2.多功能门铃的总体设计方案 2
2.1设计要求 2
2.2设计方案 2
2.3设计原理 2
3.硬件部分设计 3
3.1 主控模块 3
3.1.1 STC89C52单片机 3
3.1.2 复位电路 4
3.1.3 晶振电路 5
3.1.4下载电路 5
3.2 ISD4004语音模块 5
3.2.1 ISD4004芯片简介 5
3.2.2 ISD4004引脚功能 6
3.2.3 ISD4004的工作原理 7
3.2.4 ISD4004语音电路 8
3.3 人体红外感应模块 9
3.3.1 红外感应原理 9
3.3.2 HC-SR501红外感应器特性简介 10
3.3.3 红外感应电路 11
3.4 键盘扫描电路设计 11
3.5照明电路 12
3.6联动报警电路 12
3.7总体电路图 13
4.软件设计 14
4.1 Keil C51 IDE简介 14
4.2 程序设计流程图 14
4.3 按键判断程序编写 15
4.4录放音程序编写 17
4.4.1放音子程序 17
4.4.2录音子程序 20
4.5报警照明程序编写 24
4.6 中断计时程序的编写 25
5.系统调试及实现 26
5.1 Keil仿真调试 26
5.2 Proteus仿真调试 27
5.3 系统硬件实现及成果展现 29
5.4 结果分析 29
6.总结与感想 30
参考文献 31
致 谢 32