摘要
设计了一种以单片机AT89C51为核心的秒表,从硬件和软件两方面详细介绍了秒表的设计方法。秒表计时范围00.00~60.00秒,精度0.01s。具有"开始、暂停/继续、复位"功能。系统上电,显示"00.00"。按下"开始"按钮,系统计时开始,此时,按下"暂停/继续"按钮,系统停在当前位置,再次按下"暂停/继续"按钮,系统继续计时;如果按下"复位"按钮,系统显示"00.00"。与常规秒表设计相比,此秒表不但设计简单,且其稳定性以及计时精度都有大幅提高。最后通过Proteus软件仿真,验证了该设计的合理性与可靠性。
Stop-Watch based on AT89C51 Microcontroller was designed, introducing design methods in two ways: hardware and software.Stopwatch time range is 00.00-60.00 s, precision is 0.01 s. It has a starting function、 a pause/continuing function and a reset function.When system is on, 00.00 is displayed. When the "start" button is pressed, system timing starts, at this time the "pause/continuing"button is pressed, the system is in the current position, it is pressed again, the system continues to be timed; if the "reset" button is pressed, 00.00 is displayed. Compared to the conventional stopwatch design,the design of the intelligent Stop-Watch is simple、stable and high-precision. The rationality and reliability of the design is proved by proteus-simulation.
引文
[1]宗素兰,李文艺,张翠侠,等.单片机系统中的数码管秒表仿真研究[J].安阳师范学报,2016(5):99-101.
[2]雷跃荣,詹旭,杜玲艳.基于单片机的智能秒表设计[J].四川理工学院学报(自然科学版),2010,23(5):602-604.
[3]严敏.基于单片机的电子计时秒表的设计和实现[J].襄阳职业技术学院学报,2016,15(6):25-28.
[4]洪月好.Proteus在电子设计中的应用[J].上海电力学院学报,2011,6(3):289-292.
[5]朱清慧,张风蕊,翟天亮,等.PROTEUS教程[M].北京:清华大学出版社,2011.
[6]张翠云.基于AT89C51的八路抢答器的设计[J].机电工程技术,2014(08):25-28.
[7]周润景.基于Proteus的电路及单片机系统设计与仿真[M].北京:北京航天航空大学出版社,2006.
[8]刘胜,杨夏.基于Prote-us的数字电路虚拟实验室建设[J].电气电子教学学报,2012,34(3):85-87.