多功能视力保护器的设计

 2022-01-19 11:01

论文总字数:22776字

目 录

摘要 I

Abstract II

1绪论 1

1.1选题的意义 1

1.2研究现状及发展趋势 1

1.3论文的主要工作 2

1.3.1论文研究的主要内容 2

1.3.2论文的组织结构 2

2系统方案设计 3

2.1系统框图 3

2.2方案论证与选择 3

2.2.1主控模块的选择 3

2.2.2显示电路的选择 4

2.2.3按键的选择 4

2.2.4电源的选择 4

2.3设计方案 5

3硬件电路设计 5

3.1系统原理图 5

3.2单片机最小系统模块 5

3.2.1 STM32单片机 6

3.2.2电源电路 8

3.2.3时钟电路 8

3.2.4复位电路 9

3.2.5按键电路 9

3.3超声波测距模块 10

3.4光照检测模块 12

3.5显示模块 12

3.6声光报警模块 14

3.7短信传输模块 14

4系统软件设计 16

4.1设计的软件环境简介 16

4.2系统主程序设计 17

4.3子程序设计 18

4.3.1 定时程序设计 18

4.3.2 超声波测距模块程序设计 19

4.3.3 光照模块程序设计 21

4.3.4 短信传输模块程序设计 23

5系统调试 24

5.1软件调试 24

5.2硬件调试 25

5.2.1定时功能调试 25

5.2.2距离监测功能调试 25

5.2.3光照强度监测功能调试 26

5.2.4短信传输功能调试 27

6系统总结 28

6.1全文总结 28

6.2不足与展望 28

参考文献 29

致谢 30

附录 31

多功能视力保护器的设计

张茂

,China

Abstract: The rate of myopia among young people has been increasing in recent years, which has seriously affected the learning and life of primary and secondary school students. A multifunctional eyesight protector system based on STM32F103C8T6 is designed in order to solve this problem in this paper. The system includes an ultrasonic ranging module, a lighting acquisition module, a display module, a key module, an acousto-optic alarm module and a short message transmission module. The distance between the eyes and the book is measured by ultrasonic supersonic device in this system. The system can alarm when the measurement result is less than the standard value which is set. The light intensity of the learning place is detected by the photosensitive resistance, and the intensity of light is compared with the illumination value which is set in the system. The system can alarm when the measured value is greater than or less than the standard value which is set. The learning time is recorded through a single chip timer, and the alarm is reached after a predetermined time. At the same time, the system displays the information on the screen and sends the alarm message to the corresponding mobile phone via the SMS module. The hardware and software design principles and schemes of the system are introduced emphatically in the paper, and all the hardware modules are also described in detail. The results show that the system can detect and alarm the environment effectively. It is convenient and has good practicability.

Key words: eyesight protector;ultrasonic distance measurement;photosensitive resistance;SIM900A

1绪论

1.1选题的意义

随着时代科技飞速发展,人们的生活质量在快速的提高,收入也在不断增加,与此同时人们对教育的认识也到了前所未有的高度。随着对教育需求的激增,各种补习班如雨后春笋般开在各个地方,中小学生除了正常在校学习,课后还要到各种补习班补课,学习任务非常繁重。根据调查,大部分的学生晚上写作业要到十一点左右,由于繁重的学习任务,学生在写作业的同时会不自觉觉得靠近书本,长此以往,学生的视力就会下降。

剩余内容已隐藏,请支付后下载全文,论文总字数:22776字

您需要先支付 80元 才能查看全部内容!立即支付

该课题毕业论文、开题报告、外文翻译、程序设计、图纸设计等资料可联系客服协助查找;