600字范文,内容丰富有趣,生活中的好帮手!
600字范文 > c语言五个按键控制八个霓虹灯代码 基于51单片机控制霓虹灯设计与制作.docx

c语言五个按键控制八个霓虹灯代码 基于51单片机控制霓虹灯设计与制作.docx

时间:2022-03-05 23:58:01

相关推荐

c语言五个按键控制八个霓虹灯代码 基于51单片机控制霓虹灯设计与制作.docx

PAGE

PAGE 1

摘要

随着城市建设和人们的消费水平的不断发展,人们对于城市美化和商铺间的广告竞争给予了更多的关注。而作为城市装饰和广告宣传的霓虹灯需求量也越来越多。虽然之前也有霓虹灯,但是它主要通过逻辑电路来实现,功能相对单一,显示出的效果过于单调,也无法进行拓展维护,同时制作工艺复杂,已经不能满足当前人们功能性与拓展性的要求。因此市面上渐渐出现了以单片机为基础的霓虹灯控制系统。它不仅可以方便的设置霓虹灯的点亮方式,闪烁方式,更可以方便的进行扩展,更为符合市场和广大商铺的需求。

本方案设计以AT89C51单片机为控制核心,用8个发光二极管代替霓虹灯并进行5种闪烁方式的变换。利用单片机最小系统以及按键控制电路实现对霓虹灯的控制,根据按键不同控制要求,实现霓虹灯的全亮、不同颜色灯的点亮、霓虹灯的轮流点亮闪烁、全亮闪烁和顺序闪烁等方式,其中闪烁频率可调,最终对设计的结果进行仿真调试并制作实物,观察霓虹灯的闪烁方式以及规律。

关键词: AT89C51 霓虹灯控制 发光二极管 频率可调

Abstract

With the continuous development of urban construction and people's consumption level, people pay more attention to urban beautification and advertising competition between shops. The demand for neon lights as urban decoration and advertising is also increasing. Although there were neon lights before, they were mainly realized by logic circuits. Their functions were relatively monotonous, and their effects were too monotonous to be extended and maintained. At the same time, their fabrication process was complex, and they could not meet the current requirements of people's functionality and expansibility. Therefore, the neon light control system based on single-chip computer has gradually emerged in the market. It can not only conveniently set up neon light lighting mode, flicker mode, but also can easily expand, more in line with the needs of the market and the vast number of shops.

In this scheme, AT89C51 single chip computer is used as the control core, 8 light-emitting diodes are used to replace neon lights and 5 flickering modes are changed. The minimal system of single chip computer and key control circuit are used to control neon lamp. According to the different control requirements of keys, the full-bright of neon lamp, the lighting of different color lamp, the alternating lighting flashing of neon lamp, the full-bright flashing and sequential flashing are realized. The flickering frequency can be adjusted. Finally, the design results are simulated and debugged, and the physical objects are made to o

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。