51单片机智能视力保护仪的设计

设计的单片机系统,在对系统进行程序设计时,先要明白和掌握单片机系统内部的元件组成结构,因为单片机内部的硬件资源是有限的,所以在设计程序之前要对其资源进行合理的分配,以便能


摘  要:在现代社会中,很多青少年都有视力低下的问题,这个问题引起了社会的广泛关注。经抽样调查显示,有26.96%的数据来自于小学生,而初中生竟然高达53.96%。在调查对象中,因缺乏基本的视力保护的意识,而没有做好预防近视工作的学生及家长就占有一半以上。

因此,智能视力保护仪的设计思路和方法就是根据以上原因所提出来的。本次的仪器有三个功能模块,分别为测距模块、感光模块和定时部分。测距模块是对人的眼睛和读物之间的距离进行检测并做出相应的警示,感光模块可以对当前学习环境下光线的强弱进行检测。本仪器的三个功能在同一时刻内是可以同时运作的,每一个功能均通过灯光闪烁和蜂鸣器发声做出提醒学习者注意休息。

关键词:传感器  测距  红外  视力保护仪

Design of Intelligent Eye Protection Based on the 51 Microcontroller

Abstract:In modern society, many teenagers have the problem of poor eyesight. This problem has aroused widespread concern in the society. A sample survey showed that 26.96% of the pupils had eye shortsightedness, 53.96% of them had myopia. Among the respondents, students and parents who didn't do well in myopia prevention accounted for more than half of the lack of basic sense of vision protection.

Therefore, the design idea and method of intelligent vision protector is based on the above reasons. The instrument has three functional modules, ranging module, photosensitive module and timing part. The distance measurement module is to detect the distance between the eye and the reading material and make the corresponding warning. The sensor module can detect the intensity of the light in the current learning environment. The three functions of the instrument can be operated at the same time at the same time. Each function is reminding the learner by the light flashing and the sound of the buzzer.

Key Words: Sensor   Distance measurement  Infrared ray  Eye protection instrument

目  录

                                       

摘  要- I

Abstract-II

目  录- III

1绪论- 1

1.1 设计背景- 1

1.2 主要研究内容- 2

2 视力保护仪的总体系统设计方案- 3

2.1 系统设计方案- 3

2.2 单片机的选择- 3

2.3 传感器的选择- 4

2.4 编程语言选择方案- 4

3 系统硬件电路设计- 6

3.1 系统硬件电路构成- 6

3.2 显示系统- 6

3.3 蜂鸣器报警电路- 8

3.4 按键电路- 8

3.5 光敏模块电路- 9

3.6 测距电路 11

4 系统软件程序设计 12

5 结论 14

参考文献 15

致谢 16

1绪论

随着现代网络科技的高速发展,越来越多的青少年因为不合理的用眼时长造成了眼睛近视。视力不好将严重影响孩子们的日常和学习生活,长此以往,会严重影响到身体的发育和健康。因此,为使每一位少年儿童均可拥有一个完好的视力,社会在致力于研究如何能帮助他们能够有正常的视力,使他们能够健康的成长。

视力低下是现代社会中普遍存在的一种现象,在现在已有的医疗条件下,还没有一种可以根治近视的方法。目前有一种技术在一定程度上可以治疗眼睛的近视,那就是激光切除手术,但该项手术也不是十分的安全,它会对人的身体带来一定的伤害。所以,几百年来人们都用佩戴眼镜的方式来矫正视力。

在这种情况下,多功能视力保护仪器有待去研究和开发。这种仪器可通过科学的方式创造舒适的学习环境,避免因长时间用眼导致的眼睛疲劳,容易引起脊椎、近视等多种问题,同时还可减少和预防因不良的学习习惯,给人的身心带来伤害。