摘要
为了能根据室外环境亮度实现窗帘自动拉合的设计需求,提出了一种基于单片机控制的光控窗帘设计方案,并完成系统的软、硬件设计。该系统的硬件部分主要利用光敏传感器产生的信号作为单片机输入信号,软件部分采用C语言进行编程,能够完成智能光控窗帘的自动拉合。同时,考虑到用户习惯和天气原因,本方案还设置了选择开关,用户在使用窗帘时可任意选择自动或手动控制方式。实际应用表明,该系统具有设计成本低、可靠性高的特点,达到了设计要求。
The subject introduces the electric curtain design based on single chip microcomputer. It consists of single chip mi- crocomputer, photosensitive sensor and DC motor. It has automatic mode and manual mode. In automatic mode, the light signal was taken as the input signal, but in manual mode, the switch as the input signal. The pratical application shows that this design has the advantages of low cost and high reliability, and meets the design requirements.
出处
《微型机与应用》
2012年第16期32-34,37,共4页
Microcomputer & Its Applications
关键词
单片机
光敏传感器
直流电动机
C语言
智能光控窗帘
single chip microcomputer
photosensitive sensor
D C motor
C language
the electric curtain