【正文】
圖 北京交通大學(xué) 2020 屆本科生畢業(yè)設(shè)計(jì)(論文) 12 第三章 軟件部分 POV LED 軟件簡(jiǎn)介 新型旋轉(zhuǎn) LED 顯示器控制系統(tǒng)與軟件件的開(kāi)發(fā)與設(shè)計(jì)選用的是宏晶科技的八位 MCU,采用 C 語(yǔ)言完成代碼編寫(xiě)。矩形 LED 部分能夠精確描 繪內(nèi)部 LED燈狀態(tài),其中左邊為高位,右邊為低位, 8盞 LED 燈為一個(gè)存儲(chǔ)字節(jié),數(shù)據(jù)存儲(chǔ)從左到右。 (4) 可使用與人的思維更相近的關(guān)鍵字和操作函數(shù)。因?yàn)?16 陣列每個(gè)點(diǎn)顯示的時(shí)間是由定時(shí)器確定 的,但是,電機(jī)的轉(zhuǎn)速,一開(kāi)始都是不確定的。那么每次外部中斷發(fā)生時(shí),應(yīng)該掃描的點(diǎn)數(shù)為 43個(gè)。芯片選擇時(shí)要注意封裝。 系統(tǒng)硬件測(cè)試 由于系統(tǒng)硬件較復(fù)雜,硬件電路裝配、焊接完成后,可能不能正常工作。分別對(duì)這三個(gè)端口進(jìn)行檢測(cè),基本都可以解決問(wèn)題。利用萬(wàn)用表測(cè)量輸出端口的電壓發(fā)現(xiàn)電壓幾乎為零。但是,系統(tǒng)上電以后,液晶一直沒(méi)有顯示出接受的屆結(jié)果。不過(guò) CEC 檢測(cè)表可以實(shí)現(xiàn)簡(jiǎn)單的 8bit 的 CRC檢驗(yàn)(如表 ) 表 CRC校驗(yàn) 十六進(jìn)制數(shù) 0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07 CRC 檢驗(yàn)碼 0x00 0x0d 0x17 0x1a 0x23 0x2e 0x34 0x39 十六進(jìn)制數(shù) 0x08 0x09 0x0a 0x0b 0x0c 0x0d 0x0e 0x0f CRC 檢驗(yàn)碼 Ox46 0x4b 0x51 0x5c 0x65 0x68 0x72 0x7f 其原理是要把發(fā)送的命令通過(guò)讀表的方式得到 CRC 校驗(yàn)碼,發(fā)送出去,這種方式簡(jiǎn)單快捷,大幅度的減少了單片機(jī)的工作量。 分析可能是通訊中干擾太大,從機(jī)沒(méi) 有接收到信號(hào),或者收到的信號(hào)是錯(cuò)誤的,為了解決問(wèn)題,通過(guò)一個(gè)測(cè)試程序,用液晶把接受到的數(shù)據(jù)分別顯示出來(lái),錯(cuò)誤的數(shù)據(jù)占了百分之二十。 北京交通大學(xué) 2020 屆本科生畢業(yè)設(shè)計(jì)(論文) 22 參考文獻(xiàn) [1] 李竹君 ,張恒超 . Keil C51 中斷編程中寄存器組的選用與保護(hù) [J]. 空間電子技術(shù) . 2020(03). [2] 孫超 ,周國(guó)祥 . 面向網(wǎng)絡(luò)傳輸?shù)臒o(wú)損壓縮算法優(yōu)化研究 [J]. 合肥工業(yè)大學(xué)學(xué)報(bào) (自然科學(xué)版 ). 2020(06) . [3] 張明長(zhǎng) .基于 Atmega16 和 DS1302 的數(shù)碼管時(shí)鐘設(shè)計(jì) [J]. 北京印刷學(xué)院學(xué)報(bào) . 2020(02) . [4] 胡陽(yáng) . RGB POV在點(diǎn)陣旋轉(zhuǎn)屏中的應(yīng)用及其電源解決方案 [J]. 中國(guó)科技信息 . 2020(07) . [5] 胡陽(yáng) . 基于視覺(jué)暫留的動(dòng)態(tài)掃描 LED 旋轉(zhuǎn)屏 [J]. 現(xiàn)代電子技術(shù) . 2020(05) . [6] 魏世秀 ,王翀 . 一種基于單片機(jī)的 RGB LED背光源的設(shè)計(jì) [J]. 現(xiàn)代電子技術(shù) . 2020(04). [7] 張玉健 . 基于 nRF24L01 的無(wú)線溫濕度檢測(cè)系統(tǒng)設(shè)計(jì) [J]. 物聯(lián)網(wǎng)技術(shù) . 2020(01). [8] 曹青梅 ,徐立友 ,曹艷玲 ,席志強(qiáng) . 基于 nRF24L01的移動(dòng)數(shù)據(jù)通訊網(wǎng)絡(luò)設(shè)計(jì) [J]. 微 型機(jī)與應(yīng)用 . 2020(24). 北京交通大學(xué) 2020 屆本科生畢業(yè)設(shè)計(jì)(論文) 23 外文資料 First LED Summary LED (Light Emitting Diode), lightemitting diode, is a solid state semiconductor devices, which can be directly converted into electricity to light. LED is the heart of a semiconductor chip, the chip is attached to one end of a stent, is the negative side, the other end of the power of the cathode, the entire chip package to be epoxy resin. Semiconductor chip is posed of two parts, part of the Ptype semiconductor, it inside the holedominated, the other side is the Ntype semiconductor, here is mainly electronic. When the current through the wires role in this chip, will be pushing eP, P zone in the hole with electronic posite, and then to be issued in the form of photon energy, and this is the principle of LED luminescence. The wavelength of light that is the color of light is formed by the PN junction of the decisions of the material. Second LED history and development 50 years ago, people have to understand semiconductor materials can produce light of the basic knowledge, the first mercial diodes in 1960. English is the LED light emitting diode (LED) acronym, and its basic structure is an electroluminescent semiconductor materials, placed in a wire rack, then sealed with epoxy resin around, that is, solid package, Therefore, the protection of the internal batteries can play the role of line, so the seismic performance LED good. LED is the core of the Ptype semiconductor and ponents of the Ntype semiconductor chips, the Ptype semiconductor and Ntype semiconductor between a transition layer, called the PN junction. In some semiconductor materials in the PN junction, the injection of a small number of carriercarrier and the majority of the extra time will be in the form of light energy to release, thus the power to direct conversion of solar energy. PN junction on reverse voltage, , it is not luminous. This use of injection electroluminescent diodes is produced by the principle of lightemitting diodes, monly known as LED. When it in a positive state of the work (that is, at both ends with forward voltage), the current flows from the LED anode, cathode, semiconductor crystals on the issue from the ultraviolet to infrared light of different colors, light and the strength of the currents. 北京交通大學(xué) 2020 屆本科生畢業(yè)設(shè)計(jì)(論文) 24 Instruments used for the first LED light source instructions, but all kinds of light colored LED lights in traffic and large screen has been widely applied, be good economic and social benefits. The 12inch red traffic lights as an example, is used in the United States have long life, lowefficiency 140 watt incandescent lamp as a light source, it produced 2,000 lumens of white light. The red filter, the loss90 percent, only 200 lumens of red light. In the light of the new design, panies have 18 red LED light source, including the loss of circuit, total power consumption of 14 watts to generate the same optical effect. LED lights is also the source of important areas. For general lighting, people need more white light sources. The 1998 white LED successful development. This is the GAN LED chip and Yttrium Aluminum Gar (YAG) package together cause. GAN chip of the Blueray (λ p = 465nm, Wd = 30nm), made of hightemperature sintering of the Ce3 + YAG phosphors excited by this Blueray after irradiating a yellow, the peak 550 nm. Bluechip installed in the LEDbased reflection in the cavity, covered with a resin mixed with YAG thin layer, about 200500 nm. LEDbased tablets issued by the Bluray absorption part of the phosphor, the phosphor another part of the Blueray and a yellow light mixed, can be a white. Now, the In GAN / YAG white LED, YAG phosphor by changing the chemical position of the phosphor layer and adjust the thickness of the 350010000 K color temperature can be colored white. This blue LED through the method by white, constructed simple, lowcost, high technology is mature, so use the most. The development of LED display can be divided into the following phases: first phase 1990 to 1995, mainly monochrome and 16 color graphics screen. What used to display text and simple images, mainly used in railway stations, financial securities, banks, post offices and other public places, as public information