基于单片机控制的霓虹灯控制器
摘要:本设计采用AT89S51单片机实现对霓虹灯的控制。系统由单片机控制部分和显示部分组成。显示部分的128个发光二极管成8行16列矩阵式分布。单片机I/O口输出的信号经三极管放大驱动二极管发光。不同的控制信号使发光二极管以不同的方式和花样显示。
关键字:单片机 发光二极管 矩阵式
Neon Light Controller Based on Singlechip
Abstract: This design adopts singlechip AT89S51 to control the neon light. The system is made up of the part of singlechip controller and the part of show. The part of show is 8 lines of 16 row matrix types. Signal from singlechip is enlarged by triode transistor to drive the LBD. The different control signal makes LBD to give out light with the pattern in different way.
Keyword: singlechip LBD matrix
目录
1. 系统设计……………………………………………………………………………………….3
1.1设计要求…………………………………………………………………………………..3
1.2总体设计方案……………………………………………………………………………..3
1.2.1设计思路………………………………………………………………………………...3
1.2.2方案论证与比较………………………………………………………………...3
1.2.3系统组成………………………………………………………………………..4
2.单元电路设计…………………………………………………………………………………….4
2.1显示部分电路………………………………………………………………………………..4
2.2控制部分电路………………………………………………………………………………..5
3.软件设计………………………………………………………………………………………….6
3.1程序流程图…………………………………………………………………………………..6
3.2程序清单…………………………………………………………………………………….7
4结论……………………………………………………………………………………………….7
参考文献……………………………………………………………………………………………7
附录1:元器件明细表……………………………………………………………………………7
附录2:程序清单…………………………………………………………………………………8