检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:苑香平 YUAN Xiang-ping(School of Electrical and Information Engineering,Anhui University of Technology,Ma'anshan 243000,China)
机构地区:[1]安徽工业大学电气与信息工程学院
出 处:《电子世界》2018年第17期130-132,共3页Electronics World
基 金:国家级大学生创新创业训练计划项目(SRTP)立项(项目编号:201710360068)
摘 要:为解决2018年第九届"蓝桥杯"全国软件和信息技术专业人才大赛安徽赛区单片机设计与开发组试题当中对LED灯亮度进行均匀调节的难题,本文以CT107D综合训练平台中各模块原理电路为硬件基础,设计出一套针对性较强的软件控制程序。该套程序的巧妙之处在于只需通过IAP15F2K61S2单片机的内部定时器将脉冲宽度调制(PWM)技术基本原理加以"软化",再配之以变量值处理,便可轻松划分出LED灯的4个均匀亮度等级,并且具有良好的演示效果。In order to solve the problem that the luminance of LED lamp in the design and development group of the national software and information technology professional talent comp etition of the Ninth"blue bridge"2018 national software and information technology competition is solved.This paper takes the principle circuit of each module in the CT107D comprehen sive training platform as the hardware base,and designs a set of strong software control.Process.The ingenuity of the progr am is that the basic principle of pulse width modulation(PWM)is"softened"by the internal timer of IAP15F2K61S2 single chip microcomputer,and then with variable value processing,it can be easily divided into 4 uniform luminance grades of the LED lamp,and it has good demonstration effect.
关 键 词:CT107D LED灯 可调光 IAP15F2K61S2单片机 PWM控制技术
分 类 号:TP277[自动化与计算机技术—检测技术与自动化装置]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.180