【正文】
械音樂盒放音時為了讓音色穩(wěn)定,必須放平不能動搖,而且價格昂貴,不能實現(xiàn)大批量生產(chǎn)。但是,機(jī)械式的音樂盒體積比較大,比較笨重,且發(fā)音單調(diào)。音樂盒有著 300 多年的發(fā)展歷史,是人類文明發(fā)展的歷史見證。s spiritual and cultural enjoyment. Traditional music box is the mechanical type, bulky, and monotone, mass production can not be achieved. This course is designed for music cassettes with singlechip microputer as the core ponents of electronic music box, small volume, light weight, can play music, Itcan play Do, Re, Mi, Fa, So, La, Si Seven tone, It can be used as a small electronic piano, played by playing the songs you want and provide unlimited fun playing music, It can also play 7 songs, songs can be free to choose. Music box function of the engineering design, easy to use, and has mercial value, can produce for intelligence development toy for children. It also can produce music for young people and old people indispensable in the life.Keywords: AT89C51 Audio Amplifier目錄摘 要 ..........................................................................................................................IABSTRACT .............................................................................................................II第一章 緒論 .................................................................................................... 4 音樂盒概況 ................................................................................................................ 2 研究意義 ................................................................................................................... 2 研究目標(biāo) .................................................................................................................... 2 第二章 音樂盒的總體設(shè)計 ................................................................................ 3 總體設(shè)計原理 ........................................................................................................... 3 總體設(shè)計框圖 ........................................................................................................... 3 第三章 芯片的選擇與介紹 ................................................................................ 4 MCS51 系列單片機(jī)介紹 ......................................................................................... 5 單片機(jī)的選擇 ........................................................................................................... 5 第四章 系統(tǒng)硬件設(shè)計 ........................................................................................ 6 總體電路組成 ...................................................................................................... 7 最小系統(tǒng) ................................................................................................................. 7 聲音驅(qū)動 ................................................................................................................. 7 數(shù)碼管顯示部分 ..................................................................................................... 8 按鍵部分 ................................................................................................................. 9 第五章 系統(tǒng)軟件設(shè)計 ...................................................................................... 10 系統(tǒng)主程序流程圖 .................................................................................................. 10 寫譜軟件 ................................................................................................................. 11 軟件的編碼 ............................................................................................................. 11 第六章 系統(tǒng)硬件制作 ...................................................................................... 13 硬件制作與調(diào)試 ................................................................................................... 13 調(diào)試結(jié)果 ................................................................................................................. 14 第七章 總結(jié) .................................................................................................... 15 參考文獻(xiàn) ............................................................................................................ 16 附錄一 原理圖 .....................................