摘要
基于AT89C52为控制核心的数字音乐盒,利用单片机技术、无源蜂鸣器为音频输出、4×4键盘,实现原理图设计到电路板设计开发,并用C语言进行键盘识别程序设计和音频脉冲输出程序的设计。经过软硬件的调试,该数字音乐盒能通过按键来选择乐曲的上一首和下一首、控制音乐的播放或暂停,并且可以通过16×02LCD屏幕显示正在播放歌曲的名字和序号,开机时有英文欢迎字符,乐曲效果良好,音调和节拍都相当准确。
This paper describes the digital music box designed by the use of AT89C52 microcontroller as control center.The digital music box is developed by SMC technology,passive buzzer as audio output,4×4 keyboard and to realize Schematic and circuit diagram designing,the key-board design of the identification procedures;Furthermore pulse is generated audio output of the design process by C language.Through the hardware and software test.The digital music box can play digital music,you can press keys to choose the previous music and the next one,control music to playback or pause,and can display the currently playing song's name and serial number by 16×02LCD,boot with English welcomed characters.It can play better music,intonation and rhythm is precisely con-trolled by SCM.
出处
《机械》
2011年第6期65-67,共3页
Machinery