【正文】
北方民族大學(xué) 學(xué)士學(xué)位論文 論文題目 : 基于單片機(jī) 控制的電子胸牌設(shè)計(jì) 院 (部 )名 稱 : 電氣信息工程學(xué)院 學(xué) 生 姓 名 : 邱立新 專 業(yè) : 通信工程 學(xué) 號(hào) : 20xx0365 指導(dǎo)教師姓名 : 黃現(xiàn)蓮 論文提交時(shí)間 : 20xx 年 5月 19日 論文答辯 時(shí)間 : 20xx 年 5月 25 日 學(xué)位授予時(shí)間 : 北方民族大學(xué)教務(wù)處制 摘 要 現(xiàn)代經(jīng)濟(jì)社會(huì)的越來(lái)越發(fā)展進(jìn)步,作為在信息傳播領(lǐng)域里的一種重要傳播手段, LED 顯示屏在現(xiàn)代化信息社會(huì)越來(lái)越重要,尤其是它在信息服務(wù)領(lǐng)域里,其會(huì)更加廣泛應(yīng)用。注重小型化的 LED 顯示屏的種類將越來(lái)越多,并且其實(shí)用性會(huì)更強(qiáng)。本人采用單片機(jī)技術(shù)設(shè)計(jì)了一套 LED 電子胸牌,其實(shí)用性強(qiáng),性價(jià)比高,應(yīng)用價(jià)值會(huì)更強(qiáng)。 本 設(shè)計(jì)的 硬件電路 包括 三部分 : P89LPC922 設(shè)計(jì)部分 、電子屏 顯示 部分、 紅外串行 技術(shù)部分。 P89LPC922 設(shè)計(jì)部分 主要 是對(duì)電子屏顯示出來(lái)的效果及其方式進(jìn)行控制 ,電子屏 顯示 部分主要的工作是用 不 一樣 方式顯示 漢字 ,而 紅外串行 技術(shù)的功能是對(duì)上、下位機(jī)進(jìn)行連接,并 接收 發(fā)來(lái)的 指令 。 本設(shè)計(jì)軟件部分包括兩部分:上位機(jī)軟件設(shè)計(jì)部分和下位機(jī)軟件設(shè)計(jì)部分。 上位機(jī)部分以 VB 為開(kāi)發(fā)平臺(tái),完成 對(duì)漢字字模的提取 及其 傳輸 、串行通信和發(fā)送數(shù)據(jù),并對(duì)顯示的內(nèi)容和方式進(jìn)行控制;下位機(jī)是以 P89LPC922 為主導(dǎo),設(shè)計(jì)出兩大程序:主程序、中 斷服務(wù)程序。前者的工作是讀取數(shù)據(jù)、發(fā)送控制信號(hào)以及對(duì)顯示方式進(jìn)行變化;后者經(jīng)紅外串行技術(shù)接收 PC 機(jī)發(fā)來(lái)的點(diǎn)陣信息。 關(guān)鍵 字 P89LPC922 單片機(jī) 紅外 串行 電子屏 漢字字模 ABSTRACT WIth the increasingly development of modern economic and social progress, the LED display screen is an important spread means in the field of information transmission and it is more and more important in the modern information society, and especially in the field of information service, it will be more widely used. Paying attention to the miniaturization of the kinds of LED display will be more and more, and its usefulness will be stronger. adopting microcontroller technology,I design a set of LED electronic badges and it has strong practicability,high cost performance and better application value. This design of the hardware circuit consists of three parts: P89LPC922 design parts, electronic screen, infrared serial technical part. P89LPC922 design part’ s job is mainly to control the electronic screen display’ s effect and its display part’ s work is mainly to use different way to display Chinese the function of infrared serial technology is carrying out on the upper and lower place machine connection, and receiving from the instructions. This design of software part includes two parts: PC software design part and the lower position machine software design the VB as development platform,upper machine part pletes the extraction and transmission of Chinese font , serial munication, and sending data, and to control showing content and means 。 Lower machine’ s center is P89LPC922, and it includes two process: main program, interrupt service routine. The former job is to read data, send control signals, and change display mode。 By the infrared serial technology the latter receives the lattice information from PC. KEY WORDS。 P89LPC922 microcontroller Infrared serial Electronic screen Chinese font 目 錄 第 1 章 前 言 ................................................... 1 LED 電子顯示屏概述 ........................................... 1 設(shè)計(jì)內(nèi)容 .................................................... 1 第 2 章 論文的總體方案 ........................................... 3 技術(shù)應(yīng)用原理 ................................................ 3 提取漢字點(diǎn)陣 ........................................... 3 串行通信技術(shù) ........................................... 4 電子胸牌工作原理 ....................................... 4 第 3 章 設(shè)計(jì)的硬件電路 ........................................... 6 單片機(jī)設(shè)計(jì)部分 .............................................. 6 電子屏顯示部分設(shè)計(jì) .......................................... 8 掃描驅(qū)動(dòng)技術(shù) ........................................... 8 電子顯示屏的驅(qū)動(dòng)電路 ................................... 9 紅外串行技術(shù) ............................................... 11 第 4 章 系統(tǒng)軟件設(shè)計(jì)部分 ........................................ 12 PC 機(jī)軟件設(shè)計(jì)部分 ........................................... 12 VB 軟件介紹 ........................................... 12 PC 機(jī)控制界面 ......................................... 13 顯示數(shù)據(jù)提取 .......................................... 14 下位機(jī)軟件部分設(shè)計(jì)與實(shí)現(xiàn) ................................... 15 主程序設(shè)計(jì) ............................................ 15 LED 顯示程序設(shè)計(jì) ...................................... 16 PC 機(jī)與單片機(jī)串行通信程序設(shè)計(jì) ......