基于51單片機(jī)的led點(diǎn)陣顯示屏系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn).doc
約50頁DOC格式手機(jī)打開展開
基于51單片機(jī)的led點(diǎn)陣顯示屏系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn),50頁字?jǐn)?shù) 19000多字摘要:本文介紹了一款以單片機(jī)at89s51為控制器的led點(diǎn)陣顯示屏系統(tǒng)的設(shè)計(jì)。該系統(tǒng)可實(shí)現(xiàn)中英文字符的顯示和動(dòng)態(tài)特效顯示。并且可以通過級(jí)連的方式來擴(kuò)大顯示屏幕的尺寸以達(dá)到增加顯示內(nèi)容的目的。系統(tǒng)采用pc機(jī)作為上位機(jī),上位機(jī)向單片機(jī)發(fā)送控制命令和上位機(jī)所存儲(chǔ)的顯示代碼,at89s51單片機(jī)接收...
![](http://img.queshao.com/images/pcgzh.gif)
![](http://preview.queshao.com/tobuy/20726.gif)
內(nèi)容介紹
此文檔由會(huì)員 研究生 發(fā)布
50頁
字?jǐn)?shù) 19000多字
摘要:本文介紹了一款以單片機(jī)AT89S51為控制器的LED點(diǎn)陣顯示屏系統(tǒng)的設(shè)計(jì)。該系統(tǒng)可實(shí)現(xiàn)中英文字符的顯示和動(dòng)態(tài)特效顯示。并且可以通過級(jí)連的方式來擴(kuò)大顯示屏幕的尺寸以達(dá)到增加顯示內(nèi)容的目的。系統(tǒng)采用PC機(jī)作為上位機(jī),上位機(jī)向單片機(jī)發(fā)送控制命令和上位機(jī)所存儲(chǔ)的顯示代碼,AT89S51單片機(jī)接收并處理PC機(jī)的控制命令以及顯示代碼,由顯示驅(qū)動(dòng)模塊驅(qū)動(dòng)一個(gè)16×16分辨率的LED點(diǎn)陣顯示屏的掃描顯示。PC機(jī)與單片機(jī)之間的通信采用RS—232C通信標(biāo)準(zhǔn)來實(shí)現(xiàn)。所選用的AT89S51單片機(jī)具有價(jià)格低廉程序?qū)懭敕奖愕奶攸c(diǎn)使得整個(gè)系統(tǒng)方便維護(hù)和檢修。除此之外,該系統(tǒng)只占用了單片機(jī)少量的I /O口和內(nèi)存,為系統(tǒng)留下了功能擴(kuò)展的空間。
關(guān)鍵字:AT89S51;LED點(diǎn)陣顯示;串行通信
Desigen and Realization of the Lattice Screen of LED Based on MCS-51
Abstract: This paper introduces a design of the LED lattice display system base on MCU AT89S51. The system can display in both Chinese and English characters of the show and from top to bottom and move around the magic show. And can be cascaded to expand the screen size to achieve increased content purposes. The PC sends control commands and displays code to microcontroller, AT89S51 receives control commands from PC and shows the code, Driver module drives a 16×16-resolution LED lattice LED’s panel display scan showed. Communication between PC and the microcontroller using RS-232C communications standards. the characteristics that AT89S51 microcontroller is cheap and could be coded conveniently makes the whole system Convenient to Maintenance and Repair. In addition, the system will take up only a small amount of the MCU I/O and memory,so that the system has functional space for expansion.
Key words: AT89S51, lattice LED’s panel display, serial communication
目 錄
第1章 緒 論 1
1.1 課題背景 1
1.1.1 選題背景 1
1.1.2 研究現(xiàn)狀及發(fā)展趨勢(shì) 1
1.2 論文主要內(nèi)容 3
第2章 方案論證與選擇 4
2.1 系統(tǒng)硬件方案 4
2.1.1 顯示屏主控制器 4
2.1.2 通信系統(tǒng) 6
2.1.3 LED點(diǎn)陣顯示屏 6
2.1.4 硬件設(shè)計(jì)方案 7
2.2 系統(tǒng)軟件方案 8
2.2.1 單片機(jī)編程語言 8
2.2.2 系統(tǒng)軟件編譯器介紹 9
2.2.3 上位機(jī)控制傳輸軟件 9
第3章 系統(tǒng)硬件設(shè)計(jì) 11
3.1 硬件整體設(shè)計(jì)概述及功能分析 11
3.2 控制單元設(shè)計(jì) 12
3.2.1 AT89S51簡(jiǎn)介 12
3.2.2 控制系統(tǒng)設(shè)計(jì) 13
3.3 譯碼電路設(shè)計(jì) 15
3.3.1 串并轉(zhuǎn)換器74LS164 15
3.3.2 鎖存器74L373 16
3.4 驅(qū)動(dòng)電路設(shè)計(jì) 17
3.4.1 行驅(qū)動(dòng)電路設(shè)計(jì) 17
3.4.2 列驅(qū)動(dòng)電路設(shè)計(jì) 18
3.5 通信系統(tǒng)硬件設(shè)計(jì) 18
3.6 電源設(shè)計(jì) 19
3.7 級(jí)連大屏幕LED顯示屏 20
第4章 系統(tǒng)軟件設(shè)計(jì) 22
4.1 程序設(shè)計(jì) 22
4.2 顯示程序的設(shè)計(jì) 23
4.2.1 LED顯示屏的顯示方式 23
4.2.2 點(diǎn)陣數(shù)據(jù)表達(dá)方式 24
4.2.3 顯示程序的設(shè)計(jì) 25
4.3 通信程序的設(shè)計(jì) 27
第5章 系統(tǒng)調(diào)試 29
5.1 系統(tǒng)硬件部分調(diào)試方法 29
5.1.1 短路與虛焊檢測(cè) 30
5.1.2 上電測(cè)試 30
5.1.3 串口調(diào)試 30
5.2 系統(tǒng)軟件調(diào)試方法 31
5.3 系統(tǒng)聯(lián)合調(diào)試及結(jié)果 32
5.4 調(diào)試結(jié)果分析 32
結(jié)論 34
致謝 35
參考文獻(xiàn) 36
附錄1 系統(tǒng)硬件原理圖 37
附錄2 設(shè)計(jì)程序 38
附錄3 系統(tǒng)PCB圖 46
[1] 關(guān)積珍.LED.顯示屏發(fā)展?fàn)顩r及趨勢(shì)[J].世界電子元器件,2000, (02):277-301.
[2] 關(guān)積珍,陸家和. 我國LED顯示屏技術(shù)和產(chǎn)業(yè)發(fā)展及展望.現(xiàn)代顯示,2004, (02):34-37.
[3] Jeyamkondan S,Jayas D S,Holly R A.16x16 dot matrix LED has 4mm profile. Electronics Weekly,11/26/2003 Issue 2125,36-36,1/9p,1c;(AN 11842012).
[4] 繆思恩. LED大屏幕顯示電路設(shè)計(jì)[J].電子技術(shù)應(yīng)用,1996,(08):56-77.
[5] Dave Jackson. 關(guān)于DSP芯片的問與答.今日電子 ,1998,(12):1-7.
[6] 盧彌堅(jiān).主從分布式LED大屏幕顯示系統(tǒng)[J].電腦與信息技術(shù),1997,(04):6-13.
[7] 高勝東,梁采,張宏富.一種LED大屏幕顯示系統(tǒng)[J].成都?xì)庀髮W(xué)院學(xué)報(bào),1998,(03):108-120.
[8] 張全福.匯編語言程序設(shè)計(jì)實(shí)驗(yàn)教學(xué)改革與探索.教學(xué)研究,2005,(06):3-5.
[9] 文哲雄.用單片機(jī)控制LED顯示屏[D].佛山:佛山科學(xué)技術(shù)學(xué)院,1995.
[10] 彭寧,只佩華.單片機(jī)對(duì)LED大屏幕顯示的控制系統(tǒng)[J].河北大學(xué)學(xué)報(bào)(自然科學(xué)版),1993,13(3):86-89.
[ 11] 陳玉華,王銘霞. LED大屏幕顯示電路的設(shè)計(jì)[J].大連海事大學(xué)學(xué)報(bào),1997,(03):55-56.
[12] 鄭剛,李宇成.LED大屏幕顯示系統(tǒng)的設(shè)計(jì)[J].北方工業(yè)大學(xué)學(xué)報(bào),2001,(03):43-47.
[13] 李元生. LED光柱專用驅(qū)動(dòng)器[J]. 家庭電子,2005,(04):1-7.
[14] 王亭,李瑞濤,宋召清.在Windows下PC機(jī)和單片機(jī)的串行通信[J].微型機(jī)與應(yīng)用,2000(1):25-27.
[15] 陳新忠.基于RS232總線的單片機(jī)多機(jī)通信軟件設(shè)計(jì)[J].現(xiàn)代電子技術(shù),2002,(03) :56-78.
[16] 喬世杰.小波圖像編碼中的對(duì)稱邊界延拓法[J].中國圖像圖形學(xué)報(bào),2000,5(9):725-729.
[17] 李桂平.LED屏幕顯示器的設(shè)計(jì)[J].零陵師范學(xué)院學(xué)報(bào),2002,(9):367-380.
[18] David F Rogers.Computer graphics algorithm[M].Beijing:China Machine Press,2002:97-99.
[19] Marston, R.. Radio-Electronics, Working with LED display drivers[J]. Mar1992, Vol. 63 Issue 3, 65, 8p, 3 charts, 23 diagrams; (AN 9206290756).
[20] Regenold, Stephen. LEDs Are Still Popular (and Improving) after All These Years[Z].Sep2004, Vol. 18 Issue 9, 44-44, 1/7p,1c; (AN 14525210).
字?jǐn)?shù) 19000多字
摘要:本文介紹了一款以單片機(jī)AT89S51為控制器的LED點(diǎn)陣顯示屏系統(tǒng)的設(shè)計(jì)。該系統(tǒng)可實(shí)現(xiàn)中英文字符的顯示和動(dòng)態(tài)特效顯示。并且可以通過級(jí)連的方式來擴(kuò)大顯示屏幕的尺寸以達(dá)到增加顯示內(nèi)容的目的。系統(tǒng)采用PC機(jī)作為上位機(jī),上位機(jī)向單片機(jī)發(fā)送控制命令和上位機(jī)所存儲(chǔ)的顯示代碼,AT89S51單片機(jī)接收并處理PC機(jī)的控制命令以及顯示代碼,由顯示驅(qū)動(dòng)模塊驅(qū)動(dòng)一個(gè)16×16分辨率的LED點(diǎn)陣顯示屏的掃描顯示。PC機(jī)與單片機(jī)之間的通信采用RS—232C通信標(biāo)準(zhǔn)來實(shí)現(xiàn)。所選用的AT89S51單片機(jī)具有價(jià)格低廉程序?qū)懭敕奖愕奶攸c(diǎn)使得整個(gè)系統(tǒng)方便維護(hù)和檢修。除此之外,該系統(tǒng)只占用了單片機(jī)少量的I /O口和內(nèi)存,為系統(tǒng)留下了功能擴(kuò)展的空間。
關(guān)鍵字:AT89S51;LED點(diǎn)陣顯示;串行通信
Desigen and Realization of the Lattice Screen of LED Based on MCS-51
Abstract: This paper introduces a design of the LED lattice display system base on MCU AT89S51. The system can display in both Chinese and English characters of the show and from top to bottom and move around the magic show. And can be cascaded to expand the screen size to achieve increased content purposes. The PC sends control commands and displays code to microcontroller, AT89S51 receives control commands from PC and shows the code, Driver module drives a 16×16-resolution LED lattice LED’s panel display scan showed. Communication between PC and the microcontroller using RS-232C communications standards. the characteristics that AT89S51 microcontroller is cheap and could be coded conveniently makes the whole system Convenient to Maintenance and Repair. In addition, the system will take up only a small amount of the MCU I/O and memory,so that the system has functional space for expansion.
Key words: AT89S51, lattice LED’s panel display, serial communication
目 錄
第1章 緒 論 1
1.1 課題背景 1
1.1.1 選題背景 1
1.1.2 研究現(xiàn)狀及發(fā)展趨勢(shì) 1
1.2 論文主要內(nèi)容 3
第2章 方案論證與選擇 4
2.1 系統(tǒng)硬件方案 4
2.1.1 顯示屏主控制器 4
2.1.2 通信系統(tǒng) 6
2.1.3 LED點(diǎn)陣顯示屏 6
2.1.4 硬件設(shè)計(jì)方案 7
2.2 系統(tǒng)軟件方案 8
2.2.1 單片機(jī)編程語言 8
2.2.2 系統(tǒng)軟件編譯器介紹 9
2.2.3 上位機(jī)控制傳輸軟件 9
第3章 系統(tǒng)硬件設(shè)計(jì) 11
3.1 硬件整體設(shè)計(jì)概述及功能分析 11
3.2 控制單元設(shè)計(jì) 12
3.2.1 AT89S51簡(jiǎn)介 12
3.2.2 控制系統(tǒng)設(shè)計(jì) 13
3.3 譯碼電路設(shè)計(jì) 15
3.3.1 串并轉(zhuǎn)換器74LS164 15
3.3.2 鎖存器74L373 16
3.4 驅(qū)動(dòng)電路設(shè)計(jì) 17
3.4.1 行驅(qū)動(dòng)電路設(shè)計(jì) 17
3.4.2 列驅(qū)動(dòng)電路設(shè)計(jì) 18
3.5 通信系統(tǒng)硬件設(shè)計(jì) 18
3.6 電源設(shè)計(jì) 19
3.7 級(jí)連大屏幕LED顯示屏 20
第4章 系統(tǒng)軟件設(shè)計(jì) 22
4.1 程序設(shè)計(jì) 22
4.2 顯示程序的設(shè)計(jì) 23
4.2.1 LED顯示屏的顯示方式 23
4.2.2 點(diǎn)陣數(shù)據(jù)表達(dá)方式 24
4.2.3 顯示程序的設(shè)計(jì) 25
4.3 通信程序的設(shè)計(jì) 27
第5章 系統(tǒng)調(diào)試 29
5.1 系統(tǒng)硬件部分調(diào)試方法 29
5.1.1 短路與虛焊檢測(cè) 30
5.1.2 上電測(cè)試 30
5.1.3 串口調(diào)試 30
5.2 系統(tǒng)軟件調(diào)試方法 31
5.3 系統(tǒng)聯(lián)合調(diào)試及結(jié)果 32
5.4 調(diào)試結(jié)果分析 32
結(jié)論 34
致謝 35
參考文獻(xiàn) 36
附錄1 系統(tǒng)硬件原理圖 37
附錄2 設(shè)計(jì)程序 38
附錄3 系統(tǒng)PCB圖 46
[1] 關(guān)積珍.LED.顯示屏發(fā)展?fàn)顩r及趨勢(shì)[J].世界電子元器件,2000, (02):277-301.
[2] 關(guān)積珍,陸家和. 我國LED顯示屏技術(shù)和產(chǎn)業(yè)發(fā)展及展望.現(xiàn)代顯示,2004, (02):34-37.
[3] Jeyamkondan S,Jayas D S,Holly R A.16x16 dot matrix LED has 4mm profile. Electronics Weekly,11/26/2003 Issue 2125,36-36,1/9p,1c;(AN 11842012).
[4] 繆思恩. LED大屏幕顯示電路設(shè)計(jì)[J].電子技術(shù)應(yīng)用,1996,(08):56-77.
[5] Dave Jackson. 關(guān)于DSP芯片的問與答.今日電子 ,1998,(12):1-7.
[6] 盧彌堅(jiān).主從分布式LED大屏幕顯示系統(tǒng)[J].電腦與信息技術(shù),1997,(04):6-13.
[7] 高勝東,梁采,張宏富.一種LED大屏幕顯示系統(tǒng)[J].成都?xì)庀髮W(xué)院學(xué)報(bào),1998,(03):108-120.
[8] 張全福.匯編語言程序設(shè)計(jì)實(shí)驗(yàn)教學(xué)改革與探索.教學(xué)研究,2005,(06):3-5.
[9] 文哲雄.用單片機(jī)控制LED顯示屏[D].佛山:佛山科學(xué)技術(shù)學(xué)院,1995.
[10] 彭寧,只佩華.單片機(jī)對(duì)LED大屏幕顯示的控制系統(tǒng)[J].河北大學(xué)學(xué)報(bào)(自然科學(xué)版),1993,13(3):86-89.
[ 11] 陳玉華,王銘霞. LED大屏幕顯示電路的設(shè)計(jì)[J].大連海事大學(xué)學(xué)報(bào),1997,(03):55-56.
[12] 鄭剛,李宇成.LED大屏幕顯示系統(tǒng)的設(shè)計(jì)[J].北方工業(yè)大學(xué)學(xué)報(bào),2001,(03):43-47.
[13] 李元生. LED光柱專用驅(qū)動(dòng)器[J]. 家庭電子,2005,(04):1-7.
[14] 王亭,李瑞濤,宋召清.在Windows下PC機(jī)和單片機(jī)的串行通信[J].微型機(jī)與應(yīng)用,2000(1):25-27.
[15] 陳新忠.基于RS232總線的單片機(jī)多機(jī)通信軟件設(shè)計(jì)[J].現(xiàn)代電子技術(shù),2002,(03) :56-78.
[16] 喬世杰.小波圖像編碼中的對(duì)稱邊界延拓法[J].中國圖像圖形學(xué)報(bào),2000,5(9):725-729.
[17] 李桂平.LED屏幕顯示器的設(shè)計(jì)[J].零陵師范學(xué)院學(xué)報(bào),2002,(9):367-380.
[18] David F Rogers.Computer graphics algorithm[M].Beijing:China Machine Press,2002:97-99.
[19] Marston, R.. Radio-Electronics, Working with LED display drivers[J]. Mar1992, Vol. 63 Issue 3, 65, 8p, 3 charts, 23 diagrams; (AN 9206290756).
[20] Regenold, Stephen. LEDs Are Still Popular (and Improving) after All These Years[Z].Sep2004, Vol. 18 Issue 9, 44-44, 1/7p,1c; (AN 14525210).
TA們正在看...
- 中學(xué)心理健康班會(huì)課教案:我的喜怒哀樂.doc
- 小學(xué)教師年終述職報(bào)告(1).doc
- 中學(xué)心理健康班會(huì)課教案:欣賞自己,欣賞他人,走...doc
- 小學(xué)教師年終述職報(bào)告.doc
- 中學(xué)心理健康班會(huì)課教案:淡淡康乃馨濃濃母子情.doc
- 小學(xué)教師年終述職述廉報(bào)告.doc
- 中學(xué)心理健康班會(huì)課教案:讓“清風(fēng)”吹遍校園.doc
- 小學(xué)教師述職報(bào)告.doc
- 中學(xué)心理健康班會(huì)課教案:讓困難成為成長的動(dòng)力.doc
- 小學(xué)教師述職報(bào)告模板.doc