摘要
随着计数器技术的不断发展与进步,计数器的种类越来越多,应用的范围越来越广。基于单片机的自动计数器的设计,计数器主要由脉冲发生模块、脉冲检测模块、LED显示驱动电路模块、单片机处理模块组成。脉冲发生模块将使用扩展键盘产生脉冲信号,通过单片机的I/O口检测到脉冲信号,并使计数值加一,最后将计数值送入到LED显示模块显示当前计数值。
With the continuous development and progress of counter technology,the kind of counter is becoming more and more various and the application scope is more and more wide. This paper introduced the design of automatic counter based on sin-gle chip microcomputer,the counter was mainly composed of a pulse generating module,a pulse detection module,a LED display driver circuit module and a SCM processing module. Pulse generating module can generate pulse signals with extended keyboard and detect the pulse signals through the I/O port of SCM,and make the count value plus one,finally it would send the count value to the LED display module to display current count value.
出处
《时代农机》
2015年第3期34-36,共3页
Times Agricultural Machinery
关键词
单片机
计数器
LED显示
脉冲检测
single chip microcomputer
counter
LED display
pulse detection