基于51单片机的花样流水灯设计_毕业论文.pdf
文本预览下载声明
摘 要
摘 要
计算机技术的飞速发展和提高,把我们带入了崭新的时代,现在,计算机的
应用已经深入到千家万户。单片微型计算机是制作在一块集成电路芯片上的计算
机,简称单片机。 单片机在现在社会有着广泛的应用, 小到人们的日常电子用品,
大到航天飞机、宇宙飞船,上面都有单片机的广泛应用。单片机具有体积小、功
能强大、低功耗、应用广泛等特点。以 AT 公司的芯片 AT89C51 单片机来实现
流水灯的设计。 本系统由单片机控制, I/O 口接 LED 的负极,而 LED 的正极则直
接与 5V 电源相连。通过 I/O 口输出的低电平点亮 LED 灯。因此可以通过控制单
片机的 I/O 口的电平高低以达到控制 LED ,从而实现不同花样的流水灯的目的。
关键词: LED ,单片机,高低电平变化
I
ABSTRACT
ABSTRACT
The rapid development of computer technology and improving, bring us to the new
era, now, the application of computer has been deep into the thousands.Single chip
microcomputer is made on an integrated circuit chip computer, hereinafter referred to
as single chip microcomputer. SCM has been widely used in the present society, small
to Peoples Daily electronic products, big to aerospace aircraft, spacecraft, above has
the wide application of single-chip microcomputer. SCM has small volume, powerful
function, low power consumption, wide application, etc. AT the companys chip
AT89C51 single-chip microcomputer to realize the water lamp design. This system
controlled by single chip microcomputer, I/O ports connect the LED the cathode, and
LED the anode is directly connected to 5V power supply. Through the I/O port output
low level light leds. So you can single chip microcomputer control through the I/O
ports to control LED, the level of high and low so as to realize the purpose of the
different pattern of flowing water light.
Key words: LED , MCU ,High and Low output leve
II
目录
显示全部