摘要
采用单片机AT89S52作为主控芯片,用4×4键盘电路进行音调的选择,音调值由LED数码管显示,设计了一款简易电子琴,实现了16个音调的发音和歌曲的播放。对音调的产生原理和节拍的控制进行了说明。最后利用PROTEUS和KEIL软件进行了联合仿真和调试,较好地实现了16音调发音和歌曲播放的功能。
A simple electronic piano is designed based on AT89S52 MCU, the tone is chosen by 4 × 4 keyboard circuit to and the tone value is displayed by the LED digital tube, which has the function of the 16 tones' s pronunciation and song's play. At the same time, the tone realization principle and the control of the rhythm is described. Finally, the PROTEUS and KEIL softwares are used to simulate and debug, the functions of the 16 tones' s pronunciation and song's play are achieved.
出处
《湖南文理学院学报(自然科学版)》
CAS
2015年第4期30-32,共3页
Journal of Hunan University of Arts and Science(Science and Technology)
基金
湖南省教育厅项目(13C626)