摘 要本 设 计 是 采 纳 单 片 机 为 核 心 设 计 的 数 字 音 乐 盒 。 具 体 硬 件 电 路 包 括 :AT89C2051 单片机、音频发生器、音频放大器、按键电路、复位电路、时钟电路。本音乐盒可以播放三首音乐,通过软件程序来控制单片机内部的定时器使其产生音乐频率,演奏出优美动听的音乐同时,用户通过选择按键电路来选择自己喜爱的音乐,同时具有播放\暂停功能。与传统的机械式音乐盒相比,用单片机设计的音乐盒体积更小巧,且制作工艺简单,音质更优美能演奏出和弦音乐。关键词:音乐盒 AT89C2051 播放\暂停AbstractThis design is used as the core design of single chip digital music box. Specific hardware circuit includes: AT89C2051 microcontroller, audio generator, audio amplifier, keypad circuit, reset circuit, clock circuit. The music box can play three songs, through the software program to control the microcontroller's internal timer frequency to produce music, playing the beautiful sounds of music at the same time, the user by selecting the button circuit to select your favorite music, both play \ pause function. With the traditional mechanical music box than a music box with a single chip design is more compact size and simple fabrication process, can play a sound more beautiful polyphonic music. Keywords: music box AT89C2051 Broadcast \ pause 目 录摘 要.....................................................................................................................................iAbstract..................................................................................................................................ii第一章 绪论..........................................................................................................................1第一节 选题目的和意义..............................................................................................1第二节 国内外进展情况.............................................................