摘 要:基于单片机的简易秒表。3数码管用于显示分钟,秒,毫秒。电路有三个按键,一个开始键,一个暂停/继续键,一个复位键。按下开始键后,电路从零开始计时;按下暂停/继续键后,停止计时,并显示时间,此时按开始键无效;此时再暂停/继续键,则继续计时。按下复位键后,显示00分00秒00毫秒。
关键词:AT89S51芯片;数码管;复位电路;振荡器电路
Abstract : Based on the MCU simple stopwatch. 3 digital control for the show minutes, seconds and milliseconds. Circuits are three buttons, a start button, a suspended / continuing bond, a bond reduction. Press Start button, the circuit from scratch time; Press the suspension / Key continued, stop the clock, and that time, At this time by the start key void; until then suspended / Key continued, will continue to be time. After pressing the reset button, showing 00 minutes 00 seconds 00 milliseconds.
Keywords : minicomputer chip; Digital; Reset circuit; Oscillator circuit
目录
1作品要求…………………………………………………………… (4)
2电路说明…………………………………………………………… (4)
2.1 AT89S51芯片介绍 …………………………………………… (4)
2.2复位电路 ……………………………………………………… (5)
2.3秒表的电路原理………………………………………………… (5)
2.3.1工作原理 ………………………………………………… (5)
2.3.2秒表的电路 ……………………………………………… (6)
2.3.3秒表的主要功能 ………………………………………… (6)
3 制作过程 ………………………………………………………… (6)
3.1电路图制作 …………………………………………………… (6)
3.2 元件清单 ……………………………………………………… (8)
3.3 电路板制作及元件焊接………………………………………… (8)
3.3.1 电路板制作………………………………………………… (8)
3.3.2 元件的焊接 ……………………………………………… (8)
4 调试和使用………………………………………………………… (9)
4.1 AT89S51芯片的调试…………………………………………… (9)
4.2 5伏电源安装调试……………………………………………… (9)
4.3 程序…………………………………………………………… (9)
5 参考文献…………………………………………………………… (13)