登录

  • 登录
  • 忘记密码?点击找回

注册

  • 获取手机验证码 60
  • 注册

找回密码

  • 获取手机验证码60
  • 找回
毕业论文网 > 毕业论文 > 理工学类 > 自动化 > 正文

基于单片机的视力保护器设计

 2023-03-09 08:03  

论文总字数:32053字

摘 要

本文是研究一种基于单片机的视力保护器,该设计起到了学生学习时对眼睛的保护。本设计系统由单片机、按键模块、复位电路模块、测距模块、显示模块、光敏模块、报警模块七部分构成。在此设计系统中,单片机是控制核心。超声波测距将采集处理过的模拟电压信号传送到单片机中,同时光敏电阻也会将采集到的数字信号传送到单片机中,单片机将这些数据处理后输送到显示屏上。当学生与视力保护器之间的距离小于报警设定值时,视力保护器会语音报警提醒学生坐直,同时学生与视力保护器之间的距离会显示在LCD的显示屏上。当周围的光线强度不符合设定的光线上下限值时,视力保护器会语音提醒学生光线不足或光线太高。而且视力保护器还有休息提醒,开始学习时视力保护器开始计时,当到了设定值时视力保护器会语音提醒学生休息一下。

本视力保护器的设计成本低、稳定性高、开发周期短。主要可以提醒学生坐姿问题、学习时的光线问题以及学习时间提醒学生休息,适用于学生在学习中保护学生的眼睛。

关键词学生;单片机;光线;距离;时间;报警

Design of Vision Protector Based on Single Chip Microcomputer

Abstract

This article is to study a vision protection based on the microcontroller, the design played a student learning to protect the eyes. The design system consists of single-chip, key module, reset circuit module, ranging module, display module, photosensitive module, alarm module composed of seven parts. In this design system, the microcontroller is the control core. Ultrasonic distance measurement will be collected and processed analog voltage signal to the microcontroller, while the photosensitive resistor will be collected to the digital signal sent to the microcontroller, the microcontroller will be processed after the data sent to the display. When the distance between the student and the vision protector is less than the alarm setpoint, the vision protector will voice the alarm to remind the student to sit up and the distance between the student and the vision protector will be displayed on the LCD display. When the ambient light intensity does not meet the set upper and lower limits of the light, the vision protector will voice to remind students that the light is too low or the light is too high. And vision protection and rest to remind, began to learn when the vision protector began timing, when the set value to the vision protector will voice to remind students to take a break.

The vision protection of the design cost is low, high stability, short development cycle. Mainly to remind students to sit back, learn the light problems and learning time to remind students to rest, apply to students in the study to protect the eyes of students.

Key words:student; single chip; light; distance; time; alarm

目录

摘要 Ⅰ

Abstract Ⅱ

第一章 绪论 1

1.1 课题背景与意义 1

1.2 视力保护器的的国内外现状 2

1.3 设计要求 3

第二章 总体方案设计 5

2.1 硬件设计 5

2.1.1 电源模块 5

2.1.2 主控制器模块 6

2.1.3 光照强度检测模块 6

2.1.4 报警提示模块 7

2.1.5 坐姿检测模块 8

2.1.6 显示模块 9

2.2 最终方案 9

第三章 硬件实现及单元电路设计 10

3.1 AT89S52单片机简介 10

3.2 光敏电阻简介 11

3.3 超声波传感器简介 12

3.4 LCD1602简介 14

3.5 WT588D语音芯片简介 15

3.6 主控制模块电路 16

3.7 电源模块电路 16

3.8 WT588D语音模块驱动电路 17

3.9 按键模块电路 17

3.10 光照强度检测模块电路 17

3.11 显示模块电路 18

3.12 超声波坐姿测距模块电路 18

第四章 系统软件设计方案 19

4.1 系统软件设计方框图 19

4.2 系统主程序流程图 20

4.3 系统子程序流程图 21

第五章 系统的安装与调试 23

5.1 安装步骤 23

5.2 电路的调试 23

5.3 本章小结 24

致谢 25

参考文献 26

附录: 27

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

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

企业微信

Copyright © 2010-2022 毕业论文网 站点地图