摘要
利用单片机内部定时/计数器和中断功能,实现分、秒、十分之一秒的倒计时,并将计时时间通过八位数码管实时动态显示出来。可通过键盘上的按键分别对分、秒进行定时设定,在计时过程中,可通过相应按钮进行暂停、开始,从而实现了六位倒计时秒表功能。软件定时采用动态同步修正方法,达到精确定时、计时。详细阐述了系统设计方案,并通过Proteus软件仿真和硬件调试方法实现了可调六位倒计时秒表功能。所设计的系统可应用于各专业技能考评计时场合。
Using MCU internal timer/counter and interrupt functions,achieving minutes,seconds,tenths of a second countdown,and eight digital timer times through real-time dynamic display.System design can be the keys on the keyboard respectively,minutes,seconds the time set in the timing process can be suspended by the corresponding button to start,in order to achieve the six countdown stopwatch function.This times the dynamic synchronization software correction methods.Achieve precise timing,time,the system can be applied to evaluation of the professional skills of timing applications.Article Elaborates on the system design,and through the Proteus software simulation and hardware debugging method to achieve an adjustable six countdown stopwatch function.
出处
《机电工程技术》
2011年第6期89-90,162,共2页
Mechanical & Electrical Engineering Technology
关键词
定时/计数器
中断
计时
秒表
timing/counter
interrupt
timer
stopwatch