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

2019-04-21 15:12

毕业设计

课 题: 基于单片机的视力保护及身姿乔正器设计 学生姓名: 学 号:

专 业:电子信息工程 班 级:电子G31202

院 (系):机械与电子信息工程学院 指导教师:

职 称:中级工程师

二○ 年 月 日

Abstract .......................................................................................................................... 5 基于单片机的视力保护及身姿乔正器设计 ................................................................ 6 第一章、产品开发背景 ........................................................................................ 6

1.1引言 .......................................................................................................... 6 1.2研究背景与意义 ...................................................................................... 6

第二章 、产品的功能 .......................................................................................... 7

2.2、具体设计 ............................................................................................... 7

第三章 、硬件设计 .............................................................................................. 8

3.1、主电路的组成 ....................................................................................... 8 3.2、单片机最小系统电路 ........................................................................... 8 3.3、超声波检测电路 ................................................................................... 8 3.4、光线检测电路 ....................................................................................... 9 3.5、显示电路 ............................................................................................. 10 3.6、报警电路 ............................................................................................. 10 3.7、其他辅助电路 ..................................................................................... 11

第四章、软件设计 .............................................................................................. 12

4.1、程序框图 ............................................................................................. 12

第五章 、产品的制作、组装、调试 ................................................................ 13

5.1、元器件的购买 ..................................................................................... 13 5.2、产品制作步骤 ..................................................................................... 13 5.3、电路的调试 ......................................................................................... 13 5.4、程序的烧录 ......................................................................................... 13

第六章、结 论 .................................................................................................... 14

参考文献 ...................................................................................................... 17

附录 .............................................................................................................. 13

毕业设计真实性承诺及指导教师声明

学生毕业设计真实性承诺

本人郑重声明:所提交的毕业设计是本人在指导教师的指导下,独立进行研究工作所取得的成果,内容真实可靠,不存在抄袭、造假等学术不端行为。除文中已经注明引用的内容外,本设计不含其他个人或集体已经发表或撰写过的研究成果。对本文的研究做出重要贡献的个人和集体,均已在文中以明确方式标明。如被发现设计中存在抄袭、造假等学术不端行为,本人愿承担相应的法律责任和一切后果。

学生(签名): 日 期:

指导教师关于学生毕业设计真实性审核的声明

本人郑重声明:已经对学生毕业设计所涉及的内容进行严格审核,确定其成果均由学生在本人指导下取得,对他人论文及成果的引用已经明确注明,不存在抄袭等学术不端行为。

指导教师(签名): 日 期:

注:此声明由指导教师和学生本人亲笔签名。

基于单片机的视力保护及身姿乔正器设计

摘 要

近年来,我国青少年近视率大大增加。对此本文提出了一种以单片机为核心的视力保护及身姿乔正器设计。 本文利用大学三年课堂中所学习的的一些理论知识和实训课中所学到的实践能力,以STC89C52单片机为核心元器件,围绕它进行硬件电路设计和软件程序设计。其中硬件电路有,整体电路的核心单片机最小系统电路、用来检测书写距离的超声波检测电路、用来检测学习时光线强弱的光线检测电路、用来作为显示设备的LCD1602液晶显示电路、以及用来作为提醒报警的蜂鸣器LED提醒电路。软件程序方面,本设计主要利用单片机C语言作为软件语言,其中比较主要的有超声波模块驱动程序、定时报警程序、LCD1602液晶屏驱动程序等。本设计以我们大学三年所学的单片机原理与接口技术、C语言程序设计、数字电子技术、模拟电子技术等课堂里的知识和我自学的传感器等知识为主要理论依据,具体就多功能视力保护器的理论与硬件设计进行了研究。

关键词:单片机原理与接口技术;传感器技术;C语言程序设计;数字电子技术

Abstract

In recent years, our country juvenile myopia rate is greatly increased.This paper puts forward a kind of with the single chip processor as the core of multifunctional protector design vision.In this paper, using the university three years of learning in the classroom of some‘ theoretical knowledge and practical training lessons learned in the practical ability, STC89C52 single-chip microcomputer as the core components, revolve around its hardware circuit design and software programming.There hardware circuit, and the overall circuit at the core of the single chip microcomputer minimum system circuit, used to detect writing distance ultrasonic detection circuit, used to detect when studying the light intensity of the light detection circuit, used as a display device of the LCD1602 LCD display circuit, and used as a reminder alarm buzzer LED to remind circuit.Software program, this design mainly use singlechip C language as software language, which is leading with ultrasonic module driver, timing alarm procedures, LCD1602 LCD driver, etc.This design we are studying in the university three years with single-chip microcomputer principle and interface technology, C language programming, digital electronic technology, analog electronic technology, such as the knowledge in the classroom and I taught myself sensors such as knowledge as the main theoretical basis, specific theory and hardware design of the multifunctional vision protector were studied.

Key words: single chip microcomputer principle and interface technology;Sensor technology ;C language program design;Digital electronic technology


基于单片机的视力保护器设计.doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:2019届中考数学专题复习代数式整式与因式分解专题训练2019031111

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: