单片机的视力保护器设计
近些年国内近视的发病率逐年提高,在本文中我们利用单片机设计了一种视力保护器。利用我们学校内所学的理论知识,以及实践课上得到的经验,围绕着STC89C52单片机,研究相应的硬件电路与编程。这里面说的硬件电路包含了检测学习光的光强电路、核心单片机电路、检测读写距离的超声波电路、提醒报警蜂鸣器提醒电路、用于显示的液晶显示电路等等。这次的设计将单片机作为软件语言,利用定时报警、超声波模块等装置作为主导,完成视力保护器的制作。利用这个设备能够给青少年构建出健康的学习环境,规范他们的读写方式,防止因为长期的不良习惯,造成出现近视、颈椎病等疾病,这种手段不依靠医药,利用装置模块杜绝不良的读写习惯,防止因为不良习惯对身体造成危害。
目录
一、 引言 3
(一) 选题背景 3
(二)选题的意义 3
二 、产品的功能 4
(一) 预计功能 4
(二) 具体设计 4
三、 硬件设计 4
(一) 主电路的组成 4
(二) 硬件电路设计 5
1.单片机最小系统电路 5
2.光线检测电路 6
3.显示电路 6
4.电源电路 7
5.蜂鸣器驱动电路 7
6.按键电路 8
7.超声波检测电路 8
(三) 超声波的电器特性 9
1.声压特性 9
2.灵敏度特性 10
(四) 超声波的工作原理 10
(五)定时报警电路 12
四、 系统的安装与调试 13
(一) 安装步骤 13
(二) 电路的调试 13
(三) 软件的调试 13
结论 14
参考文献 16
附录1 整机电路原理图 17
附录2 实物展示 18
附录3 部分源程序 18
Abstract
In recent years, the incidence of myopia in China has been increasing year by year. In this paper, we *好棒文|www.hbsrm.com +Q: ^351916072^
use singlechip microcomputer to design an eyesight protector. Using the theoretical knowledge and practical experience gained in our school, we study the corresponding hardware circuit and programming around STC89C52 microcontroller. The hardware circuit includes the light intensity circuit of the learning light, the core chip circuit, the ultrasonic circuit for detecting the reading and writing distance, the warning alarm buzzer reminding circuit, the LCD display circuit for display, and so on. This design takes SCM as software language, and uses timing alarm, ultrasonic module and other devices as the leading role to complete the production of vision protector. The use of this equipment can build a healthy learning environment for young people, standardize their reading and writing methods, and prevent the occurrence of myopia and cervical spondylosis because of the longterm bad habits. This means do not rely on medicine, use the device module to eliminate bad reading habits and prevent the bad habits from causing danger to the body. Harm.
Key words: STC89C52; ultrasound; vision protection
一、 引言
(一) 选题背景
现在国内的网络技术快速的发展,电视文化内容不断的丰富,加上巨大的学习压力,导致青少年在长期的生活和学习中给眼睛造成了非常大的负担,这就导致了青少年近视率大大提高了。根据统计,我国小学生超过34%都患有近视,初中生超过68%患有近视,高中超过90%是近视眼,大学生普遍的视力都不是很好。在大学的专业报考的时候,因为自己缺陷而被限制的学生超过74%都是近视。我国学生在全球范围内的近视数量是最高的,有三亿人患有近视或者相关的眼类疾病,这个问题已经引起了国内社会的广泛关注。视力障碍不但会对学习与生活造成影响,还会对青少年的心理造成影响。
根据上述的描述就能够知道,我国青少年近视问题已经非常严重了,这种背景下,研究开发一种智能矫正装置,通过装置来规范青少年的读写习惯是非常必要的,所以本文利用学习到的知识设计出了一个智能提醒装置,利用这个装置让青少年拥有规范的读写姿势,让青少年可以养成正确的书写与阅读习惯,这能够防止使用者出现近视、驼背等疾病,保护了使用者的身心健康。
(二)选题的意义
现在的中小学生由于没有意识,在进行读写的时候养成了不良的习惯,这种习惯在后期成长中很难矫正过来,这就造成了很多的学生都出现了近视,在生活与学习过程中造成了不便,对心理上也产生了不良的影响。中小学阶段是孩子身体发育的关键时期,如果这个时期孩子没有正确的读写姿势,会让脊柱出现弯曲,产生驼背,影响形象,在今后的工作中如果有形象要求,就会对孩子造成限制,影响未来的发展。
目录
一、 引言 3
(一) 选题背景 3
(二)选题的意义 3
二 、产品的功能 4
(一) 预计功能 4
(二) 具体设计 4
三、 硬件设计 4
(一) 主电路的组成 4
(二) 硬件电路设计 5
1.单片机最小系统电路 5
2.光线检测电路 6
3.显示电路 6
4.电源电路 7
5.蜂鸣器驱动电路 7
6.按键电路 8
7.超声波检测电路 8
(三) 超声波的电器特性 9
1.声压特性 9
2.灵敏度特性 10
(四) 超声波的工作原理 10
(五)定时报警电路 12
四、 系统的安装与调试 13
(一) 安装步骤 13
(二) 电路的调试 13
(三) 软件的调试 13
结论 14
参考文献 16
附录1 整机电路原理图 17
附录2 实物展示 18
附录3 部分源程序 18
Abstract
In recent years, the incidence of myopia in China has been increasing year by year. In this paper, we *好棒文|www.hbsrm.com +Q: ^351916072^
use singlechip microcomputer to design an eyesight protector. Using the theoretical knowledge and practical experience gained in our school, we study the corresponding hardware circuit and programming around STC89C52 microcontroller. The hardware circuit includes the light intensity circuit of the learning light, the core chip circuit, the ultrasonic circuit for detecting the reading and writing distance, the warning alarm buzzer reminding circuit, the LCD display circuit for display, and so on. This design takes SCM as software language, and uses timing alarm, ultrasonic module and other devices as the leading role to complete the production of vision protector. The use of this equipment can build a healthy learning environment for young people, standardize their reading and writing methods, and prevent the occurrence of myopia and cervical spondylosis because of the longterm bad habits. This means do not rely on medicine, use the device module to eliminate bad reading habits and prevent the bad habits from causing danger to the body. Harm.
Key words: STC89C52; ultrasound; vision protection
一、 引言
(一) 选题背景
现在国内的网络技术快速的发展,电视文化内容不断的丰富,加上巨大的学习压力,导致青少年在长期的生活和学习中给眼睛造成了非常大的负担,这就导致了青少年近视率大大提高了。根据统计,我国小学生超过34%都患有近视,初中生超过68%患有近视,高中超过90%是近视眼,大学生普遍的视力都不是很好。在大学的专业报考的时候,因为自己缺陷而被限制的学生超过74%都是近视。我国学生在全球范围内的近视数量是最高的,有三亿人患有近视或者相关的眼类疾病,这个问题已经引起了国内社会的广泛关注。视力障碍不但会对学习与生活造成影响,还会对青少年的心理造成影响。
根据上述的描述就能够知道,我国青少年近视问题已经非常严重了,这种背景下,研究开发一种智能矫正装置,通过装置来规范青少年的读写习惯是非常必要的,所以本文利用学习到的知识设计出了一个智能提醒装置,利用这个装置让青少年拥有规范的读写姿势,让青少年可以养成正确的书写与阅读习惯,这能够防止使用者出现近视、驼背等疾病,保护了使用者的身心健康。
(二)选题的意义
现在的中小学生由于没有意识,在进行读写的时候养成了不良的习惯,这种习惯在后期成长中很难矫正过来,这就造成了很多的学生都出现了近视,在生活与学习过程中造成了不便,对心理上也产生了不良的影响。中小学阶段是孩子身体发育的关键时期,如果这个时期孩子没有正确的读写姿势,会让脊柱出现弯曲,产生驼背,影响形象,在今后的工作中如果有形象要求,就会对孩子造成限制,影响未来的发展。
版权保护: 本文由 hbsrm.com编辑,转载请保留链接: www.hbsrm.com/dzxx/txgc/818.html