文档介绍:摘要 I 摘要计算机技术的飞速发展和提高,把我们带入了崭新的时代,现在,计算机的应用已经深入到千家万户。单片微型计算机是制作在一块集成电路芯片上的计算机,简称单片机。单片机在现在社会有着广泛的应用,小到人们的日常电子用品, 大到航天飞机、宇宙飞船,上面都有单片机的广泛应用。单片机具有体积小、功能强大、低功耗、应用广泛等特点。以 AT 公司的芯片 AT89C51 单片机来实现流水灯的设计。本系统由单片机控制, I/O 口接 LED 的负极,而 LED 的正极则直接与 5V 电源相连。通过 I/O 口输出的低电平点亮 LED 灯。因此可以通过控制单片机的 I/O 口的电平高低以达到控制 LED ,从而实现不同花样的流水灯的目的。关键词: LED ,单片机,高低电平变化 ABSTRACT II ABSTRACT The rapid development puter technology and improving, bring us to the new era, now, the application puter has been deep into the thousands. Single chip puter is made on an integrated circuit puter, hereinafter referred to as single chip puter. SCM has been widely used in the present society, small to People's Daily electronic products, big to aerospace aircraft, spacecraft, above has the wide application of single-chip puter. SCM has small volume, powerful function, low power consumption, wide application, etc. AT pany's chip AT89C51 single-chip puter to realize the water lamp design. This system controlled by single chip puter, I/O ports connect the LED the cathode, and LED the anode is directly connected to5V power supply. Through the I/O port output low level light leds. So you can single chip puter 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 目录 III 目录第1章引言................................................................................................................... 1 研究背景及意义........................................................................................................ 1 国内外研究现状以及本系统的重点问题................................................................ 1 本文章节安排............................................................................................................ 2 第 2章系统设计方案论证........................................................................................... 3 控制器模块方案论证...................................................