【正文】
路設(shè)計(jì) .................................................................................. 10 行驅(qū)動(dòng)電路設(shè)計(jì) ........................................................................... 10 列驅(qū)動(dòng)電路設(shè)計(jì) ........................................................................... 13 電源模塊設(shè)計(jì) .................................................................................. 16 點(diǎn)陣式 LED 漢字顯示屏設(shè)計(jì) .............................................................. 16 點(diǎn)陣式 LED 顯示屏設(shè)計(jì) ................................................................. 16 LED 電子顯示屏顯示字符原理 ........................................................ 17 漢字顯示原理 ............................................................................... 18 系統(tǒng)整體電路 .................................................................................. 20 第 4 章 系統(tǒng)軟件設(shè)計(jì) .............................................................................. 21 主程序 設(shè)計(jì) ..................................................................................... 21 子程序設(shè)計(jì) ..................................................................................... 21 第 5 章 系統(tǒng)制作與調(diào)試 .......................................................................... 25 Proteus 軟件簡(jiǎn)要介紹 ...................................................................... 25 仿真過(guò)程 ......................................................................................... 25 硬件制作與調(diào)試 ............................................................................... 26 硬件電路板的制作 ........................................................................ 26 系統(tǒng)硬件調(diào)試 ............................................................................... 26 系統(tǒng)軟件調(diào)試 .................................................................................. 27 結(jié) 論 ....................................................................................................... 29 致 謝 ....................................................................................................... 30 參考文獻(xiàn) ................................................................................................... 31 附錄 A 源程序 ........................................................................................... 32 附錄 B 實(shí)物圖 ........................................................................................... 36 基于單片機(jī)的 LED 滾動(dòng)漢字顯示器設(shè)計(jì) 摘要: LED( Light Emitting Diode)行業(yè)已成為一個(gè)快速發(fā)展的新興產(chǎn)業(yè),市場(chǎng)空間巨大,前景廣闊。 關(guān)鍵詞 : 單片 機(jī) LED 點(diǎn)陣 漢字顯示 The Design of LED Rolling Characters Display Based on SCM Abstract: This design in view of the present LED display monitor, in national dividend’s many domains obtain in the widespread quotation situation, has carried on this paper design after the investigation. This article introduces the design of Chinese scroll screen with 16 x 16 lattice LED based on monolithic AT89C51. And it emphatically introduced the LED lattice demonstration hardware design mentality, hardware circuit each part of functions and the principle, the corresponding software’s programming emphatically, as well as detailed operating instructions and work flow. This design divides into six parts, the primary coverage is the system macro analysis, the system hardware design , the system software designs three parts. The system macro analysis is this article foundation, the system hardware design is this article key, is this design hard core, this part first simply describes the system hardware principle of work, and attaches by the system hardware design diagram, elaborated various hardware interface technology which and each interface module function and the work process this graduation project applies. The system software design is this article sublimation. This article poses the guiding ideology is the software and hardware unifies, take the hardware as the foundation, carries on various functional module the design. This design usability is strong, simplicity of operator, extended function. Keywords: Monolithic。 單片機(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) 。 LED 行業(yè)已成為一個(gè)快速發(fā)展的新興產(chǎn)業(yè),市場(chǎng)空間巨大,前景廣闊。盡管多年以來(lái) LED 一直受到顏色和發(fā)光效率的限制,但由于 GaP 和 GaAsP LED 具有長(zhǎng)壽命、高可靠性 ,工作電流小、可與 TTL、 CMOS 數(shù)字電路兼容等許多優(yōu)點(diǎn)因而卻一直受到使用者的青瞇。我國(guó)發(fā)展 LED 起步于七十年代,產(chǎn)業(yè)出現(xiàn)于八十年代。 LED 視頻顯示屏:顯示器件是由許多發(fā)光二極管組成,可以顯示視頻、動(dòng)畫等各種視頻文件。 :為解決點(diǎn)陣屏 的 色彩問(wèn)題,借鑒戶外顯示屏技術(shù)的一種方案,同時(shí)將 戶外的像素復(fù)用技術(shù)(又叫像素共享技術(shù),虛擬像素技術(shù))移植到了室 內(nèi)顯示屏。 貼方案:實(shí)際上是單燈方案的一種改進(jìn),現(xiàn)在還在完善之中。 ( 6) 起到烘托氣氛的作用。 這次設(shè)計(jì)借助單片機(jī) AT89C51 使 LED 顯示屏實(shí)現(xiàn)滾動(dòng)顯示漢字的方法,研究Proteus 軟件在 LED 滾動(dòng)漢字顯示器和仿真中的應(yīng)用,研究 Keil 軟件編譯調(diào)試程序,并制作出 LED 滾動(dòng)漢字顯示屏。 ( 2) 行列電路設(shè)計(jì),分析電路圖確定整個(gè)系統(tǒng)大概的規(guī)模。 漢字顯示通過(guò)行掃描和列掃描, 把行列總線接在單片機(jī)的 I/O口,然后把掃描代碼送 入 總線。其引腳分配見(jiàn)圖 。當(dāng) P3 口寫入“ 1”后,它們被內(nèi)部上拉為高電平,并用作輸入。 時(shí)鐘電路 時(shí)鐘電路是 為單片機(jī)提供精確定時(shí)的內(nèi)置電路, 其基本功能 是 用于計(jì)時(shí)、 通訊時(shí)鐘發(fā)生器、時(shí)間中斷源等 。該器件包含一個(gè) 8位串行輸入,并行輸出的移位寄存器及帶有三態(tài)輸出控制的 8位 D型存儲(chǔ)器。對(duì)于動(dòng)態(tài)顯示, 行掃描主要處理字模,需要把整個(gè)字的字模都打入到 595 芯片,通過(guò) 595 來(lái)處理,通過(guò)子模各個(gè)位的移動(dòng)來(lái)實(shí)現(xiàn)要顯示的字 。 Q739。比通過(guò)數(shù)據(jù)端移位控制要省時(shí)省力。所以我選用串口輸 入。 表 74HC154的真值表 輸入 選定輸出( L) /E1 /E2 D C B A L L L L L L Y0 L L L L L H Y1 L L L L H L Y2 L L L L H H Y3 L L L H L L Y4 L L L H L H Y5 L L L H H L Y6 L L L H H H Y7 L L H L L L Y8 L L H L L H Y9 L L H L H L Y10 L L H L H H Y11 L L H H L L Y12 L L H H L H Y13 L L H H H L Y14 L L H H H L Y15 X H X X X X NONE H X X X X X NONE 圖 74HC154引腳圖 74HC154 引腳說(shuō)明: /Y0/Y15:輸出端。 ( 4) 與大部分 TTL 和 DTL 電路完全兼容 。