《單片機(jī)原理與應(yīng)用課程設(shè)計》數(shù)字音樂盒設(shè)計
《《單片機(jī)原理與應(yīng)用課程設(shè)計》數(shù)字音樂盒設(shè)計》由會員分享,可在線閱讀,更多相關(guān)《《單片機(jī)原理與應(yīng)用課程設(shè)計》數(shù)字音樂盒設(shè)計(35頁珍藏版)》請在裝配圖網(wǎng)上搜索。
1、 長 沙 學(xué) 院 《單片機(jī)原理與應(yīng)用課程設(shè)計》 課程設(shè)計說明書 系 (部) 電子與通信工程系 專業(yè)(班級) 08電氣二班 姓 名 學(xué) 號 指導(dǎo)教師 王新輝、謝明華、劉輝 起止日期 《單片機(jī)技術(shù)及應(yīng)
2、用》課程設(shè)計任務(wù)書 系(部):電子與電氣工程系 專業(yè):08級電氣工程 指導(dǎo)教師:王新輝、謝明華、劉輝 課題名稱 數(shù)字音樂盒設(shè)計 設(shè)計內(nèi)容及要求 課題要求: 1、 用單片機(jī)的I/O口產(chǎn)生一定頻率的方波,驅(qū)動蜂鳴器,發(fā)出不同的音調(diào),從而演奏樂曲。 2、 共有10首樂曲,每首樂曲都由相應(yīng)的按鍵控制,并且有開關(guān)鍵、暫停鍵、上一曲及下一曲控制。 3、 用12864液晶顯示顯示本人的姓名、班級和學(xué)號,還有歌曲的序號、播放時間,開機(jī)時顯示英文歡迎提示字符等信息。 設(shè)計工作量 1、匯編或C51語言程序設(shè)計; 2、程序調(diào)試,在Proteus上進(jìn)行仿真; 3、提交一份完整的課程設(shè)計說明
3、書,包括封面,中文摘要,目錄,正文(正文主要包括:設(shè)計原理、程序設(shè)計、程序分析、仿真分析、調(diào)試過程,調(diào)試結(jié)果等部分),參考文獻(xiàn)、設(shè)計總結(jié)等。 進(jìn)度安排 起止日期(或時間量) 設(shè)計內(nèi)容(或預(yù)期目標(biāo)) 備注 第一天 課題介紹,答疑,收集材料,C51介紹 第二天 設(shè)計方案論證,練習(xí)編寫C51程序 第三天~第六天 程序設(shè)計 第六天~第八天 程序調(diào)試、仿真 第九天~第十天 系統(tǒng)測試并編寫設(shè)計說明書 教研室 意見 年 月 日 系(部)主管領(lǐng)導(dǎo)意見 年 月 日 長沙學(xué)
4、院課程設(shè)計鑒定表 姓名 學(xué)號 專業(yè) 班級 設(shè)計題目 數(shù)字音樂盒設(shè)計 指導(dǎo)教師 王新輝、謝明華、劉輝 指導(dǎo)教師意見: 評定等級: 教師簽名: 日期: 答辯小組意見: 評定等級: 答辯小組長簽名: 日期: 教研室意見: 教研室主任簽名: 日期: 系(部)意見: 系主任簽名: 日期: 說明 課程設(shè)計成績分“優(yōu)秀”、“
5、良好”、“及格”、“不及格”四類; 一、 摘要 本設(shè)計是以AT89C51芯片的電路為基礎(chǔ),利用keil和proteus仿真軟件,設(shè)計出一個多功能音樂盒。音樂盒主要由五大模塊構(gòu)成,包括AT89C51芯片、4*4矩陣鍵盤、蜂鳴器、晶振復(fù)位電路和12864液晶顯示器。有開機(jī)鍵(開機(jī)時顯示welcom),暫停鍵、播放鍵、上一曲、下一曲以及10個用來選擇歌曲的鍵。此外用戶可以按照自己的喜好選擇音樂并將其轉(zhuǎn)化成機(jī)器碼存入單片機(jī)的存儲器中。對于不同型號的單片機(jī)只需要相應(yīng)的改變一下地址即可。該軟、硬件系統(tǒng)具有很好的通
6、用性,很高的實際使用價值。 關(guān)鍵字:AT89C51;Keil;12864液晶顯示器;計時;音樂盒 二、 原理描述 2.1芯片AT89C51的介紹 AT89C51是一種帶4K字節(jié)閃存可編程可擦除只讀存儲器(FPEROM—Flash Programmable and Erasable Read Only Memory)的低電壓,高性能CMOS 8位微處理器,俗稱單片機(jī)。AT89C2051是一種帶2K字節(jié)閃存可編程可擦除只讀存儲器的單片機(jī)。單片機(jī)的可擦除只讀存儲器可以反復(fù)擦除100次。該器件采用ATMEL高密度非易失存儲器制造技術(shù)制造,與工業(yè)標(biāo)準(zhǔn)的MCS-51指令集和輸出管腳
7、相兼容。由于將多功能8位CPU和閃爍存儲器組合在單個芯片中,ATMEL的AT89C51是一種高效微控制器,AT89C2051是它的一種精簡版本。AT89C51單片機(jī)為很多嵌入式控制系統(tǒng)提供了一種靈活性高且價廉的方案。外形及引腳排列如圖2.1所示 圖3.2 AT89C51引腳排列圖 2.2 LCD12864的顯示 12864是一種圖形點陣液晶顯示器,它主要由行驅(qū)動器/列驅(qū)動器及12864全點陣液晶顯示器組成。它有8頁(8行一頁)、128列,可完成圖形顯示,也可以顯示84個漢字。 12864硬件模塊說明: 圖2.2中,IC1為行驅(qū)動器,IC2、IC3為行驅(qū)動器,外部的CPU通
8、過13根線對模塊進(jìn)行控制。其中DB7—DB0為并行數(shù)據(jù)總線,E、R/W、D均為控制信號線,CSA、CSB則為選屏信號,分別控制左、右半屏。 圖2.2 12864的硬件模塊圖 2.3 音調(diào)的產(chǎn)生 頻率的高低決定了音調(diào)的高低。音樂的十二平均率規(guī)定:每兩個八度音(如簡譜中的中音1和高音1)之間的頻率相差一倍。在兩個八度音之間又分為十二個半音。另外,音名A(簡譜中的低音6)的頻率為440Hz,音名B到C之間、E到F之間為半音,其余為全音。由此可以計算出簡譜中從低音1到高音1之間每個音名對應(yīng)的頻率,所有不同頻率的信號都是從同一個基準(zhǔn)頻率分頻得到的。 1、要產(chǎn)生音頻脈沖,只要算出某一音
9、頻的周期(1/頻率),然后將此周期除以2,即為半周期的時間。利用定時器計時這半個周期時間,每當(dāng)計時到后就將輸出脈沖的I/O反相,然后重復(fù)計時此半周期時間再對I/O反相,就可在I/O腳上得到此頻率的脈沖。 2、利用AT89C51的內(nèi)部定時器使其工作在計數(shù)器模式MODE1下,改變計數(shù)值TH0及TL0以產(chǎn)生不同頻率的方法。 此外結(jié)束符和休止符可以分別用代碼00H和FFH來表示,若查表結(jié)果為00H,則表示曲子終了;若查表結(jié)果為FFH,則產(chǎn)生相應(yīng)的停頓效果。 3、例如頻率為523Hz,其周期T=1/523=1912us,因此只要令計數(shù)器計時956us/1us=956,在每次技術(shù)956次時將I
10、/O反相,就可得到中音DO(523Hz)。 計數(shù)脈沖值與頻率的關(guān)系公式如下: N=Fi2Fr N:計算值; Fi:內(nèi)部計時一次為1us,故其頻率為1MHz; 4、其計數(shù)值的求法如下: 初值T=65536-N=65536-Fi2Fr 例如:設(shè)K=65536,F(xiàn)=1000000=Fi=1MHz,球低音DO(261Hz)。中音DO(523Hz)。高音的DO(1046Hz)的計算值 T=65536-N=65536-Fi2Fr=65536-10000002Fr=65536-500000/Fr 低音DO的T=65536-500000/262=63627 低音D
11、O的T=65536-500000/523=64580 低音DO的T=65536-500000/1047=65059 4、 C調(diào)各音符頻率與計數(shù)值T的對照表如表4.1所示。 表2.3 C調(diào)各音符頻率與計數(shù)值T的對照表 低音 頻率 N 參數(shù) 中音 頻率 N 參數(shù) 高音 頻率 N 參數(shù) Do 262 1908 229 Do 523 956 115 Do 1046 57 57 Do# 277 1805 217 Do﹟ 554 903 108 Do﹟ 1109 54 54 Re3 294 170
12、1 204 Re 587 852 102 Re 1175 51 51 Re﹟ 311 1608 193 Re﹟ 622 804 97 Re﹟ 1245 48 48 Mi 330 1515 182 Mi 659 759 91 Mi 1318 45 45 Fa 349 1433 172 Fa 698 716 86 Fa 1397 43 43 Fa﹟ 370 1351 162 Fa﹟ 740 676 81 Fa﹟ 1480 41 41 So 392 1276 153 So 7
13、84 638 77 So 1568 38 38 So﹟ 415 1205 145 So﹟ 831 602 72 So﹟ 1661 36 36 La 440 1136 136 La 880 568 68 La 1760 34 34 La﹟ 464 1078 129 La﹟ 932 536 64 La﹟ 1865 32 32 Si 494 1012 121 Si 988 506 61 Si 1976 30 30 2.4 節(jié)拍的確定 若要構(gòu)成音樂,光有音調(diào)是不夠的,還需要節(jié)拍,讓音樂具有旋
14、律(固定的律動),而且可以調(diào)節(jié)各個音的快滿度?!肮?jié)拍”,即Beat,簡單說就是打拍子,就像我們聽音樂不自主的隨之拍手或跺腳。若1拍實0.5s,則1/4 拍為0.125s。至于1拍多少s,并沒有嚴(yán)格規(guī)定,就像人的心跳一樣,大部分人的心跳是每分鐘72下,有些人快一點,有些人慢一點,只要聽的悅耳就好。音持續(xù)時間的長短即時值,一般用拍數(shù)表示。休止符表示暫停發(fā)音。 一首音樂是由許多不同的音符組成的,而每個音符對應(yīng)著不同頻率,這樣就可以利用不同的頻率的組合,加以與拍數(shù)對應(yīng)的延時,構(gòu)成音樂。了解音樂的一些基礎(chǔ)知識,我們可知產(chǎn)生不同頻率的音頻脈沖即能產(chǎn)生音樂。對于單片機(jī)來說,產(chǎn)生不同頻率的脈沖是非常方便的,
15、利用單片機(jī)的定時/計數(shù)器來產(chǎn)生這樣的方波頻率信號。因此,需要弄清楚音樂中的音符和對應(yīng)的頻率,以及單片機(jī)定時計數(shù)的關(guān)系。 表2.41節(jié)拍與節(jié)拍碼對照 節(jié)拍碼 節(jié)拍數(shù) 節(jié)拍碼 節(jié)拍數(shù) 1 1/4拍 1 1/8拍 2 2/4拍 2 1/4拍 3 3/4拍 3 3/8拍 4 1拍 4 2/1拍 5 1又1/4拍 5 5/8拍 6 1又1/2拍 6 3/4拍 8 2拍 8 1拍 A 2又1/2拍 A 1又1/4拍 C 3拍 C 1又1/2拍 F 3又3/4拍 每個音符使用1個字節(jié),字節(jié)的高4位代表音符的高
16、低,低4位代表音符的節(jié)拍,表2.41為節(jié)拍碼的對照。如果1拍為0.4秒,1/4拍實0.1秒,只要設(shè)定延遲時間就可求得節(jié)拍的時間。假設(shè)1/4拍為1DELAY,則1拍應(yīng)為4DELAY,以此類推。所以只要求得1/4拍的DELAY時間,其余的節(jié)拍就是它的倍數(shù),如圖5.3為1/4和1/8節(jié)拍的時間設(shè)定。 表2.42 1/4和1/8節(jié)拍的時間設(shè)定 曲調(diào)值 DELAY 曲調(diào)值 DELAY 調(diào)4/4 125毫秒 調(diào)4/4 62毫秒 調(diào)3/4 187毫秒 調(diào)3/4 94毫秒 調(diào)2/4 250毫秒 調(diào)2/4 125毫秒 2.5 音符的編碼 do re mi fa so la
17、 si分別編碼為1~7,重音do編為8,重音re編為9,停頓編為0。播放長度以十六分音符為單位(在本程序中為165ms),一拍即四分音符等于4個十六分音符,編為4,其它的播放時間以此類推。音調(diào)作為編碼的高4位,而播放時間作為低4位,如此音調(diào)和節(jié)拍就構(gòu)成了一個編碼。以0xff作為曲譜的結(jié)束標(biāo)志。 舉例1:音調(diào)do,發(fā)音長度為兩拍,即二分音符,將其編碼為0x18 舉例2:音調(diào)re,發(fā)音長度為半拍,即八分音符,將其編碼為0x22 歌曲播放的設(shè)計。先將歌曲的簡譜進(jìn)行編碼,儲存在一個數(shù)據(jù)類型為unsigned char 的數(shù)組中。程序從數(shù)組中取出一個數(shù),然后分離出高4位得到音調(diào),接著找出相應(yīng)的值賦
18、給定時器0,使之定時操作蜂鳴器,得出相應(yīng)的音調(diào);接著分離出該數(shù)的低4位,得到延時時間,接著調(diào)用軟件延時。 三、 程序設(shè)計與硬件電路 3.1設(shè)計思路 程序設(shè)計部分主要有:字模部分、LCD12864顯示、簡譜音調(diào)及節(jié)拍、計時、鍵盤掃描部分。硬件設(shè)計部分見下圖3.11: 設(shè)計思路見如下實驗控制流程圖3.12: 初始化變量及LCD接口 初始化計數(shù)器T0,定時器T1 LCD顯示英文歡迎字符 等待按鍵,是否有按鍵?包括 播放鍵,暫停鍵,停止鍵 歌曲號及播放時間顯示在LCD上 主程序開始 依據(jù)按鍵碼演奏對應(yīng)的歌曲 Y N 3.2 設(shè)計程
19、序見附件 四、 仿真調(diào)試及操作說明 1、按下開機(jī)鍵ON/C 2、按下歌曲鍵0播放第一首歌 3、操作說明 44鍵盤共16個鍵,操作說明如下: “0”:歌曲0,《母親》 “1”:歌曲1,《世上只有媽媽好》 “2”:歌曲2,《兒行千里》 “3”:歌曲3,《感恩的心》 “4”:歌曲4,《七子之歌》 “5”:歌曲5,《小青蛙》 “6”:歌曲6,《找朋友》 “7”:歌曲7,《千年之戀》 “8”:歌曲8,《兩只老虎》 “9”:歌曲9,《寂寞沙洲冷》 “ON/C”:開機(jī)鍵 “=”:暫停鍵,此時音樂和播放時間都暫停
20、 “”(乘號):播放鍵 “+”:下一曲,播放下一首歌曲 “-”:上一曲,播放上一首歌曲 五、 心得體會 參考資料 [1] 譚浩強(qiáng).C語言程序設(shè)計(第二版)[M],北京:清華大學(xué)出版社,1991. [2] 曾屹.單片機(jī)原理與應(yīng)用(第一版)[M],中南大學(xué)出版社,2009. [3] 附件: /* C語言音樂盒源
21、程序設(shè)計 */
#include
22、/ 按key2可切換歌曲 sbit key1=P3^3; sbit fm=P3^7;//蜂鳴器連續(xù)的IO口 sbit rs=P2^2; sbit rw=P2^1; sbit e=P2^0; sbit busy=P0^0; sbit CS1=P2^4; sbit CS2=P2^3; //==================字模====================// char code shu[22][8]={ {0xFF,0x1F,0xEF,0xF7,0xF7,0xEF,0x1F,0xFF}, {0xFF,0xF0,0xEF,0xD
23、F,0xDF,0xEF,0xF0,0xFF},/*"0",0*/ {0xFF,0xEF,0xEF,0x07,0xFF,0xFF,0xFF,0xFF}, {0xFF,0xDF,0xDF,0xC0,0xDF,0xDF,0xFF,0xFF},/*"1",1*/ {0xFF,0x8F,0xF7,0xF7,0xF7,0x77,0x8F,0xFF}, {0xFF,0xCF,0xD7,0xDB,0xDD,0xDE,0xCF,0xFF},/*"2",2*/ {0xFF,0xCF,0xF7,0x77,0x77,0xB7,0xCF,0xFF}, {0xFF,0xE7,0xDF,0xDF,0xDF,0x
24、EE,0xF1,0xFF},/*"3",3*/ {0xFF,0xFF,0x3F,0xDF,0xEF,0x07,0xFF,0xFF}, {0xFF,0xF8,0xFB,0xDB,0xDB,0xC0,0xDB,0xFF},/*"4",4*/ {0xFF,0x07,0xF7,0x77,0x77,0xF7,0xF7,0xFF}, {0xFF,0xE6,0xDE,0xDF,0xDF,0xEE,0xF1,0xFF},/*"5",5*/ {0xFF,0x1F,0xEF,0x77,0x77,0xE7,0xFF,0xFF}, {0xFF,0xF0,0xEE,0xDF,0xDF,0xEE,0xF1,0
25、xFF},/*"6",6*/ {0xFF,0xC7,0xF7,0xF7,0x37,0xC7,0xF7,0xFF}, {0xFF,0x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0xC3,0xBE,0xBF,0xBB,0xA7,0xBE,0xBF,0x8F,0xFB,0xF7,0xCF,0xFF},/*"戀",3*/ {0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0
65、xFF,0xFF,0xFF,0xFF},/*" ",0*/ {0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF},/*" ",1*/ {0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF},/*" ",2*/ {0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF},/
66、*" ",3*/ {0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF},/*" ",4*/ {0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF},/*" ",5*/ }; char code _qizige[14][16]={ {0xFF,0xBF,0xBF,0xBF,0xBF,0xBF,0xBF,0x01,0xDF,0xDF,0xDF,0xDF,0xDF,0xDF,0xDF,0xFF}, {0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xC0,0xBF,0xBF,0xBF,0xBF,0xBF,0xC7,0xFF,0xFF},/*"七",0*/ {0xFF,0xFF,0xFD,0xFD,0xFD,0xFD,0xFD,0x1D,0xED,0xF5,0xF9,0xFD,0xFF,0x7F,0xFF,0xFF}, {0xFE,
- 溫馨提示:
1: 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
2: 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
3.本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
5. 裝配圖網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 九年級數(shù)學(xué)上冊 第三章 概率的進(jìn)一步認(rèn)識復(fù)習(xí)課件 (新版)北師大版
- 九年級數(shù)學(xué)上冊 第23章 圖形的相似 23.5 位似圖形授課課件 (新版)華東師大版
- 九年級歷史下冊 第四單元 第8課 美國經(jīng)濟(jì)的發(fā)展課件 新人教版
- 危急值報告及處理制度課件
- 高考小說閱讀-第三講:小說的敘述方式課件
- 國內(nèi)管理學(xué)院評鑒現(xiàn)況及未來發(fā)展課件
- “圖形的認(rèn)識與測量”知識梳理及教學(xué)策略課件
- 新版近視科普講座ppt課件
- 課件--迎接本科教學(xué)工作水平評估
- 現(xiàn)在完成進(jìn)行時PPT幻燈片課件
- 高考語文大一輪總復(fù)習(xí)-散文閱讀-概括內(nèi)容要點和主旨題題組訓(xùn)練ppt課件-新人教版
- 工程材料計劃編制課件
- 工廠車間管理基礎(chǔ)知識課件
- 2015北師大版六年級數(shù)學(xué)總復(fù)習(xí)正比例與反比例課件
- 文明集會禮儀規(guī)范班會課件