基于PS2的音乐发生器的设计与实现  被引量:1

Design and Implementation of Music Generator Based on PS2 Interface

在线阅读下载全文

作  者:张行中 ZHANG Xingzhong(Harbin Engineering University,Harbin Heilongjiang 150001)

机构地区:[1]哈尔滨工程大学,黑龙江哈尔滨150001

出  处:《软件》2021年第5期87-90,共4页Software

摘  要:PS2接口用于许多现代的鼠标和键盘。本研究利用PS2接口和配套键盘,使用74194搭建串并转换电路读取PS2键盘的键值,同时采用4051和555芯片作为频率选择模块,利用输入端口的三位二进制数从七路输入端选择相应的频率信号~([2]),信号由NE555模块和7个电位器分频产生频率信号,然后对分频模块的输出信号进行低通滤波~([2]),利用LM324和LM386对信号进行放大~([1])从而驱动末端的扬声器发声。本研究成本低廉,可靠性高,可以实现音乐弹奏,有良好的扩展性。PS2 interface is widely used in mouse and keyboard.In this thesis,the PS2 interface and keyboard are used for controllers.The chip 74194 is used to build a series-parallel conversion circuit to read the value of key sent by PS2 keyboard.In the next module,4051 chip and 555 chip are used for frequency selection.The three-bit binary number from input port is used to select the corresponding frequency signal from seven input ports.The frequency signal is generated by NE555 module and seven potentiometers.Then the output signal of the frequency division module is low-pass filtered,followed by LM324 and LM386 for amplifying the signal,so as to drive the speaker in the end.The product is low-cost,stable and extensible,with the function of playing some notes.

关 键 词:PS2接口 音乐发生器 拨码开关 74147芯片 

分 类 号:TN912.2[电子电信—通信与信息系统]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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