摘要
以单片机STC12C5202AD为控制器,采用超声波技术来测量距离,完成了智能报警护眼台灯控制系统的设计。系统设计中用STC12C5202A单片机、MAX232、NE5532、LM393、可控硅、蜂呜器等完成系统的硬件设计;以Keil uVision3为软件开发环境完成系统的程序设计。系统实现了报警距离的自由设定,进入报警范围自动报警、报警方式自动切换等功能,可以达到矫正坐姿、保护视力的功能。
The design of the control system of intelligent alarming eye protection table lamp, with the single-chip microcomputer STC12C5202AD as the controller, using ultrasonic technology to measure distance. The hardware design of the system is achieved by STC12C5202AD single chip, MAX232, NE5532, LM393, SFR, buzzer andso on. And the software design of the system is accomplished by Keil uVision3 software development environment. The system can be set alarm distance freely, alarm automatically within alarming range and switch from different alarming methods automatically and so on. It can rectify the sitting posture and protect the eyesight of people.
作者
魏贵隆
程勇
薛庆军
WEI Gui-long, CHENG Yong, XUE Qing-jun (Shandong University of Science and Technology, Qingdao 266510, China)
出处
《电脑知识与技术》
2010年第02Z期1251-1253,共3页
Computer Knowledge and Technology
关键词
单片机
超声波
报警
程序设计
single chip microcomputer
untrasomc
alarm
software design