【正文】
場(chǎng)、證券市場(chǎng)以及多種監(jiān)控調(diào)度中得到了廣泛的應(yīng)用。寫字板可以免去學(xué)習(xí)打字的煩惱,使用起來(lái)相當(dāng)方便。s handwritten input need, the input more simple, quick. This system to STM32 as the core, the STM32 control, make of LED dot matrix can point by point high speed program control light put out. Homemade a photoelectric sensor brush, brush when in of LED dot matrix on the move, the system can realtime capture the tip brush on the position information of LED dot matrix, and finally of LED dot matrix can show the picture of the design by brush. The design of hardware design including: light pen design, 32 32 of LED dot matrix connection, 32 32 of LED dot matrix of the drive control circuit, display circuit of the function and principle, the use of the keyboard and design, etc. Design scheme using 416 line decoder 74HC154 and 74LS273 drive the row and column of the matrix, through the STM32 control achieve display function. Keywords: LED dot matrix Light pen STM32 74HC154 5 第一章 緒論 研究的背景和意義 隨著計(jì)算機(jī)技術(shù)的發(fā)展,各種硬件設(shè)備也日新月異,在輸入設(shè)備中,為了應(yīng)對(duì)手寫文字輸入與繪畫輸入的需要,出現(xiàn)了各種手寫繪畫輸入設(shè)備,包括寫字板、繪畫板等。 設(shè)計(jì)方案運(yùn)用了 416 線譯碼器 74HC154 和 74LS273 驅(qū)動(dòng)點(diǎn)陣的行和列,通過(guò) STM32 的控制實(shí)現(xiàn)顯示功能。自制一支光電感應(yīng)畫筆,當(dāng)畫筆在 LED 點(diǎn)陣上隨意移動(dòng)時(shí),系統(tǒng)能實(shí)時(shí)捕捉畫筆筆尖在 LED 點(diǎn)陣上的位置信息,最終 LED點(diǎn)陣能顯示出由畫筆描繪的圖案。 畢業(yè)論文 題 目 : 基于 STM32的 LED點(diǎn)陣光筆設(shè)計(jì)與實(shí)現(xiàn) —— 軟件部分 姓 名: XXX 院 系: XXX 專 業(yè): 電子信息工程 年 級(jí): 2021級(jí) 學(xué) 號(hào): 2021114029 指導(dǎo)教師: 完成時(shí)間: 2021年 5月 目錄 目錄 ................................................................................................................................................. 1 摘要 ................................................................................................................................................. 3 2 第一章 緒論 ................................................................................................................................... 5 研究的背景和意義 ........................................................................................................... 5 課題設(shè)計(jì)的思路簡(jiǎn)介 ....................................................................................................... 5 設(shè)計(jì)任務(wù)及要求 ............................................................................................................... 6 第二章 LED 點(diǎn)陣光筆系統(tǒng)結(jié)構(gòu)簡(jiǎn)介 .......................................................................................... 7 系統(tǒng)的總體設(shè)計(jì) ............................................................................................................... 7 各模塊的設(shè)計(jì) .................................................................................................................. 7 核心控制模塊的設(shè)計(jì) ............................................................................................ 7 光筆設(shè)計(jì) ................................................................................................................ 8 點(diǎn)陣設(shè)計(jì) ................................................................................................................ 8 顯示方案設(shè)計(jì) ....................................................................................................... 8 控制按鍵的設(shè)計(jì) ................................................................................................... 8 系統(tǒng)作用 ........................................................................................................................... 8 第三章 系統(tǒng)設(shè)計(jì)語(yǔ)言及開(kāi)發(fā)環(huán)境 ............................................................................................... 9 C 語(yǔ)言概述 ....................................................................................................................... 9 語(yǔ)言的發(fā)展過(guò)程 ................................................................................................. 9 語(yǔ)言的特點(diǎn) ......................................................................................................... 9 開(kāi)發(fā)環(huán)境介紹 ................................................................................................................... 9 第四章 點(diǎn)陣光筆各模塊詳細(xì)設(shè)計(jì) ........................................................................................... 11 關(guān)于 STM32 .................................................................................................................... 11 電源 ..................................................................................................................... 11 低功耗 ................................................................................................................. 12 通用和復(fù)用 I/O................................................................................................... 12 外部中斷 /事件控制器( EXTI) ....................................................................... 13 通用定時(shí)器 ......................................................................................................... 15 整體的系統(tǒng)流 程圖 ......................................................................................................... 16 32X32 點(diǎn)陣行列掃描的實(shí)現(xiàn) ......................................................................................... 17 光筆檢測(cè)模塊的設(shè)計(jì) .................................................................................................... 21 顯示模塊的設(shè)計(jì) ............................................................................................................. 27 第五章 系統(tǒng)測(cè)試與結(jié)果 ............................................................................................................. 32 光筆的測(cè)試 .................................................................................................................... 32 LCD 模塊的測(cè)試 ............................................................................................................ 32 按鍵盤功能的測(cè)試 ......................................................................................................... 32 定時(shí)休眠功能的測(cè)試 ....................................