【正文】
海 南 大 學(xué) 《單片機(jī)原理與應(yīng)用技術(shù)》 課程設(shè)計(jì)報(bào)告書 題目: 基于 AT89C52LED 點(diǎn)陣顯示電子鐘的制作 學(xué)院: 班級(jí): 姓名: 學(xué)號(hào): 指導(dǎo)教師: 完成日期: 20xx 年 6 月 25 日 基于 AT89C52LED 點(diǎn)陣顯示電子鐘的制作 摘要: 介紹了基于 AT89C51 為控制器的 LED 點(diǎn)陣顯示屏的設(shè)計(jì) ,包括硬件設(shè)計(jì)和軟件設(shè)計(jì)兩部分。系統(tǒng)硬件 部分由單片機(jī)、行驅(qū)動(dòng)電路、列驅(qū)動(dòng)電路、上位 PC機(jī) ,RS232 通訊接口等部分組成 。軟件設(shè)計(jì)采用動(dòng)態(tài)顯示模式的 16 16 點(diǎn)陣顯示屏 ,LED 點(diǎn)陣模塊選用 8 8 基礎(chǔ)模塊 ,每 4 塊排列構(gòu)成一個(gè) 16 16 的點(diǎn)陣屏。并且可以對(duì)其進(jìn)行設(shè)置?;?AT98C52 單片機(jī)的 LED 點(diǎn)陣顯示電子鐘具有結(jié)構(gòu)簡(jiǎn)單,性能靠,價(jià)格低和靈活等優(yōu)點(diǎn),因此得到了廣泛應(yīng)用。利用單片機(jī)來(lái)設(shè)計(jì)的系統(tǒng),既能實(shí)現(xiàn)系統(tǒng)所需的功能,也可以滿足計(jì)數(shù)的準(zhǔn)確性、迅速性,并且電路簡(jiǎn)單、操作簡(jiǎn)單、通用性強(qiáng)。 關(guān)鍵詞: 單片機(jī); LED 點(diǎn)陣 ; 電子鐘 Abstract: The design of LED dot matrix display based on AT89C51 is introduced, which includes two parts, hardware design and software design. System hardware is posed of a single chip puter, drive circuit, a column driver circuit, PC, RS232 munication interface parts。 software design using a dynamic display 16 * 16 dot matrix display, LED dot matrix module selection of 8 * 8 basic module and arranged in each of four blocks constitute a 16 * 16 dot matrix screen. And can be set up. Based on AT98C52 microcontroller LED dot matrix display electronic clock has the advantages of simple structure, performance, low price and flexible, so it has been widely used. The use of singlechip microputer to design the system, both to achieve the system functions, but also to meet the accuracy of the count, and fast, simple operation, simple operation, general. 基于 AT89C52LED 點(diǎn)陣顯示電子鐘的制作 目錄: 一、 緒論 .................................................................................................................... 1 :前言 .............................................................................................................. 1 : 設(shè)計(jì)任務(wù)和要求 ............................................................................................ 1 :工藝要求 ....................................................................................................... 2 二、 系統(tǒng)方案 ............................................................................................................. 2 :方案一 .......................................................................................................... 2 :方案二 .......................................................................................................... 3 三、 器件介紹 ............................................................................................................. 3 : STC89C52 ..................................................................................................... 3 : LED 點(diǎn)陣 ...................................................................................................... 4 : 74LS373 ........................................................................................................ 7 : 74LS245 ........................................................................................................ 7 : 74LS138 ........................................................................................................ 8 : 74LS04.......................................................................................................... 9 : 74LS30.......................................................................................................... 9 四、 系統(tǒng)的硬件設(shè)計(jì) .................................................................................................. 9 : 晶振電路 ..................................................................................................... 10 : 復(fù)位電路 ...................................................................................................... 11 : 按鍵電路 ..................................................................................................... 12 :顯示電路 ..................................................................................................... 12 五、 軟件設(shè)計(jì)及程序分析 ......................................................................................... 13 六、 仿真與測(cè)試 ....