基于單片機(jī)的廣告移動(dòng)彩燈.doc
基于單片機(jī)的廣告移動(dòng)彩燈,摘要 隨著電子技術(shù)的迅速發(fā)展,單片機(jī)得到了越來越多的應(yīng)用。本設(shè)計(jì)用單片機(jī)89s51結(jié)合led(發(fā)光二極管)制作了一個(gè)廣告移動(dòng)彩燈,它由一塊89s51組成,通過逐次掃描其中一塊的p2.0--p2.7口,從而依次實(shí)現(xiàn)彩燈輪流點(diǎn)亮、逐點(diǎn)點(diǎn)亮、間隔點(diǎn)亮。如果控制交流彩燈,可在p1端口加接繼電器或可控硅接...
內(nèi)容介紹
此文檔由會(huì)員 wy19860822 發(fā)布基于單片機(jī)的廣告移動(dòng)彩燈
摘要
隨著電子技術(shù)的迅速發(fā)展,單片機(jī)得到了越來越多的應(yīng)用。本設(shè)計(jì)用單片機(jī)89S51結(jié)合LED(發(fā)光二極管)制作了一個(gè)廣告移動(dòng)彩燈,它由一塊89S51組成,通過逐次掃描其中一塊的P2.0--P2.7口,從而依次實(shí)現(xiàn)彩燈輪流點(diǎn)亮、逐點(diǎn)點(diǎn)亮、間隔點(diǎn)亮。如果控制交流彩燈,可在P1端口加接繼電器或可控硅接口電路。它可以通過程序設(shè)計(jì)亮兩種顏色。本設(shè)計(jì)可應(yīng)用在廣告彩燈控制器、舞臺(tái)燈光控制器等領(lǐng)域。
關(guān)鍵字:逐次掃描 , 按鍵掃描 , 延時(shí)
Based on monolithic integrated circuit advertisement migration colored lantern
Abstract
Along with the electronic technology rapid development, the monolithicintegrated circuit obtained more and more many applications. Here Iused monolithic integrated circuit 89C51 to unify LED (light emitterdiode) to manufacture a belt music broadcast function advertisementmigration colored lantern with the loudspeaker, it was composed by two89C51, through gradually scanned together P3.0--P3.2 mouth, judgedwhether had the pressed key to press down, unified the port scanningand the pressed key scanning, thus realized the colored lantern tolighten, to lighten, the gap point by point in turn in turn lightens.If the control exchange colored lantern, may affix the relay or thesilicon-controlled rectifier connection electric circuit in the P1port. This design's characteristic lay in with three foot's light emitter diodes has manufactured a running water colored lantern, it might through the programming bright two kind of colors. This design may apply in advertisement domains and so on colored lantern controller, stage lighting controller.
Keyword:Scans gradually , Scanning of the button , Relay
目錄
摘要 1
Abstract 2
1. 緒論 3
1.1單片機(jī)發(fā)展概述 3
1.2單片機(jī)的應(yīng)用領(lǐng)域 4
1.3單片機(jī)的發(fā)展趨勢(shì) 5
2. 正文 7
2.1功能說明 7
2.1.1控制端口: 7
2.1.2程序執(zhí)行后LED閃動(dòng),表示程序開始執(zhí)行: 8
2.2.1控制電路組成部分: 8
2.2.2 各部分電路及說明 8
2.2.3單片機(jī)89S51的功能說明如圖1所示: 10
2.2.3實(shí)現(xiàn)原理: 13
2.6 仿真與燒錄 13
2.6.1偉福軟件模 13
3. 結(jié)論 14
參考文獻(xiàn) 15
附錄 16
致謝 25