Abstract
This article is based on single chip microputer human reaction speed tests described, through the single
chip microputer 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 indirect
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
microputer in LED to test the lights at the same time began to calculate a random time, at the end of a random
time, AT89S52 single chip microputer test the LED lights, and start timing lights and testers release button lag,
this timer is used to record the subject's reaction time, and in milliseconds as the unit of time in the four digital
tube display. If the LED test before the lights went out early release test button, 9999 as the error message is
displayed.
Design USES AT89S52 single chip microputer, its to high performance low price advantage to bee one of
the world scope the most widely used microcontroller; Display part adopts LED digital tube display, 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. pared with other tester has obvious price petitive advantage; At the
same time, the use of this design method is simple, just press the button to plete the test, the convenience for
the tester's test.
Keywords: Single chip microputer; Reaction Speed;AT89S52;LED; Digital tube
目 录
评论0
最新资源