【正文】
(系): 電子信息工程學(xué)院 專 業(yè): 電氣工程及其自動化 班 級: 110411 學(xué) 生: 陳豪 學(xué) 號: 110411102 指導(dǎo)教師: 任晶鼎 2022 年 06 月基于單片機(jī)的多功能廣告牌設(shè)計摘 要 近年來隨著科技的飛速發(fā)展,單片機(jī)的應(yīng)用正在不斷的走向深入,同時帶動傳統(tǒng)控制及 LED 顯示技術(shù)日新月異的更新。大型 LED 點(diǎn)陣廣告牌與傳統(tǒng)的廣告宣傳緊密結(jié)合成為新的媒體宣傳工具,廣泛應(yīng)用于展覽中心、金融市場、醫(yī)院、體育場館、機(jī)場、碼頭、車站、街道、高速公路等公共場所的信息顯示和廣告宜傳。該廣告牌具備萬年歷顯示功能,同時能夠接收 PC 機(jī)命令并滾動顯示相應(yīng)文字。本方案利用 STC89C52 單片機(jī)為主控芯片,LED 點(diǎn)陣的行驅(qū)動電路由74HC138 控制,列驅(qū)動電路由 74HC595 控制,LED 顯示屏是由 8*8LED 點(diǎn)陣模塊組成。關(guān)鍵字:多功能廣告牌;LED 點(diǎn)陣;萬年歷;STC89C52The design of multifunction billboard based on MCUAbstractIn recent years, with the rapid development of technology, SCM applications are constantly deepening, while driving the traditional control and LED display technology changing updates. Large LED dot matrix billboard closely with traditional advertising has bee a new media tools, widely used in the exhibition center, financial markets, hospitals, stadiums, airports, terminals, railway stations, streets, highways and other public places, information display and advertising propaganda. This paper presents a microcontrollerbased control achieve multifunction LED dot matrix display billboard design. The billboards have calendar display function, while the PC is able to receive mands and scrolling display the corresponding text. This system is simple, easy to operate.The scheme uses STC89C52 MCU control chip, LED dot matrix line drive circuit controlled by the 74HC138, 74HC595 controlled by a column driver circuit, LED display is formed by 8 * 8LED dot matrix module. Within the system LED display with a resolution of 16 * 64, which requires 16 LED basic module, can display four characters。 key module using time division multiplexing to achieve the display mode Select and calendar adjustment time。 LED dot matrix。 STC89C52目 錄中文摘要 ................................................(I)英文摘要 ................................................(II)1 緒論 ..................................................................................................................(1) 選題的背景及意義 .......................................................................................(1) 國內(nèi)外相關(guān)發(fā)展情況 ...................................................................................(1) LED 的發(fā)展?fàn)顩r ................................................................................(1) 廣告牌的發(fā)展及控制 .......................................................................(2) 論文主要內(nèi)容及論文結(jié)構(gòu) ...........................................................................(3) 論文主要內(nèi)容 ..................................................................................(3) 論文結(jié)構(gòu) .......................................................................................(3) 本章小結(jié) ..................................................................................................(4)2 系統(tǒng)的總體設(shè)計方案 ..........................................................................(5) 系統(tǒng)設(shè)計目標(biāo) .........................................................................................(5) 系統(tǒng)方案 .................................................................................................(5) 單片機(jī)的選型 .........................................................................................(6) 時鐘芯片的選型 .....................................................................................(6) 按鍵模塊 .................................................................................................(6) LED 顯示屏 .............................................................................................(7) 本章小結(jié) .................................................................................................(8)3 多功能廣告牌系統(tǒng)的硬件設(shè)計 ....................................................(9) 單片機(jī)最小系統(tǒng) .....................................................................................(9) STC89C52 單片機(jī) ........................................................................(9) 單片機(jī)最小系統(tǒng)設(shè)計 ................................................................(10) 按鍵模塊 ...............................................................................................(11)i LED 顯示模塊 .......................................................................................(12) 8*8*LED 基本模塊 ....................................................................(12) 行驅(qū)動電路設(shè)計 ........................................................................(12) 列驅(qū)動電路設(shè)計 ........................................................................(14) 時鐘模塊 ...............................................................................................(15) USB 轉(zhuǎn)串口通訊模塊 ...........................................................................(17) 電源模塊 ...............................................................................................(18) 本章小結(jié) ...............................................................................................(18)4 多功能廣告牌系統(tǒng)的軟件設(shè)計 ............................................................(19) 軟件方案 ...............................................................................................(19) 系統(tǒng)主程序流程圖 ...............................................................................(19) 子程序介紹 ...........................................................................................(20) 時鐘模塊子程序 ........................................................................(20) LED 顯示驅(qū)動子程序 ................................................................(20) 按鍵模塊子程序 ........................................................................(21) USB 轉(zhuǎn)串口通訊模塊子程序 .......................................................(22) 本章小結(jié) ....................................................................................................(22)5 系統(tǒng)仿真和調(diào)試 .............................................................................................(23) 硬件仿真 ....................................................................