摘要
儿童使用电视、电脑等设备的时间过长会对其视力造成不良影响。本设计采用单片机STC90C58控制超声波测距传感器,实时监控儿童与被控设备(如电视、电脑显示器)之间的距离,并利用实时时钟(Real Time Clock-简称RTC)模块DS1302来计量儿童使用设备的时间。一旦儿童与电子设备屏幕距离过近或使用时间过长,将通过语音报警进行提醒。提醒无效后,便触动继电器开关,强制关闭被控设备,以保证儿童正确用眼并进行适当的休息。该系统具有距离和时间等参数设置功能,设置界面具有密码保护以防止儿童随意改动,能够通过RTC内部的RAM区域实现系统设置的掉电保存。
Protecting children's eyesight,and helping them to develop healthy habits on using eyes,have become one of the most important problems we have to deal with.A device of eyesight protection for children was designed and introduced in this paper.STC90C58RD+ was used as controller in the system which control the ultrasonic module to monitor the distance between children and the monitored device(such as computer screen).DS1302 RTC module is used to count the children's viewing time.When the distance is too short,or the viewing time is out,the system will make an voice warning.If having no effect,the system would trigger the relay to shutdown the device.The system parameters which can be configured are stored inside the RAM area of the RTC module.RAM's content can be kept when the system is powered off and can be externally cleared through discharging if necessary.In addition,the configuration system is password-protected in order to avoid unwanted actions from children.
出处
《青岛农业大学学报(自然科学版)》
2015年第4期297-301,共5页
Journal of Qingdao Agricultural University(Natural Science)