摘 要: 伴随人类社会不停繁荣和进展,大家对本身生活品质要求也变得越来越高,在听觉方面传统音乐盒能带给大家更多只是美好回想,而因为单片机含有体积小、成本低、运算快和功耗小等特点得到了大家越来越广泛利用。本设计是一个基于 STC89C52 系列单片机音乐盒,依据单片机技术及原理,经过硬件电路制作和软件编译,设计制作出一个插卡式音乐盒。该音乐盒关键是由按键电路、继电器电路、LCD 显示电路和扬声器组成。使用五个按键控制音乐盒,分别用来控制音乐盒播放/暂停,复位,切换上一曲/下一曲,本音乐盒利用优盘共存有五首歌曲。本设计利用 KEIL 编程软件对音乐盒源程序进行编程并调试,以后下载进 51 单片机中使用。关键词:单片机 音乐盒 LCD Abstract With the continuous development of human society, people's quality of life demands are increasingly high, the traditional music box in the auditory aspectto bring people more good memories, but due to the microcomputer has the advantages of small volume, low cost, low power consumption and fast operation has been more and more extensive use. The design is based on the music box STC89C52 Series MCU, based on single chip microcomputer principle, the hardware circuit and software compilation, designed to produce aplug-in music box. The music box is composed of a key circuit, a relay circuit,LCD display circuit and a loudspeaker. The use of four buttons control themusic boxes, music boxes were used to control the play / pause, switch on a /the next song, the music box using the USB coexist with five songs. The design of programming on the music box and debug source code using KEIL programming software, then download into 51 single chip processor.Keywords: SCM Music Box LCD 目 次目 次..............................................................31 引言..............................................................41.1 音乐盒意义.....................................................41.2 讨论内...