节日彩灯控制器的设计
)
2012 届本科生毕业设计
题目:
基于单片机的节日彩灯控制器的设计 ****
作 者 姓 名:
学
号:
******
系
(院):
机械与电子工程学院
专
业:
电子信息工程
指导教师姓名:
*****
指导教师职称:
讲
师
2012-4-21
I
)
Su Zhou
Байду номын сангаас
University
Year 2012 Bachelor Graduation assignment Design
第 1 章 单片机的介绍.................................................................................................. 2
第 1.1 节 第 1.2 节 第 1.3 节 第 1.4 节 第 1.5 节 第 1.6 节 单片机的简介..................................................................................................... 2 单片机的发展史................................................................................................. 3 单片机的工作过程............................................................................................. 4 单片机的应用..................................................................................................... 4 单片机的学习应用............................................................................................. 6 几种常见的单片机............................................................................................. 8
Key words: LED Lantern STC-89C52 SCM Lantern controller
II
宿州学院毕业论文(设计)
目 前
录
言.............................................................................................................................. 1
关键词:LED 彩灯 STC-89C52 单片机 彩灯控制器
I
宿州学院毕业论文(设计)
ABSTRACT
With the development of microelectronics technology, improve people's living standard, people on the surrounding environment, landscaping and lighting are not limited to monotonous incandescent lights have become a fashion trend. Lantern controller practical value in daily production practices in daily life have become increasingly prominent role. Carnival is also based on a variety of devices have emerged, the microcontroller because of its low price, easy to use, simple to control your lights controlling the main device. More on the market with all the hardware circuit, the circuit structure is complex, single structure, once the finished products can only be a fixed pattern, not according to different occasions, adjust the brightness of different time periods, patterns and blinking frequency of the dynamic parameters, and some circuit The chip too much, circuit complexity, power consumption large, Liang Deng style monotonous lack of operation and other shortcomings, design a new type of lights can not wait. In recent years, the lantern for the landscaping, lighting the city has an important role should not be underestimated. So the city decorated with lanterns as the growing demand for technology and lanterns have become more sophisticated and synchronized. Currently on the market a variety of style LED lantern is the most hardware-wide realization of the existence of complex circuit structure, functions and other limitations of a single, it is essential to the current controller to improve the lantern. This paper introduces a simple control system of the LED lantern design process of hardware and software, with STC-89C52 single-chip microcomputer as the master core and supporting the combination of hardware circuitry, using software control of the LED lanterns. The specialties of this system are simple structure, easy control, less hardware, low cost, and so on.
Electrical Information Engineering
******
Lecturer Instructor
Apr .21th.2012
II
宿州学院毕业论文(设计)
摘
要
随着微电子技术的发展,人民的生活水平不断提高,人们对周围环境的美化和照 明已不仅限于单调的白炽灯,彩灯已成为时尚的潮流。彩灯控制器的实用价值在日常 生产实践日常生活中的作用也日益突出。基于各种器件的彩灯也都出现,单片机因其 价格低廉,使用方便,控制简单而成为控制彩灯的主要器件。 目前市场上更多用全硬件电路实现,电路结构复杂,结构单一,一旦制成成品就 只能按固定模式,不能根据不同场合,不同时段调节亮度时间,模式和闪烁频率等动 态参数,而且一些电路存在芯片过多,电路复杂,功率损耗大,亮灯样式单调缺乏可 操作性等缺点,设计一种新型彩灯已迫不及待。 近年来,彩灯对于美化、亮化城市有着不可轻视的重要作用。因此作为城市装饰 的彩灯需求量越来越大,对与彩灯的技术和花样也越来越高。目前市场上各种式样的 LED 彩灯多半是采用全硬件电路实现,存在电路结构复杂、功能单一等局限性,因此 有必要对现有的彩灯控制器进行改进。本文介绍了一种简易 LED 彩灯控制系统的软硬 件设计过程,以 STC-89C52 单片机作为主控核心与辅助硬件电路相结合,利用软件实 现对 LED 彩灯进行控制。本系统具有电路结构简单、操作容易、硬件少、成本低等特 点。
Title: Design of Lantern Controller Based on Single-chip
Author: Student ID:
********
*********
Department: Mechanical and Electronic Engineering Major: Instructor: Professional Title:
第 3 章 基于单片机的彩灯控制器的硬件设计................................................. 11
第 3.1 节 第 3.2 节 第 3.3 节 芯片的选择及简介........................................................................................... 12 两种芯片的比较............................................................................................... 16 Protel 99SE 介绍............................................................................................ 22