基于单片机PWM控制的音乐门铃的设计  被引量:2

Design of Music Door Bell Based on MCU PWM Control

在线阅读下载全文

作  者:李亚琴 Li Yaqin(Guangdong Polytechnic of Industry and Commerce,Guangzhou Guangdong,510006)

机构地区:[1]广东工贸职业技术学院

出  处:《电子测试》2019年第14期14-16,共3页Electronic Test

摘  要:针对传统51单片机定时翻转电平驱动蜂鸣器存在的不足之处,提出了以PIC单片机为平台,利用PWM产生的音频信号驱动蜂鸣器演奏乐曲,实现了音乐门铃系统的应用设计。通过PWM端口输出不同脉冲信号频率及脉宽,驱动蜂鸣器发出不同的音调,并利用内部定时器来控制音调高低和节拍长度,此外结合按键切换播放不同的歌曲。经PROteus进行仿真测试后,发现该系统小巧灵活,方便安装,具有实用价值。Aiming at the shortcomings of the traditional 51 single chip microprocessor timing flip level drive buzzer, this paper proposes to use the PIC single chip microprocessor as a platform, using the audio signal generated by PWM to drive the buzzer to play music, and realizes the application design of the music doorbell system. Through the PWM port output different pulse signal frequency and pulse width, drive the buzzer to produce different tones, and use the internal timer to control the pitch level and beat length, in addition, combined with key switching to play different songs. After the simulation test by PROteus, it is found that the system is compact, flexible, easy to install and has practical value.

关 键 词:PIC单片机 PWM 蜂鸣器 定时器 音乐门铃 

分 类 号:TP3[自动化与计算机技术—计算机科学与技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象