【正文】
劉 丹青島大學(xué)自動化工程學(xué)院摘 要本系統(tǒng)是從實際應(yīng)用角度出發(fā),針對當(dāng)前市場上流行的LED產(chǎn)品的應(yīng)用領(lǐng)域而設(shè)計制作的多功能電子顯示屏,可用于商場導(dǎo)購促銷顯示、新聞與廣告顯示、車站機場班次時間資訊顯示等。關(guān)鍵詞:LED電子顯示屏 SPCE061A 串行通信AbstractThe LED lattice display system is a kind of new information display media with the rapid development of the puter, microelectronics, photoelectron technology.This 16*64 LED display system includes SPCE061A MCU system, sixteen 8*8 LED lattice modules, display driving circuit, SPR4096 memory module, PCF8563 as the realtime clock chip, keyboard controller et. In addition, it includes LCD circuit, realtime temperature detective, RF munication circuit. This system can display the numbers, letters, Chinese characters. It can display the information timely and circularly, uprollingly, down rollingly leftrollingly, rightrollingly. The lightness of the displaying information can be adjusted continuously. Further more, this system can be remote controlled and municate with PC by COM1 to update the display information.Keywords: LED lattice display system SPCE061A serial munication目 錄一、方案比較 4控制系統(tǒng) 4點陣信息提取方案 4顯示驅(qū)動電路 5二、硬件設(shè)計與論證 5主控制單片機 6LED顯示驅(qū)動電路 6數(shù)據(jù)存儲器 8鍵盤液晶顯示模塊 9無線通信模塊 9時鐘電路的設(shè)計 10溫度檢測 10打印機的選擇 11旋轉(zhuǎn)底盤的設(shè)計 11三、系統(tǒng)的軟件設(shè)計 11主程序流程圖 12點陣字模信息提取程序流程圖 12LED各顯示程序 12串行通信程序 12PC機客戶程序 12四、系統(tǒng)功能測試 16測試及制作中所用儀器 16鍵盤各鍵功能 16單元模塊電路測試 16系統(tǒng)整體功能測試 16五、總結(jié) 17一、方案比較控制系統(tǒng)LED點陣電子顯示屏的設(shè)計一般有兩種方案:方案一:采用可編程邏輯器件作為核心控制器產(chǎn)生LED點陣的行、列驅(qū)動信號。鑒于SPCE061A單片機比傳統(tǒng)的51系列8位單片機具有更加豐富的資源,而且數(shù)據(jù)處理速度快,同時“61板除了具備單片機最小系統(tǒng)電路外還包括有電源電路、音頻電路(含MIC輸入部分和DAC音頻輸出部分)、復(fù)位電路等,體積小,可靠性高。方案一:固定漢字顯示,就是將要顯示的語句中全部漢字的字母數(shù)據(jù)依次提取出來,按順序存放在存儲器中,當(dāng)有顯示任務(wù)時,直接取出字模數(shù)據(jù)送至顯示器即可。因此,要實現(xiàn)這樣的功能就要采用第二種方案。顯示驅(qū)動電路常用的顯示驅(qū)動方式有三種:方案一:串行控制驅(qū)動,這種方式的好處是單元內(nèi)的線路連接簡單,給印刷電路板的設(shè)計帶來方便,減少了布線的密度,方便以后的制作與調(diào)試,而且相對提高了每個單元的可靠性;方案二:并行控制驅(qū)動,將顯示數(shù)據(jù)通過并行(一般為8位)方式送入驅(qū)動電路,這樣的好處是: