摘要
以STC89C52单片机为核心,采用光暗传感器检测环境变化,通过红外感应模块将物体运动的信号以高低电平的形式输入单片机,并通过三红外线输入的情况判断物体运行方向,进而控制LED灯的开关。
In this paper, with STC89C52 SCM as the core, light sensors are used to detect environmental change, and through infrared sensor module, signals of the movement of objects are input into the SCM in the form of high and low electrical level, and through the input situation of infrared light, directions of objects are determined, thus the switch of LED light is controlled.
出处
《科教文汇》
2014年第24期98-99,共2页
Journal of Science and Education