单片机彩灯移动实验_基于单片机的广告移动彩灯

基于单片机的广告移动彩灯

摘要

随着电子技术的迅速发展,单片机得到了越来越多的应用。本设计用单片机89S51结合LED(发光二极管)制作了一个广告移动彩灯,它由一块89S51组成,通过逐次扫描其中一块的P2.0--P2.7口,从而依次实现彩灯轮流点亮、逐点点亮、间隔点亮。如果控制交流彩灯,可在P1端口加接继电器或可控硅接口电路。它可以通过程序设计亮两种颜色。本设计可应用在广告彩灯控制器、舞台灯光控制器等领域。

关键字:逐次扫描 , 按键扫描 , 延时

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单片机发展概述 3

1.2单片机的应用领域 4

1.3单片机的发展趋势 5

2. 正文 7

2.1功能说明 7

2.1.1控制端口: 7

2.1.2程序执行后LED闪动,表示程序开始执行: 8

2.2.1控制电路组成部分: 8

2.2.2 各部分电路及说明 8

2.2.3单片机89S51的功能说明如图1所示: 10

2.2.3实现原理: 13

2.6 仿真与烧录 13

2.6.1伟福软件模 13

3. 结论 14

参考文献 15

附录 16

致谢 25

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值