流水灯摘要当今时代是一个新技术层出不穷的时代, 在电子领域尤其是自动化智能控制领域,传统的分立元件或数字逻辑电路构成的控制系统,正以前所未见的速度被单片机智能控制系统所取代。单片机具有体积小、功能强、成本低、应用面广等优点, 可以说, 智能控制与自动控制的核心就是单片机。目前,一个学习与应用单片机的高潮正在工厂、学校及企事业单位大规模地兴起。随着时代的进步和发展,单片机技术已经普及到我们生活,工作,科研,各个领域,已经成为一种比较成熟的技术, 本文将介绍一种基于单片机控制的流水灯, 主要介绍了利用 AT89C5 1 制作一简易流水灯的软硬件设计过程,可实现花样流水灯的效果,重点给出了其软件编程的思想方法,以期给单片机学习者以启发。[ 关键词] :单片机, LED 彩灯; AT89C5 2-2- ABSTRACT The present era is an era of endless new technologies in the electronics field, especially in the field of automated intelligent control, the traditional ponents or digital logic circuits of the control system is at an unprecedented pace has been replaced by MCU intelligent control system. SCM has asmall volume, strong function, low cost, wide application scope, etc., can be said that the core of intelligent control and automation is the microcontroller. At present, alearning and application of SCM is the climax of factories, schools and the rise of large-scale enterprises. As the times progress and development, and SCM technology has spread to the way we live, work, research in various fields has e arelatively mature technology, this article introduces puter-based flow control, lights, introduces AT89C51 produced using asimple hardware and software design process flow lights can be synchronized to achieve the effect of light flowing water, with emphasis given way of thinking of its software programming, with aview to the microcontroller to inspire learners. [Keywords]: MCU, LED Lantern; AT89C51 -3- 目录引言…………………………………………………………………………… 5 一元件介绍…………………………………………………………… 6 AT80C51 的基本特征及引脚……………………………………………………………… 6 电阻………………………………………………………………………………………… 7 电容…………………………………………………………………………………… 8 发光二极管的结构及发光原理…………………………………………………………9 三端稳压集成电路 7805 ……………………………………………………………… 10 二设计任务……………………………………………………………………… 11 设计的要求………………………………………………………………… 11 三总体设计方案…………………………………………………………… 11 系统硬件电路设计………………………………………………………………… 11 电源电路设计………………………………………………………………… 11 程序流程图…………………………………………………………………… 11
流水灯 毕业设计 来自淘豆网m.daumloan.com转载请标明出处.