匿名用户
1级
2014-11-17 回答
基于单片机的数字电子秒表的设计与实现
王锐,张可儿
(陇东学院 物理与电子工程学院,甘肃 庆阳 745000)
摘 要:近年来随着科技的飞速发展,单片机的应用正在不断的走向深入。本文阐述了基于单片机的数字电子秒表设计,此设计计时精度达到0.001s,解决了传统的由于计时精度不够造成的误差和不公平性,是各种体育竞赛的必备设备之一;另外硬件部分设置了查看按键,可以对秒表上一次计时时间进行保存,供使用者查询。
关键字:单片机;数字电子秒表;调试
Microcontroller Based Digital Electronic Stopwatch Design and
Implementation
WANG Rui,ZHANG Ke-er
(College of Physics and Electronic Engineering, Long-Dong University, QingYang 745000, Gansu)
Abstract: In recent years, with the rapid development of science and technology, SCM applications are continually deepening. This paper describes a microcontroller-based design of digital electronic stopwatch, the main features of this design is the timing accuracy of 0.001s, Jiejue traditional the result of a lack precision because of timing error and inequity, is essential facilities Gezhong one sports competition; Also set the View button hardware can be the last time on the stopwatch to save time for user queries
Keywords: SCM; digital electronic stopwatch; debug
0 引言
在单片机技术日趋成熟的今天,其灵活的硬件电路和软件,让单片机得到了广泛的应用:从小的电子产品,到大的工业控制,单片机都起到了举足轻重的作用。单片机小的系统结构几乎是所有具有可编程硬件的一个缩影,可谓是“麻雀虽小,肝胆俱全”,单片机的学习和研究是对微机系统学习和研究的简捷途径
[1]
。
1 硬件设计
1.1 总体方案的设计
本设计包括硬件电路的设计与软件程序的设计,其中硬件电路的设计主要有主控制器,计时与显示电路、回零、启动和停表电路等。主控制器采用单片机AT89C52,显示电路采用共阴极LED数码管显示计时时间。硬件电路图按图1进行设计
- 1 -
[2]
。软件电路采用汇编语言
追问:
。。。。
追问:
。。。
追问:
1000分就没会写的吗?
追答:
怎么了
追问:
没事
追问:
等程序
追答:
求采纳
追问:
不是我要的额。。。
追答:
什么
追问:
不是我要的额
追答:
这行了
追问:
这也太逗了
追答:
又怎么了
追问:
不说了,睡觉,我要程序。。。2000分
追答:
求采纳啊
追问:
没有程序啊
追问:
2000分,写好程序发给我
追问:
我睡觉了88