文档介绍:摘要
随着今社会的飞速发展,越来越多的流水线上的产品和各种公共场所
需要进行自动计数。基于单片机构成的产品自动计数器有直观和计数精确的优点,目前已在各种行业中得到广泛应用。数字计数器有多种形式,总体来说有接触式和非接触式两种,在科技发展的今天,非接触式红外计数器得到了广泛的应用。本设计采用一对红外发射接收管作为红外计数器的信号检测头,具有价格低廉,抗干扰性好,结构简单,操作方便等特点。
指导思想是利用红外发光管发射红外线,红外接收管接收此红外线,并将其放大、,接收管没有接收到红外信号,放大器将输出高电平,同时将这个电平信号送入单片机进行控制计数,并且使数码管显示数值。这样就得到要统计的人或物的数量。
关键字:自动计数;单片机;数码管
ABSTRACT
Along with the rapid development of munity, more and more on the assembly line of products and all sorts of public
Need for automatic counting. Based on single- product automatic counter intuitive and count accurate advantages, currently have in various industries have been widely used. Digital counter have various forms and generally have contact and contact-less two kinds, in the development of science and technology today, contactless infrared counter been widely used. The design USES a pair of infrared emission receiving tube as infrared counter signal detection head, is inexpensive, anti-jamming good, simple structure, convenient operation, etc.
The guiding ideology is using infrared luminescence tubes launch infrared, infrared receiving tube receiving this infrared, and put the amplification, rectifier form low level signals. When someone or something blocking infrared, receiving tube without receiving infrared signal, amplifier output high level, at the same time will the level signal into SCM control counted, and making digital tube display Numbers. So get to statistics, the number of people or things.
Keywords:Automatic counting ; SCM ; Digital tube
目录
第一章绪论 3
、前言 3
、选题背景 3
、设计要求 3
、国内外的研究概况 3
、此次设计研究的主要内容应解决问题 3
第二章基于单片机构成的产品自动计数器的设计 3
、方案论证与选择 3
、系统总体框图和原理 3
、系统单元电路设计 3
、电源供电电路 3
1. 桥式整流电路: 3
虑波电路分析 3
稳压电路 3
、红外线检测部分 3
、数码管显示部分 3
、LED数码管的特点: 3
、数码管动态扫描 3
、数码管驱动部分 3
、单片机计数及控制部分 3
复位电路 3
复位电路的分类 3
、系统程序设计 3
、程序流程图 3
、程序设计 3
、全电路图 3
、原理图 3
、PCB板图 3
第三章结论 3
谢辞 3
参考文献 3
附录