【正文】
[鍵入文字 ] I 基于 51 單片機(jī)的數(shù)字語音存儲與回放系統(tǒng)設(shè)計 摘 要 該文采用 AT89C51單片機(jī)和 ISD2560語音芯片設(shè)計一款實(shí)時語音錄放系統(tǒng),能實(shí)現(xiàn)錄音時間達(dá) 60s、錄放音受按鍵控制、可復(fù)位且音量可調(diào)等諸多功能。 整個系統(tǒng)共有三大模塊:單片機(jī)控制模塊、語音錄放模塊、功放模塊??刂颇K核心是 51 單片機(jī)的口線功能,通過對按鍵的識別來控制語音錄放模塊的工作模式;語音錄放模塊能實(shí)現(xiàn)對聲音的處理、存儲以及復(fù)原的功能;功放模塊能對復(fù)原好的音頻信號加以放大,使聲音更加清晰明亮。整個設(shè)計圍繞以下三方面進(jìn)行研究 :總體方案設(shè)計、硬件電路設(shè)計、軟件設(shè)計。 關(guān)鍵詞: AT89C51 單片機(jī) ,語音存儲 ,語音回放 [鍵入文字 ] II DESIGN OF VOICE RECORDING AND PLAYBACK SYSTEM BASED ON AT89C51 ABSTRACT The propose of this paper is to design a realtime speech recording system with AT89C51 microcontroller and ISD2560 voice chip,it can realize the recording time of 60s, sound recording and playback controlled by button, can reset and voice can adjust. The system includes three modules:single chip microputer control module, voice recording module, power amplifier module. Core of control module is 51SCM mouth line function, through the identification of key to control the voice recording module work model。voice recording module can realize voice processing,storage and playback。power amplifier module for audio signal amplified, to make the sound more clear and whole design around the following three aspects: the overall design, hardware circuit design, and the design of software. Key Words:AT89C51, phoic storage , phoic playback [鍵入文字 ] III 目錄 摘 要 .................................................................................................................................. I ABSTRACT ...................................................................................................................... II 目錄 ................................................................................................................................. III 第 1章 緒論 ...................................................................................................................... 1 課題研究背景 .......................................................................................................... 1 國內(nèi)外研究現(xiàn)狀 ....................................................................................................... 2 語音存儲技術(shù)的發(fā)展前景 ......................................................................................... 2 設(shè)計任務(wù)與要求 ....................................................................................................... 3 第 2章 總體方案設(shè)計 ........................................................................................................ 4 總體方案論證 ........................................................................................................... 4 器件選擇 .................................................................................................................. 5 單片機(jī)的選擇 ..................................................................................................... 5 語音芯片選擇 ..................................................................................................... 6 功放選擇 ............................................................................................................ 6 各芯片詳細(xì)說明 ........................................................................................................ 7 AT89C51 芯片 ...................................................................................................... 7 ISD2560 語音芯片 ................................................................................................ 8 LM386 集成功率放大器芯片 ...............................................................................12 第 3章 硬件電路設(shè)計 .......................................................................................................15 硬件電路總體設(shè)計 ....................................................................................................15 AT89C51 的外圍電路設(shè)計 .........................................................................................15 電源 ...................................................................................................................15 晶振電路設(shè)計 .....................................................................................................15 復(fù)位電路設(shè)計 ....................................................................................................16 語音電路設(shè)計 ..........................................................................................................17 [鍵入文字 ] IV 功放電路設(shè)計 ..........................................................................................................18 鍵盤輸入電路和狀態(tài)顯示電路設(shè)計 ...........................................................................19 第 4章 軟件設(shè)計 ..............................................................................................................20 主要變量說明 ..........................................................................................................20 主程序流程圖 ..........................................................................................................21 子程序流程圖及代碼 ................................................................................................22 錄音子程序 ........................................................................................................22 放音子程序 ........................................................................................................23 第 5章 系統(tǒng)調(diào)試與實(shí)驗結(jié)果 .............................................................................................25 系統(tǒng)調(diào)試 ..................................................................................................................25 實(shí)驗結(jié)果 ..................................................................................................................27 第 6章 總結(jié) ................................................