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

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

  1. 1、本文档共27页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
毕业设计-基于单片机的红外计数器设计

摘 要 随着当今社会的飞速发展,越来越多的流水线上的产品和各种公共场所需要进行自动计数。基于单片机构成的产品自动计数器有直观和计数精确的优点,目前已在各种行业中得到广泛应用。数字计数器有多种形式,总体来说有接触式和非接触式两种,在科技发展的今天,非接触式红外计数器得到了广泛的应用。本设计采用一对红外发射接收管作为红外计数器的信号检测头,具有价格低廉,抗干扰性好,结构简单,操作方便等特点。 指导思想是利用红外发光管发射红外线,红外接收管接收此红外线,并将其放大、整流形成低电平信号.当有人或物挡住红外光时,接收数码管没有接收到红外信号,放大器将输出高电平,同时将这个电平信号送入单片机进行控制计数,并且使数码管显示数值。这样就得到要统计的人或物的数量。 关键字:单片机;红外对射管;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 ofcommonly 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 high commutation 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 1.2 背景与意义 1 1.2.1 国内外研究的概况 1 1.2.2 研究主要成果 2 1.2.3 发展趋势 3 1.3 设计任务 4 2 基于单片机构成的产品自动计数器的设计 5 2.1 方案论证与选择 5 2.2 系统总体框图和原理 6 2.3 主控芯片简介 7 2.3.1 单片机的发展及趋势 7 2.3.2 51系列单片机的主要特点 8 3 红外线计数器硬件设计 10 3.1 单片机最小系统的设计 10 3.2 红外线检测电路 11 3.2.1 红外线发射电路 11 3.3 计数显示部分 12 3.4 蜂鸣器报警电路 12 4 红外线计数器软件设计 13 4.1 主程序设计 13 4

文档评论(0)

almm118 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档