畢業(yè)論文 點陣字符顯示器的設(shè)計與制作.doc
約40頁DOC格式手機打開展開
畢業(yè)論文 點陣字符顯示器的設(shè)計與制作,摘要:本系統(tǒng)設(shè)計思路是:利用單片機對整個系統(tǒng)進行總體控制,使8*8點陣led字符顯示器能顯示“志存高遠”4個文字。顯示方式分為三種:逐字顯示、上滾顯示、左滾顯示,其中顯示字模數(shù)據(jù)由單片機輸入顯存,點陣的點亮過程有程序控制,由驅(qū)動電路完成,點陣采用單色顯示,該顯示器電路的特點是:點陣的動態(tài)顯示過程占用時間比較短,亮度比較...
內(nèi)容介紹
此文檔由會員 ljjwl8321 發(fā)布
摘要:本系統(tǒng)設(shè)計思路是:利用單片機對整個系統(tǒng)進行總體控制,使8*8點陣LED字符顯示器能顯示“志存高遠”4個文字。顯示方式分為三種:逐字顯示、上滾顯示、左滾顯示,其中顯示字模數(shù)據(jù)由單片機輸入顯存,點陣的點亮過程有程序控制,由驅(qū)動電路完成,點陣采用單色顯示,該顯示器電路的特點是:點陣的動態(tài)顯示過程占用時間比較短,亮度比較高,而且亮度可以通過改變電阻進行調(diào)節(jié)。本方案最大的特點在于核心控制芯片的選擇,采用AT89C51單片機,利用AT89C51的掉電工作方式,構(gòu)成高可靠、低功耗系統(tǒng)方法。AT89C51的采用有很多方面的優(yōu)勢。應(yīng)用AT89C51作為控制核心的設(shè)計大多在性能上要求很高。 AT89C51單片機內(nèi)部的振蕩電路是一個高增益反向放大器,引線XTAL1和XTAL2分別是放大器的輸入端和輸出端。單片機內(nèi)部雖然有振蕩電路,但要形成時鐘,外部還需附加電路。AT89C51的時鐘產(chǎn)生方式有兩種:內(nèi)部時鐘電方式和外部時鐘方式。由于外部時鐘方式用于多片單片機組成的系統(tǒng)中,所以此處選用內(nèi)部時鐘方式。本設(shè)計中AT89C51是采用上電自動復(fù)位和按鍵復(fù)位兩種方式。上電瞬間,RC電路充電,RST引線端出現(xiàn)正脈沖,只要RST端保持10ms以上的高電平,就能使單片機有效地復(fù)位。其中R1和R2分別選擇200Ω和1KΩ的電阻,電容器一般選擇22μF。采用8×8點陣LED顯示器,簡稱LED點陣板或LED矩陣板。它是以發(fā)光二極管為像素,按照行與列的順序排列起來,用集成工藝制成的顯示器件。有單色和雙色之分,這種顯示器有共陽極接法和共陰極接法兩種,設(shè)計中用到的是共陽極的顯示器。
關(guān)鍵詞:LED點陣、單片機、顯存、低功耗、發(fā)光二極管
Dot matrix characters display the design and manufacture
Abstract:This design intent to take 80521single chip to control entire system generally. The display word-module data is input by single chip to display memory. The lightening process is accomplished by other circuit ( programme and drive) automatically. Dynamic display process engross a little of the time . The lighting is able to be adjusted by changing the resistance . The lighting ways: single , rolling from down , rolling from right. The biggest feature of this program lies in the choice of the core control chip AT89C51 microcontroller AT89C51 power-down work, constitute a highly reliable, low-power consumption systems approach. Of AT89C51 use a lot of advantages. Application AT89C51 as the design of the control core, most demanding performance. AT89C51 microcontroller internal oscillator circuit is a high-gain inverting amplifier lead XTAL1 and XTAL2 are input and output of the amplifier. Single-chip internal oscillator circuit, but the formation of the clock, the external need additional circuit. The AT89C51 clock method of electric way of two kinds: internal clock and external clock modes. This design, the AT89C51 is automatically reset button power on reset in two ways. The most simple reset circuit shown in Figure 1-2. On the electric moment, the RC circuit charging end of the RST leads to positive pulse, as long as the RST side more than 10ms high, you can make the MCU reset. Where R1 and R2 were selected 200Ω and to 1KΩ the resistor, capacitor generally choose recommended to be 22μF. 8 × 8 dot matrix LED display, referred to as the LED dot matrix board or LED matrix board. It is based on light-emitting diode pixels in accordance with the order of rows and columns line up, made with the integration process display. Monochrome and color, this display has a common anode connection and common cathode connected in two, used in the design is a common anode display.
Key words:LED lattice、single chip、Low-power 、display memory 、Light-emitting diodes
目錄
前言 1
第一章 系統(tǒng)總體方案的設(shè)計 2
1.1 方案選擇 2
1.1.1 需要實現(xiàn)的功能 2
1.1.2 設(shè)計思路 2
1.1.3 單片機的選擇 2
1.2 單片機最小系統(tǒng)設(shè)計 2
1.2.1 單片機的時鐘電路 2
1.2.2 單片機的復(fù)位電路 3
1.2.3 AT89C51的最小應(yīng)用系統(tǒng) 4
1.3 按鍵及接口設(shè)計 4
1.3.1 獨立式按鍵接口設(shè)計 4
1.4 顯示器及接口設(shè)計 5
1.4.1 8×8點陣LED顯示器的組成原理及控制方式 5
1.4.2 8×8點陣LED顯示器與單片機的接口 6
1.5 驅(qū)動電路的設(shè)計 7
1.6 電源電路的設(shè)計 8
第二章 系統(tǒng)的硬件設(shè)計 9
2.1 硬件系統(tǒng)的總體設(shè)計 9
2.2 單片機AT89C51的分析 9
2.2.1 AT89C51單片機芯片的性能及功能 9
2.2.2 性能說明 10
2.2.3 管腳說明 10
2.3 具體電路及功能分析 12
2.3.1按鍵接口控制電路 12
2.3.2顯示電路 12
2.3.3電源電路 12
2.4 電路原理圖 12
第三章 系統(tǒng)的軟件設(shè)計 15
3.1單片機指令集及寄存器介紹 15
3.1.1 MS-51單片機指令集 15
3.1.2 PSW,RAM和ROM 19
3.1.3 8051單片機管腳 20
3.1.4 定時器T0/T1 20
3.2 軟件總體設(shè)計及功能描述 20
3.2.1 系統(tǒng)主要程序的設(shè)計 20
3.2.2主程序及流程圖 20
3.2.3初始化程序 21
3.2.4 顯示程序及流程圖 21
3.3 單片機系統(tǒng)資源的分配 22
3.4 源程序 23
3.4.1 主程序 23
3.4.2初始化程序 23
3.4.3 顯示程序 23
第四章 實物制作與調(diào)試 24
4.1 原材料的選擇與采購 24
4.2 實物的設(shè)計與制作 24
4.3 單片機的測試 24
4.4 硬件及軟件的調(diào)試 24
4.5 整機的調(diào)試與測試 25
致謝 26
參考文獻 27
附錄 28
關(guān)鍵詞:LED點陣、單片機、顯存、低功耗、發(fā)光二極管
Dot matrix characters display the design and manufacture
Abstract:This design intent to take 80521single chip to control entire system generally. The display word-module data is input by single chip to display memory. The lightening process is accomplished by other circuit ( programme and drive) automatically. Dynamic display process engross a little of the time . The lighting is able to be adjusted by changing the resistance . The lighting ways: single , rolling from down , rolling from right. The biggest feature of this program lies in the choice of the core control chip AT89C51 microcontroller AT89C51 power-down work, constitute a highly reliable, low-power consumption systems approach. Of AT89C51 use a lot of advantages. Application AT89C51 as the design of the control core, most demanding performance. AT89C51 microcontroller internal oscillator circuit is a high-gain inverting amplifier lead XTAL1 and XTAL2 are input and output of the amplifier. Single-chip internal oscillator circuit, but the formation of the clock, the external need additional circuit. The AT89C51 clock method of electric way of two kinds: internal clock and external clock modes. This design, the AT89C51 is automatically reset button power on reset in two ways. The most simple reset circuit shown in Figure 1-2. On the electric moment, the RC circuit charging end of the RST leads to positive pulse, as long as the RST side more than 10ms high, you can make the MCU reset. Where R1 and R2 were selected 200Ω and to 1KΩ the resistor, capacitor generally choose recommended to be 22μF. 8 × 8 dot matrix LED display, referred to as the LED dot matrix board or LED matrix board. It is based on light-emitting diode pixels in accordance with the order of rows and columns line up, made with the integration process display. Monochrome and color, this display has a common anode connection and common cathode connected in two, used in the design is a common anode display.
Key words:LED lattice、single chip、Low-power 、display memory 、Light-emitting diodes
目錄
前言 1
第一章 系統(tǒng)總體方案的設(shè)計 2
1.1 方案選擇 2
1.1.1 需要實現(xiàn)的功能 2
1.1.2 設(shè)計思路 2
1.1.3 單片機的選擇 2
1.2 單片機最小系統(tǒng)設(shè)計 2
1.2.1 單片機的時鐘電路 2
1.2.2 單片機的復(fù)位電路 3
1.2.3 AT89C51的最小應(yīng)用系統(tǒng) 4
1.3 按鍵及接口設(shè)計 4
1.3.1 獨立式按鍵接口設(shè)計 4
1.4 顯示器及接口設(shè)計 5
1.4.1 8×8點陣LED顯示器的組成原理及控制方式 5
1.4.2 8×8點陣LED顯示器與單片機的接口 6
1.5 驅(qū)動電路的設(shè)計 7
1.6 電源電路的設(shè)計 8
第二章 系統(tǒng)的硬件設(shè)計 9
2.1 硬件系統(tǒng)的總體設(shè)計 9
2.2 單片機AT89C51的分析 9
2.2.1 AT89C51單片機芯片的性能及功能 9
2.2.2 性能說明 10
2.2.3 管腳說明 10
2.3 具體電路及功能分析 12
2.3.1按鍵接口控制電路 12
2.3.2顯示電路 12
2.3.3電源電路 12
2.4 電路原理圖 12
第三章 系統(tǒng)的軟件設(shè)計 15
3.1單片機指令集及寄存器介紹 15
3.1.1 MS-51單片機指令集 15
3.1.2 PSW,RAM和ROM 19
3.1.3 8051單片機管腳 20
3.1.4 定時器T0/T1 20
3.2 軟件總體設(shè)計及功能描述 20
3.2.1 系統(tǒng)主要程序的設(shè)計 20
3.2.2主程序及流程圖 20
3.2.3初始化程序 21
3.2.4 顯示程序及流程圖 21
3.3 單片機系統(tǒng)資源的分配 22
3.4 源程序 23
3.4.1 主程序 23
3.4.2初始化程序 23
3.4.3 顯示程序 23
第四章 實物制作與調(diào)試 24
4.1 原材料的選擇與采購 24
4.2 實物的設(shè)計與制作 24
4.3 單片機的測試 24
4.4 硬件及軟件的調(diào)試 24
4.5 整機的調(diào)試與測試 25
致謝 26
參考文獻 27
附錄 28
TA們正在看...
- 2015年浙江省中國計量大學(xué)傳感器技術(shù)考研真題.doc
- 2015年浙江省中國計量大學(xué)信號系統(tǒng)與信息處理考研...doc
- 2015年浙江省中國計量大學(xué)分子生物學(xué)考研真題.doc
- 2015年浙江省中國計量大學(xué)工程光學(xué)考研真題.doc
- 2015年浙江省中國計量大學(xué)普通物理考研真題.doc
- 2015年浙江省中國計量大學(xué)材料科學(xué)基礎(chǔ)考研真題.doc
- 2015年浙江省中國計量大學(xué)熱工基礎(chǔ)考研真題.doc
- 2015年浙江省中國計量大學(xué)物理光學(xué)考研真題.doc
- 2015年浙江省中國計量大學(xué)生物化學(xué)考研真題.doc
- 2015年浙江省中國計量大學(xué)電子技術(shù)基礎(chǔ)考研真題.doc