【正文】
基于單片機的點陣漢字顯示屏的設(shè)計 摘 要 LED 點陣顯示屏作為一種新興的顯示器件 ,是由多個獨立的 LED 發(fā)光二極管封裝而成 . LED 點陣顯示屏可以顯示數(shù)字或符號 , 通常用來顯示時間、速度、系統(tǒng)狀態(tài)等。 本設(shè)計是 4個 16 16點陣 LED 電子顯示屏的設(shè)計。整機以美國 ATMEL 公司生產(chǎn)的 40腳單片機 80C51為核心,介紹了以它為控制系統(tǒng)的 LED 點陣電子顯示屏的動態(tài)設(shè)計和開發(fā)過程。通過該芯片控制一個行驅(qū)動器 74LS138和八個列驅(qū)動器 4049來驅(qū)動顯示屏顯示。該電子顯示屏可以顯示 4個漢字,采用 16塊 8 x 8點 陣 LED 顯示模塊來組成 4個 16x16點陣顯示模式。顯示采用動態(tài)顯示,使得文字能夠?qū)崿F(xiàn)靜止顯示方式。文中詳細介紹了 LED 點陣顯示的硬件設(shè)計思路、硬件電路各個部分的功能及原理、相應(yīng)軟件的程序設(shè)計,以及使用說明等。 關(guān)鍵詞: 80C51單片機 。 LED。 點陣顯示 。 動態(tài)顯示 The design of display Chinese characters based on MCU Abstract LED dot matrix display as a new display device, is posed of multiple independent package from the LED light emitting diodes. LED dot matrix display can display numbers or symbols, usually used to display time, speed, the system state. This design is the design of 4 16 * 16 dotmatrix LED electronic display screen. The machine to the United States of America ATMEL pany production of 40 feet 80C51 MCU as the core, introduces the dynamic design and the development of its control system for LED dot matrix display process. The chip controls good driver 74LS138 and eight row driver 4049 to drive the display screen to display. The electronic screen can display 4 Chinese characters, using the display module is posed of 4 16x16 dot matrix display mode 16 blocks of 8 x 8 dot matrix LED. Shows the dynamic display, making the text to achieve a static display mode. This paper introduces in detail the LED dot matrix display hardware design, hardware circuit of each part of the function and principle, the corresponding software program design, as well as the use and so. Keywords: 80C51。 LED。 dot matrix display。 dynamic display 目 錄 第一章 緒論 ................................................................. 1 課題背景 ............................................................ 1 國內(nèi)外研究現(xiàn)狀 ...................................................... 1 選題目的及意義 ...................................................... 2 生產(chǎn)需求狀況 ........................................................ 2 LED 電子顯示屏概述 ................................................... 3 第二章 系統(tǒng)方案設(shè)計與論證 ................................................... 4 數(shù)據(jù)傳輸方案 ......................................................... 4 系統(tǒng)硬件方案 ......................................................... 5 單片機 ......................................................... 5 EDA 電子設(shè) 計自動化 ............................................. 5 第三章 系統(tǒng)硬件的設(shè)計 ....................................................... 7 電路原理圖 .......................................................... 7 系統(tǒng)硬件概述 ........................................................ 7 80C51 單片機簡 介 .............................................. 7 譯碼器及點陣顯示屏 ............................................ 9 元件清單 ........................................................... 10 顯示原理及控制方式分析 ............................................. 11 LED點陣模塊結(jié)構(gòu) .............................................. 11 LED 動態(tài)顯示原理 .............................................. 11 LED 控制方式 .................................................. 12 第四章 系統(tǒng)軟件的設(shè)計 ...................................................... 13 系統(tǒng)程序的設(shè)計 ..................................................... 13 顯示驅(qū)動程序 .................................................. 13 系統(tǒng)主程序 .................................................... 13 程序流程圖 ......................................................... 13 字模生成 ........................................................... 14 LED 顯示屏領(lǐng)域字模實現(xiàn)技術(shù) .................................... 15 字庫生成 ...................................................... 16 Keil 軟件調(diào)試 ....................................................... 16 Protues 仿真 ....................................................... 17 總 結(jié) ...................................................................... 18 附錄:程序代碼 .....