【正文】
大連海事大學(xué) 畢 業(yè) 論 文 二○一四年六月┊┊┊┊┊┊┊裝┊┊┊┊┊┊┊訂┊┊┊┊┊┊┊線┊┊┊┊┊┊┊ 基于單片機的點陣電子顯示屏的設(shè)計 專業(yè)班級: 通信工程一班 姓 名: 劉維佳 指導(dǎo)教師: 金國華 信息科學(xué)技術(shù)學(xué)院 I 摘 要 本 文介紹了 1616 點陣 LED 電子顯示屏的設(shè)計 。 該電子顯示屏可以顯示各種文字 、數(shù)字、字母 ,采用 4 塊 88 點陣 LED 顯示模塊來組成 1616 點陣顯示模式。顯示采用動態(tài)顯示,使得 數(shù)字、字母 或文字能夠?qū)崿F(xiàn)移入移出等多種顯示方式。文中詳細介紹 了 LED 點陣顯示的硬件設(shè)計思路、硬件電路各個部分的功能及原理、相應(yīng)軟件的程序設(shè)計,以及使用說明等。 整機以美國 ATMEL 公司生產(chǎn)的 40 腳單片機 AT89C51 為核心 , 介紹了以它為控制系統(tǒng)的 LED 點陣電子顯示屏的動態(tài)設(shè)計和開發(fā)過程。通過該芯片控制一個行驅(qū)動器 74HC154 和兩個列驅(qū)動器 74HC595 來驅(qū)動顯示屏顯示 。 單片機控制系統(tǒng)程序采用單片機 C 語言進行編輯,通過編程控制各顯示點對應(yīng) LED 陽極和陰極端的電平,就可以有效的控制各顯示點的亮滅。所顯示字符 的點陣數(shù)據(jù)可以自行編寫(即直接點陣畫圖),也可從標準字庫中提取 。 經(jīng)過系統(tǒng)調(diào)試, 該設(shè)計基本滿足要求。 關(guān)鍵詞 : 單片機 ; 點陣 驅(qū)動;點陣顯示 II Abstract This paper is a 16 16 lattice LED electron display monitor design. The electronic screen can show all kinds of written, numbers or letters,one full screen display Chinese characters, four pieces of 88 dotmatrix LED display modules to form the 1616 dot matrix display mode. Show dynamic show that makes static graphic or text can be achieved, shifted out of various formats. This paper describes the hardware design of the LED dot matrix display, and the principle function of the various parts of the circuit, the corresponding software program design and the use of some such. The whole equipment is with the 40pin AT89C51 MCU (Micro Controller Unit) produced by the American ATMEL pany at the core, introduced ta ke it as the control system LED lattice electron display monitor dynamic design and the development good driver 74HC154 and two row driver 74HC595 through this chip actuates the display monitor process control system used for editing MCU C language, Programming control points indicated by the corresponding LED anode and overcast extreme level. We can effectively control the defense showed bright spots. The lattice data shows characters can prepare themselves (that is, direct lattice Painting), which can also be extracted from the standard font. Through the System debugging, this design meets the basic requirements. Key words: Micro Controller Unit, Lattice drive, Lattice display III 目 錄 課題背景 ...........................................................................................................1 選題意義 ...........................................................................................................2 研究現(xiàn)狀及發(fā)展趨勢 .......................................................................................2 單片機的發(fā)展歷史和發(fā)展方向 .............................................................2 單片機的應(yīng)用 .........................................................................................3 LED 顯示屏產(chǎn)業(yè)現(xiàn)狀及發(fā)展趨勢 ..........................................................4 功能要求及方案論證 .......................................................................................5 功能要求 .................................................................................................5 顯示模式方案論證 .................................................................................5 顯示數(shù)據(jù)傳輸方案論證 .........................................................................6 設(shè)計框圖及介紹 ...............................................................................................7 控制電路模塊 ...................................................................................................8 單片機簡介 .............................................................................................8 單片機最小應(yīng)用系統(tǒng) 電路設(shè)計 .............................................................8 單片機引腳介紹 ...................................................................................10 顯示模塊介紹 .................................................................................................12 8X8 點陣介紹 ........................................................................................12 組成 16X16 點陣顯示屏介紹 ...............................................................13 文字顯示及移動顯示介紹 ...................................................................15 LED 點陣取模軟件說明 ........................................................................16 LED 點陣驅(qū)動說明 ................................................................................17 系統(tǒng)的程序流程圖 .........................................................................................22 主程序 .............................................................................................................23 軟件調(diào)試 ........................................................................................................25 硬件調(diào)試 ........................................................................................................25 性能分析 ........................................................................................................26 第一章 緒論 ...................................................................................................................1 第二章 系統(tǒng)硬件電路的 設(shè)計 .......................................................................................7 第三章 系統(tǒng)軟件設(shè)計 .................................................................................................22 第四章 調(diào)試及性能分析 .............................................................................................25 總 結(jié) .........................................................................................................................27 參考文獻 .........................................................................................................................28 致 謝 .........................................................................................................................29 附錄 1 原件清單 ..........................................................................................................30 附錄 2 C 程序 ..................................................