freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

基于單片機(jī)的可控?cái)?shù)字音樂盒設(shè)計(jì)(已修改)

2025-07-01 12:52 本頁(yè)面
 

【正文】 基于51單片機(jī)的可控?cái)?shù)字音樂盒設(shè)計(jì)摘 要本文是一篇基于AT89C51單片機(jī)的可控?cái)?shù)字音樂盒的程序設(shè)計(jì)。該音樂盒是一個(gè)依據(jù)單片機(jī)技術(shù)原理,通過PROTEUS仿真軟件對(duì)硬件電路進(jìn)行仿真制作以及利用KEIL軟件對(duì)音樂盒源程序進(jìn)行C語(yǔ)言編譯,而設(shè)計(jì)制作出的一個(gè)多功能數(shù)字音樂盒。該音樂盒通過控制單片機(jī)內(nèi)部的定時(shí)器來產(chǎn)生不同頻率的方波,驅(qū)動(dòng)喇叭發(fā)出不同音調(diào)的音樂。該程序通過把樂譜轉(zhuǎn)化成相應(yīng)的定時(shí)常數(shù)來驅(qū)動(dòng)發(fā)音設(shè)備演奏出悅耳動(dòng)聽的音樂。本音樂盒一共設(shè)計(jì)了五首歌曲,同時(shí)還設(shè)計(jì)了三種LED彩燈的變化花樣。在演奏歌曲時(shí)彩燈隨音調(diào)閃爍。在停止演奏歌曲時(shí)三種彩燈花樣開始閃爍。歌曲和花樣均可隨意切換。與此同時(shí),數(shù)碼管也不斷變化數(shù)字,以此顯示歌曲和彩燈花樣的序號(hào)。關(guān)鍵詞:數(shù)字音樂盒;AT89C51;KEIL;PROTEUS;數(shù)碼管 THE DESIGNATION OF CONTROLLABLE DIGITAL MUSIC BOX BASED ON 51 SCM ABSTRACTThis paper explains the program designation of controllable digital music box based on AT89C51. This music box is designed by the idea that a multifunctional digital music box can be made based on the technical principle of single chip microputer (SCM), together with using the PROTEUS to simulate the hardware circuit and using KEIL to programme the source of music box which is piled with C language. This music box can produce square waves of different frequency in control of the timer inside SCM, and music of different tunes by driving speaker. The program is made use of to drive the sounding equipment to play pleasant music by the way of changing music score into the corresponding timing constant.This music box is totally designed with five songs, and also with three changeable patterns of LED colorful lights. While the songs are being performed, the colorful lights are flashing with tones. While the songs are stopped playing, the colorful lights start to flash with three changeable patterns. The songs and patterns can be free to switch. At the same time, the digital tube is also constantly changing figures to show the serial number of the songs and the patterns of the colorful lights.Key words: Digital music box。 AT89C51。 KEIL。 PROTEUS。 Digital tube目 錄1 前言12 單片機(jī)和音樂盒硬件的功能2 AT89C51芯片的功能2 音樂盒的硬件及其功能43 數(shù)字音樂盒的主體設(shè)計(jì)方案5 音樂盒的主體結(jié)構(gòu)5 主設(shè)計(jì)軟件的介紹5 編程軟件KEIL的簡(jiǎn)介5 仿真軟件PROTEUS的簡(jiǎn)介64 音樂盒硬件設(shè)計(jì)8 總設(shè)計(jì)框圖8 各部分硬件的作用8 LED和數(shù)碼管的設(shè)計(jì)95 音調(diào)和節(jié)拍的設(shè)計(jì)11 音調(diào)和節(jié)拍的設(shè)計(jì)以及音樂基礎(chǔ)知識(shí)11 音調(diào)和節(jié)拍的編碼136 源程序設(shè)計(jì)14 音樂程序14 LED花樣程序15 數(shù)碼管程序167 數(shù)字音樂盒總設(shè)計(jì)圖17 仿真總設(shè)計(jì)圖17 實(shí)物總設(shè)計(jì)圖188 結(jié)論19參考文獻(xiàn)20致謝21附錄A總程序源代碼及注釋221 前言隨著科技越來越發(fā)達(dá),單片機(jī)技術(shù)也越來越純熟,單片機(jī)的應(yīng)用也越來越廣泛,可以說幾乎很難找到哪個(gè)領(lǐng)域沒有單片機(jī)的蹤跡。如今,單片機(jī)在各個(gè)領(lǐng)域都起著至關(guān)重要的作用[1]。單片機(jī)是一種集成在電路芯片,是采用超大規(guī)模集成電路技術(shù)把具有數(shù)據(jù)處理能力的中央處理器CPU、隨機(jī)存儲(chǔ)器RAM、只讀存儲(chǔ)器ROM、多種I/O口和中斷系統(tǒng)、定時(shí)器/計(jì)時(shí)器等功能(可能還包括顯示驅(qū)動(dòng)電路、脈寬調(diào)制電路、模擬多路轉(zhuǎn)換器、A/D轉(zhuǎn)換器等電路)集成到一塊硅片上構(gòu)成的一個(gè)小而完善的計(jì)算機(jī)系統(tǒng)。隨著人類社會(huì)的發(fā)展,人們對(duì)于視聽方面的享受提出了更高的要求。而傳統(tǒng)的音樂盒大部分是機(jī)械型的,體積龐大,而且沉重,發(fā)音單調(diào),且不悅耳,不能實(shí)現(xiàn)大批量的生產(chǎn),所以很難滿足當(dāng)代人們的需求。但是本文設(shè)計(jì)的數(shù)字音樂盒是以單片機(jī)為核心元件的數(shù)字音樂盒。單片機(jī)具有體積小、功耗低、控制功
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
公安備案圖鄂ICP備17016276號(hào)-1