毕业论文

打赏
当前位置: 毕业论文 > 自动化 >

AT89C51单片机的花式跑马灯设计+程序+电路图

时间:2023-10-05 16:48来源:毕业论文
单片机的花式跑马灯设计,设计了一种跑马灯系统,使用AT89C51芯片作为系统的控制芯片。系统包括AT89C51单片机、发光二极管、时钟电路、控制跑马灯模式变换的按键电路四个组成部分

摘要:本文介绍设计了一种跑马灯系统,使用AT89C51芯片作为系统的控制芯片。系统包括AT89C51单片机、发光二极管、时钟电路、控制跑马灯模式变换的按键电路四个组成部分。系统的16个LED发光二极管通过单片机AT89C51的P0、P2端口控制,模式按键控制着花式跑马灯的5种模式。当P0、P2口检测到低电平实现LED灯的亮,反之实现LED灯的熄灭。本设计最后通过软件编程实现LED灯的延迟从而实现跑马灯的效果。该设计具有成本低、精度高、易于实现等优点。85454

毕业论文关键词:花式跑马灯、protues、AT89C51

Abstract: this paper introduces the design of a kind of running horse lighting system, using AT89C51 chip as the control chip of the system。The system is consisted of four parts, including AT89C51 single chip, light-emitting diode, clock circuit, and the key circuit that controls the transformation of the lamp mode。16 LED lights of the system are controlled by the P0 and P2 port of the single chip, AT89C51, and the mode keys control the five modes of the fancy running lamp。When P0 and P2 detect the light of LED lights at low level, the LED lights are extinguished。This design finally realizes the effect of the LED lamp by the software programming。 The design has the advantages of low cost, high precision and easy implementation。

Keywords: fancy running lights、protues、AT89C51

目录

1。引言 5

2。硬件电路的源Q于W优H尔J论K文M网WwW.youeRw.com 原文+QQ75201.,8766 组成和分析 5

2。1 AT89C51单片机芯片的分析 5

2。2单片机单元电路的组成和分析 7

2。2。1单片机的组成 7

2。2。2 时钟电路 7

2。2。3 AT89C51单片机的最小系统 8

2。3 系统框图 8

2。4 系统硬件设计 8

2。5 键盘电路、控制按键的电路及分析 9

2。6 数码显示管电路的组成和分析 10

3。软件的设计 11

3。1 主程序的流程图 11

3。2 花式跑马灯工作的流程图 12

3。3 系统程序的设计:见附录 12

4。系统的调试 12

4。1 系统的仿真和调试 12

4。1。1 keil软件进行程序的编译 12

4。1。2 proteus进行绘制电路图 13

4。1。3 proteus对单片机进行仿真调试 13

4。2 硬件的调试 14

结  论 17

参考文献 18

1。引言

 设计的目的和意义

(1) 16个LED发光二极管以不同模式循环点亮

(2) 2个功能键,K1作为模式键,通过按键显示不同的模式,K2作为结束键。

(3) 模式编号通过通过共阳数码管显示出来

计算机的发展推动了单片机的快速发展,单片机涉及的领域已经扩充到当今社会的各行各业,无时无刻不在影响着各代人。单片机以它可靠性高,性价比高等优势推动着现在测控技术的发展。广泛应用到当今社会的智能生活中。 AT89C51单片机的花式跑马灯设计+程序+电路图:http://www.youerw.com/zidonghua/lunwen_197026.html

------分隔线----------------------------
推荐内容