本科毕业论文-基于AT89S52单片机人体反应速度测试仪设计.doc
《本科毕业论文-基于AT89S52单片机人体反应速度测试仪设计.doc》由会员分享,可在线阅读,更多相关《本科毕业论文-基于AT89S52单片机人体反应速度测试仪设计.doc(25页珍藏版)》请在优知文库上搜索。
1、毕业设计题 目:基于AT89S52单片机人体反应速度测试仪院 系: 信息与控制学院 专 业: 通信工程 班级学号: 学生姓名: 指导教师: 成 绩: 摘 要本文是基于单片机人体反应速度测试描述,通过单片机测试人的反应速度。在本设计中以AT89S52单片机为核心的人体反应速度测试仪,主要通过控制测试灯的状态,在测试按键的状态来间接计算人体反应速度。正常情况下系统运行主程序一直处于空闲等待状态,知道测试者按下按键后,LED测试灯立即点亮。AT89S52单片机在LED测试灯亮的同时开始计算一个随机时间,在一段随机时间结束后,AT89S52单片机 把LED测试灯熄灭,并开始计时灯灭与测试者放开按键的时
2、间差,此计时时间用于纪录被测试者的反应时间,并以毫秒为时间单位在4位数码管上显示。如果在LED测试灯灭之前提前放开测试按键,则显示9999作为出错信息。设计中采用AT89S52单片机,其以高性能低价格的优势成为全球使用范围最广泛的单片机之一;显示部分采用LED数码管的显示方式,本套系统在不影响其测试性能的情况下,大大的节省了设计成本,是性价比较高的一款人体反应测试议。和其他测试仪相比具有明显的价格竞争优势;同时,本设计作品的使用方法简单,只需按下按键即可完成测试,方便测试人员的测试使用。关键词:单片机;反应速度;AT89S52 ;LED; 数码管AbstractThis article is
3、based on single chip microcomputer human reaction speed tests described, through the single chip microcomputer test response speed. AT89S52 MCU as the core in the design of the human body reaction velocity tester, mainly by controlling the state of the test lamp, in the state of the test button to i
4、ndirect calculation of human body reaction speed. System normal operation of the main program has been idle waiting state, know the tester after press the button, the LED test lamp light up immediately. AT89S52 single chip microcomputer in LED to test the lights at the same time began to calculate a
5、 random time, at the end of a random time, AT89S52 single chip microcomputer test the LED lights, and start timing lights and testers release button lag, this timer is used to record the subjects reaction time, and in milliseconds as the unit of time in the four digital tube display. If the LED test
6、 before the lights went out early release test button, 9999 as the error message is displayed.Design USES AT89S52 single chip microcomputer, its to high performance low price advantage to become one of the world scope the most widely used microcontroller; Display part adopts LED digital tube display
7、, this set of system in the case of does not affect the test performance, greatly save the design cost, is the high cost performance of a human reaction test. Compared with other tester has obvious price competitive advantage; At the same time, the use of this design method is simple, just press the
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 本科毕业 论文 基于 AT89S52 单片机 人体 反应速度 测试仪 设计
