摘要
本文利用单片机作为控制硬件,结合C语言编写软件程序,将光敏电阻输入的光信号转换成电信号来控制步进电机,达到随着光的亮度智能控制窗帘的开闭及开合。经测试,该系统具有结构简单、所耗成本低、测量精度高、稳定可靠等优点,具有广阔的应用前景。
The paper use single-chip microcomputer as control hardware and C language for programming. It converts the optical signals from photosensitive resistor into electrical signals to control the stepper motor, thus controlling the brightness with intelligent light curtains opening and closing. After testing the system, the results show that the system has the advantages of simple structure, low cost, high accuracy and stability reliable, and has broad application prospects.
引文
[1]吴振磊,刘孝赵.光敏电阻在自动窗帘中的应用[J].价值工程,2014,(25).
[2]王瑞杰.光控自动窗帘机[P].中国专利,95218893.7,2016:23-24.
[3]智能光电测试系统的开发[J].农业工程学报,2016,(14):177-183.
[4]杨佩璐.基于VC 6.0实现PC机与单片机的串行通讯[J].中国集体经济,2011,(10):154-157.