1 / 27
文档名称:

毕业设计(论文)-基于单片机的红外计数器设计.doc

格式:doc   页数:27
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

毕业设计(论文)-基于单片机的红外计数器设计.doc

上传人:3346389411 2013/10/9 文件大小:0 KB

下载得到文件列表

毕业设计(论文)-基于单片机的红外计数器设计.doc

文档介绍

文档介绍:摘要
随着当今社会的飞速发展,越来越多的流水线上的产品和各种公共场所需要进行自动计数。基于单片机构成的产品自动计数器有直观和计数精确的优点,目前已在各种行业中得到广泛应用。数字计数器有多种形式,总体来说有接触式和非接触式两种,在科技发展的今天,非接触式红外计数器得到了广泛的应用。本设计采用一对红外发射接收管作为红外计数器的信号检测头,具有价格低廉,抗干扰性好,结构简单,操作方便等特点。
指导思想是利用红外发光管发射红外线,红外接收管接收此红外线,并将其放大、,接收数码管没有接收到红外信号,放大器将输出高电平,同时将这个电平信号送入单片机进行控制计数,并且使数码管显示数值。这样就得到要统计的人或物的数量。
关键字:单片机;红外对射管;LED 数码管
Abstract
Rapid development in the pattern of today's society, more and more of the pipeline of products and a variety of business occasions need to automatically count. Based on SCM products constitute automatic counter has the advantages of intuitive and accurate count, now in a variety monly used in industry. This article is designed to counter radio-style method using infrared,interference immunity and high reliability.
The design of the guiding idea is to use infrared emission infrared LED, infrared receiver toreceive the infrared, and enlarge, forming mutation signal. When persons or blockinfrared light, the receiver does not receive infrared control signals, the amplifier the output low,while the level control signal into the microcontroller counts, and by decoding the digital displaydrive circuit values. This will be the number of persons or things to statistics.
The AT89C51 microcontroller chip design applications as a core, 4 LED digital tube, the useof infrared LM324 chip count, and add the alarm function. This implementation method has theadvantage of simple circuit, reliable, real-time, simple operation, easy programming and so on.
Key words: SCM; infrared shooting tube; LED digital tube
目录
摘要 I
Abstract II
1 绪论 1
前言 1
背景与意义 1
国内外研究的概况 1
研究主要成果 2
发展趋势 3
设计任务 4
2 基于单片机构成的产品自动计数器的设计 5
方案论证与选择 5
系统总体框图和原理 6
主控芯片简介 7
单片机的发展及趋势 7
51系列单片机的主要特点 8
3 红外线计数器硬件设计 10
单片机最小系统的设计 10
红外线检测电路 11
红外线发射电路 11
计数显示部分 12
蜂鸣器报警电路 12
4 红外线计数器软件设计 13
主程序设计 13
子程序设计 14
LED显示程序设计 14
蜂鸣器报警程序设计 15
5 系统调试 17
5