【正文】
1 江西理工大學南昌校區(qū) 畢畢 業(yè)業(yè) 設設 計計 論論 文文 題目: 基于 89C51 的點陣屏顯示設計 院 系 :信息工程系 專 業(yè): 電氣自動化技術(shù) 學 號: 09321237 姓 名:饒慶軍 2 摘 要 LED 顯示屏是利用發(fā)光二極管點陣模塊或像素單元組成的平面式顯示屏幕。由于它具有發(fā)光率高、使用壽命長、組態(tài)靈活、色彩豐富以及對室內(nèi)外環(huán)境適應能力強等優(yōu)點,在國外得到了廣泛的應用。本設計使用 單片機芯片 AT89C51 為微機控制器, 8 8 點陣顯示屏為顯示模塊, 結(jié)合行、列掃描驅(qū)動邏輯電路,編寫程序控制所有 LED 點工作在掃描微亮和穩(wěn)定點亮兩種狀態(tài),用光敏三極管和比較器組成新型光筆,通過光筆檢測筆尖下方 LED 的掃描微亮光線使控制器進入中斷并記錄當前掃描點的坐標編號,從而實現(xiàn)信息輸入和 LED 屏顯示控制。 本論文主要介紹 89C51芯片的組成結(jié)構(gòu)及工作原理和 8 8點陣顯示屏的結(jié)構(gòu),利用 89C51芯片控制的點陣顯示效果。 LED 顯示屏發(fā)展較快,本文講述了基于 AT89C51 單片機 8 8LED 漢字點陣滾動顯示的基本原理、硬件組成與設計、程序編寫與調(diào)試 等基本環(huán)節(jié)和相關(guān)技術(shù)。 關(guān)鍵詞: AT89C51 單片機芯片 ; 點陣顯示屏 ; LED;微 機控制器 3 Abstract The LED display is to use light emitting diode matrix modules or pixel unit posed of a flat display it has a high rate of light, long service life, flexible configuration, rich color and a strong ability to adapt indoor or outdoor environment and other advantages, it has a wide range of applications at home and design using single chip microputer AT89C51 as microputer controller, 8 x 8 dot matrix display screen for display module, bined with the line and row scanning drive logic circuit, writting a program to control all LED to work in two kinds of state:the scanning slight light and stable litting, useing light activated triode and parator to posite new type of light pen, through the light pen text the scanning slight light below the LED,making controller into the break and recording the current scanning point coordinates Numbers, so as to realize the information input and the control of the LED screen display .This paper mainly introduces the structure and working principle of 89 C51 chip as well as 8 x 8 dot matrix display structure, and the use of 89 C51 chip control dot matrix display effect. The LED display is developing fast, and this paper introduced basic principle and hardware position ,design, programming and debugging and other basic link and related technology based on AT89C51 8 x8 LED dot matrix rolling display. Keywords: AT89C51 singlechip microputer chip。 dot matrix display。 LED。 Microputer controller 4 目 錄 摘 要 ..................................................................................................................................................... 2 Abstract .................................................................................................................................................. 3 第一章 引 言 ....................................................................................................................................... 6 第二章 單片機簡介 .............................................................................................................................. 10 單片機的概念及其特點 ........................................................................................................... 10 單片機的概念 ................................................................................................................. 10 單片機的特點 ................................................................................................................ 12 單片機的發(fā)展 .......................................................................................................................... 12 單片機的發(fā)展歷史 ......................................................................................................... 12 單片機的發(fā)展趨勢 ......................................................................................................... 13 單片機的應用 ......................................................................................................................... 14 第三章 點陣顯示屏 的構(gòu)成 ................................................................................................................... 16 點陣顯示屏 的構(gòu)成 .................................................................................................................. 16 AT89C51 的單片機簡介 ............................................................................................................ 16 主要性能 ........................................................................................................................ 17 引腳說明 ........................................................................................................................ 17 點陣顯示屏 簡介 ....................................................................................................................... 18 點陣顯示屏 的結(jié)構(gòu)與原理 ............................................................................................... 19 點陣顯示屏 特點 ............................................................................................................. 20 第四章 基于單片機的 LED 顯示屏實體設計 ....................................................................................... 21 設計思路 ................................................................................................................................. 21 系統(tǒng) 搭建 ................................................................................................................................. 22 整裝軟件硬件 .......................................................................................................................... 25 第 五 章 結(jié) 論 ....................................................................................................................................... 28 致 謝 ............................................................................................................................................... 29 參考文獻 .............................................................................................................................................. 30 5 附錄一 C 語言源程序 ............................................................................................................................ 31 附錄二 電路原理圖 ...............