当前位置:文档之家› 基于单片机的电子音乐门铃的设计

基于单片机的电子音乐门铃的设计

本科毕业设计(论文)题目基于单片机的电子音乐门铃的设计姓名专业学号指导教师二○一五年五月目录摘要 (I)Abstract (II)前言.......................................................................................................................... I V 1 电子音乐门铃的总体设计.. (1)1.1 电子音乐门铃的设计的任务与要求 (1)1.2 总体设计思路 (1)2 硬件电路的设计 (2)2.1 电路总体框图 (2)2.2 主控电路的设计 (2)2.3 发射电路 (5)2.4 接收电路 (7)2.5 扬声器驱动电路 (8)2.6 时钟电路 (8)2.7 复位电路 (9)3 系统软件的设计 (10)3.1 系统总体程序流程图 (10)3.2 单片机发声设计 (11)3.3程序设计 (12)4 调试与实现 (15)4.1 电路焊接 (16)4.2 功能调试 (16)结论 (18)致谢 (20)参考文献 (21)附录一:原理图 (23)附录二:元器件清单 (24)附录三:实物图 (25)附录四:操作说明 (26)附录五:源程序 (27)基于单片机的电子音乐门铃的设计摘要随着无线电技术微型电子技术的高速发展,电子门铃到现在的音乐门铃,对讲门铃、可视门铃等,其发展速度不断的提高。

针对现在世界范围内经济严峻形式和我国经济发展面临新的不确定性因素,能否根据快速变化的外部经济环境来调整企业发展规划和经营方针,已经成为我国音乐门铃企业面前亟待解决的问题。

无线电子音乐门铃的发展需要我们不断的进行研究、不断创新,向着产品信息化、数字化、智能化方向发展。

随着人们生活水平的大幅度的不断提高,人们对自己居住环境的方便、安全提出了愈来愈高的要求,特别是家居住宅的智能化方面,人们迫切需要一种不只是使用方便、安全可靠等多方面优点于一体的智能电子音乐门铃产品,所以智能化电子音乐门铃系统的设计成为本课题研究的目标。

本文介绍了一种新式的无线电子音乐门铃,此设计采用具有编码功能的无线模块,结合单片机采用中断的方式来产生无线电方波。

为电子音乐门铃两个模块之间免去连接导线、安装方便的新式电子高音质门铃。

此门铃具有电路体积小,遥控距离远,抗干扰能力强,电路简单可靠,低功耗等优点,接收电路连同主控机扬声器于一体,可以轻松放置在室内有220V交流电源的地方,此设计也能够用电池供电,更加方便灵活!而且还可以播放几首不同的音乐,能够满足不同人对生活的不同需求,而且具有广阔的发展前景。

本设计采用AT89C51单片机作为主控制芯片,外部有三极管驱动播放设备,来实现优美音乐的播放的驱动,无线电模块实现无线的连接,在现实应用中更易安装,是家居首选,功耗低,遥控距离远,性能稳定等特点。

关键词:无线遥控;音乐门铃;单片机DESIGN OF ELECTRONIC MUSIC DOORBELLBASED ON CHIPAbstractWith the development of microelectronic technology, wireless technology, by the button doorbell began to visualdoorbell, nowthe intelligent digitaldoorbell, soaringdevelopment speed. In view of the current worldwide economic severe form andoperation of China's economy is facing new uncertainties, according to the rapidly changing external economic environment, adjust enterprise development planning and management policy, has become an urgent in front of wireless music doorbellenterprises of China's problems. In the situation of the global financial crisis, we continue to research, innovation requires the development of wireless remote control doorbell enterprise, towardthe product intelligent, digital, information-based directiondevelopment.With the rapid development of microelectronic technology, wireless technology and the network technology and the improvement of people's living standard, put forward higher request people to safety, convenient living environment, especially in theintelligent residential, people urgently need a not only safe and reliable, easy to useand other advantages of intelligent doorbell the product, so the design of wireless remote control music doorbell system has become the aim of the project.This paper introduces a new type of wireless remote control music doorbell, it adoptssuper regeneration wireless module with encoding function, combined with SCMinterrupt generation Fang Bo, become a sound, the doorbell button and the sound source from the new remote connection, convenient installation and high quality door bell. This bell has the advantages of low power consumption, simple and reliable circuit, strong anti-interference ability, long distance remote control, has the advantages of small volume, the circuit, receiving circuit and the main controlmachine horn is equal to one, can be placed on a 220V AC power supply in indoorplaces, this design can also be powered by batteries, more convenient! Canalsotransform the doorbell music, make a pleasant voice, to meet different needs of life,with broad prospects for development.This design uses AT89C51 microcontroller as the main controller, external andtransistor drive playback device, so as to realize the hardware circuit of music playback, wireless module to realize wireless links, more easy to install in the practical application, is the preferred home furnishing, stable performance, long distance remote control, low power.Key Words: Wireless remote ; music doorbell;chip前言随着时代的发展和进步,智能控制、小型化仪器、低功耗的仪器得到广泛关注。

在这些领域中,单片机起到了至关重要的作用,这就把单片机的应用提升到首要的地位,单片机应用系统设计就成为新的技术热点[11-12]。

同时伴随着人们生活水平的不断提高,人们对智能家居的要求逐渐增高,因为电子音乐门铃具有悦耳动听的铃声,所以在客人拜访时按动门铃,则播放的是优美的流行音乐等个性化的电子声乐。

而不再是单调的提示音,使客人在等待时放松一下。

而且电子音乐门铃的价格低廉,能耗小,在现代家居中越来越受到人们的青睐,能够进一步满足人们对生活享受的要求[5]。

随着我国经济的不断发展,大力推进智能社区的建设更加符合现代化发展的中国国情,一方面能够节省资源,另一方面对于加强城市规划和管理也有很大的好处。

作为一个通信类的学习者,设计的东西应该与通信有关,因此我设计的电子音乐门铃有无线通信模块。

1 电子音乐门铃的总体设计1.1电子音乐门铃的设计的任务与要求由于电子音乐门铃具有悦耳动听的铃声,在有人拜访时按动门铃,则播放优美的音乐而不再是单调的提示音,使客人在等待时放松一下。

而且电子音乐门铃的价格低廉,能耗小,在现代家居中越来越受到人们的青睐。

本设计主要有单片机、扬声器和手动按钮开关等组成。

通过触动门铃开关循环播放音乐,提示主人有客人到访。

其功能主要有:(1)、采用无线电进行遥控,能够达到十米的遥控距离;(2)、门铃按键开关按下时,音乐会响起;(3)、有可以随时关闭音乐门铃的复位按键;(4)、电子音乐门铃的音乐至少存3首歌曲,并且可以通过程序来更改音乐;(5)、单片机采用电池或变压器进行供电,是电路正常工作;(6)、无线电发射器采用电池进行供电。

相关主题