摘 要:介紹了一種利用嵌入式系統仿真軟件Proteus實現對16×16 LED點陣漢字分批顯示的仿真設計。詳細介紹點陣漢字分批顯示的硬軟件設計原理,給出了主要的C語言源程序,并給出了仿真運行結果。該LED顯示屏系統結構簡潔、功耗低、成本低、擴展性能好。通過Proteus軟件的前期仿真,LED顯示系統設計大大縮短了實際開發周期,降低開發成本。
關鍵詞:LED點陣; 分批顯示; Proteus; AT89C51
中圖分類號:TP312 文獻標識碼:B
文章編號:1004-373X(2010)12-0029-04
Proteus Design and Simulation of LED Chinese-Character Display in Batches
LI Ping
(Zhejiang Water Conservancy and Hydropower College,Hangzhou 310018,China)
Abstract:The simulation of 16 × 16 LED dot-matrix display of Chinese character in batches with an embedded system simulation software Proteus is introduced. The hardware and software design principles about dot-matrix Chinese character display in batches are proposed in detail, the main C-language source codes and the simulation results are given. The LED display system has simple architecture, low power consumption, low cost and good scalability. LED display system significantly reduces the actual development cycle and the development cost through the pre-simulation on Proteus.
Keywords:LED dot matrix; batch display; Proteus; AT89C51
0 引 言
近年來,LED顯示屏由于具有亮度高,壽命長,功耗小,性能穩定,驅動簡單以及可視距離遠等優點[1],已經成為新一代的信息傳播媒體工具。目前,LED顯示屏應用十分廣泛,如證券交易顯示、金融信息顯示、體育場館顯示比賽信息、廣告,城市廣場群顯示、道路交通信息顯示等領域。顯示漢字信息時,一般需要多個LED點陣顯示組合,最常見的組合方式有8×8,16×16,32×16等。由于顯示屏的顯示信息有限,當顯示信息較多時,一般需要進行分批顯示或者滾動顯示。
Proteus是目前最先進、最完整的多種型號微處理器系統的仿真設計平臺,由ISIS和ARES 兩個構成,其中ISIS是一款智能電路原理圖輸入系統軟件,可作為電子系統仿真平臺,ARES是一款高級布線編輯軟件,用于制作PCB印制電路板。開發者可以在無硬件條件下直接使用Proteus進行電路設計和仿真調試,真正實現了在計算機中完成電路原理圖設計、電路分析與仿真、系統測試到形成印制電路板的完整電子設計、研發過程[2]。因此,本課題利用AT89C51單片機作為主控制器,采用Proteus軟件實現對16×16 LED點陣漢字的分批顯示,仿真運行通過后再進行點陣顯示電路制作,大大縮減實際開發周期,節約了開發成本。……