【正文】
蘇州大學 學院(部) 城市軌道交通學院 課 題 基于單片機的 LED 顯示屏設計 年級 20xx 級 專業(yè) 電氣控制及自動化 班級 10 控制 學號 1042402029 姓名 陸昊龍 指導老師 陳紅仙 職稱 高級實驗師 論文提交日期 目錄 摘要 ....................................................................................................................... 1 Abstract .................................................................................................................. 2 第一章 緒論 .......................................................................................................... 3 第 節(jié) 研究的課題內容 ................................................................................. 3 第 節(jié) 研究的背景與意義 ............................................................................. 3 LED 燈的發(fā)展背景與研究意義 ................................................................. 3 第 節(jié) 國內外發(fā)展現(xiàn)狀 ............................................................................... 6 第 節(jié) 論文組織結構 ................................................................................... 7 第二章 硬件設計 .................................................................................................. 8 第 節(jié) 方案設計 ............................................................................................. 8 方案一的設計 ............................................................................................ 8 方案二的設計 .......................................................................................... 11 方案三的設計 .......................................................................................... 13 方案的對比與選擇 .................................................................................. 14 第 節(jié) 主要元器件的介紹 ........................................................................... 16 器件的種類 .............................................................................................. 16 AT89S52 單片機的介紹 ........................................................................... 16 74HC574 鎖存器的介紹 ........................................................................... 19 ULN2803 驅動器的介紹 .......................................................................... 21 LED 點陣的介紹 ....................................................................................... 22 第三章軟件設計 .................................................................................................. 24 第 節(jié) LED 點陣屏顯示的兩種編程方法分析 ............................................. 24 第 節(jié) LED 點陣屏 C 語言編程方框圖與邏輯框圖 ..................................... 25 第 節(jié) 程序的設計與分析 ........................................................................... 26 鍵盤模塊的設計與分析 .......................................................................... 26 LED 顯示程序分析 ................................................................................... 29 總結 ..................................................................................................................... 33 參考文獻 ............................................................................................................. 34 致謝 ..................................................................................................................... 35 蘇州大學本科生畢業(yè)設計(論文) 1 摘要 在科技與經(jīng)濟發(fā)展迅速的現(xiàn)代社會中,人們對能 源節(jié)省以及高效可控性提出了更高的要求。經(jīng)過長期的發(fā)展, LED 燈以其獨有的節(jié)省能源,壽命長以及無輻射等特點逐漸代替了其他燈具步入了現(xiàn)代社會的殿堂。本次畢業(yè)設計就是經(jīng)過對 LED 點陣,單片機以及其他電路元器件的學習與分析后,設計制作基于單片機應用的 LED 電子顯示屏。通過電路原理的理論分析與電路的方案設計,來確定自己的設計思路,并畫出電路原理圖。確立了研究的方向后,開始焊接制作,并對焊接電路進行檢測與查錯。根據(jù)實際電路來進行程序流程的分析及程序的總體設計。將程序導入單片機,然后對程序導入的結果與進行檢測與分析,并修改程序。最終達到在由 5個 16*16的 LED點陣組成的電子顯示屏上顯示動態(tài)滾動的 “ 軌道學院歡迎你 ” 字幕的效果與目的。 關鍵詞: LED 點陣;單片機;電路設計 蘇州大學本科生畢業(yè)設計(論文) 2 Abstract In modern society, which has rapid development of science and technology and the economic, people put forward higher requirements for energy saving and high controllability. After the longterm development, LED lamp with its unique energy saving, long service life and no radiation gradually replaced other lamps into modern society. This graduation design ,which is based on the study and analysis of LED lattice, single chip and the other circuit ponents, is to design and manufacture LED electronic display screen under the control of the si ngle chip. By analysing the circuit principle and planning the circuit scheme, I determine my own design ideas, and draw the circuit schematic diagram. After making sure the design direction, I start the welding production, and then I test and check the welding circuit. According to the actual circuit, I carry on the task of program flow analysis and program overall design. Put the program into the single chip, test the results of the procedure import, and modify the program. Eventually achieve the purpose and the target of displaying the dynamic rolling s