基于51单片机的流水线产品计数器设计_毕业论文

上传人:飞*** 文档编号:2628574 上传时间:2017-07-26 格式:DOC 页数:23 大小:1.94MB
返回 下载 相关 举报
基于51单片机的流水线产品计数器设计_毕业论文_第1页
第1页 / 共23页
基于51单片机的流水线产品计数器设计_毕业论文_第2页
第2页 / 共23页
基于51单片机的流水线产品计数器设计_毕业论文_第3页
第3页 / 共23页
基于51单片机的流水线产品计数器设计_毕业论文_第4页
第4页 / 共23页
基于51单片机的流水线产品计数器设计_毕业论文_第5页
第5页 / 共23页
点击查看更多>>
资源描述

《基于51单片机的流水线产品计数器设计_毕业论文》由会员分享,可在线阅读,更多相关《基于51单片机的流水线产品计数器设计_毕业论文(23页珍藏版)》请在金锄头文库上搜索。

1、 贵州电子信息职业技术学院毕业设计(论文) 第 I 页 毕业设计(论文)基于 51 单片机的流水线产品计数器设计班 级: 31001 班 学 号: 201062301051 姓 名: 唐树春 专 业: 应用电子技术 指导老师: 周晓红老师 二零一二年六月十日 贵州电子信息职业技术学院毕业设计(论文)第 II 页摘 要本系统采用的是以单片机 STC89c52为核心的光电计数器。其工作原理是采用单片机的外部中断 0来进行计数,数据采集部分采用反射式光电传感器,将红外发光管与光电接收管相邻安放,每当物体通过一次,红外光就被物体反射,光电接收管接收一次,光电接收管的输出电压就产生一个变化,这个变化的电

2、压信号通过放大和处理后,形成计数脉冲,输入至 STC89c52单片机的 P3.2口,通过软件控制和硬件控制并用 LED加以显示,便可实现对物体的计数统计。本计数器可将机械或人工计数方式变为电子计数,并且采用 LED数码管显示,可适用于诸多行业,以满足现代生产、生活方式的需求。所 谓 的 光电式传感器是将光信号转化为电信号的一种传感器。光 电 式 传 感 器 是以 光 电 器 件 作 为 转 换 组 件 的 传 感 器 , 光 电 检 测 方 法 具 有 精 度 高 、 应 用 快 、 非 接 触等 优 点 , 而 可 测 参 数 多 , 光 电 传 感 器 的 结 构 简 单 , 形 式 灵

3、活 多 变 因 此 , 光 电 式 传感 器 在 检 测 和 控 制 中 应 用 非 常 广 泛 。关键词:计数器;光电传感器;单片机;LED 数码管 贵州电子信息职业技术学院毕业设计(论文)第 III 页AbstractThis system USES is with STC89c52 single chip microcomputer as the core of the photoelectric counter. The working principle of adopting SCM external interruption 0 to count, the data acquis

4、ition of the reflecting photoelectric sensor, the infrared light tube and photoelectric receiving tube adjacent put, whenever the object through a, infrared light is object reflective, photoelectric tube receiving a receiving, photoelectric receiving tube is the output voltage of produce a change, t

5、he changes of the voltage signal through the amplifier and processing, form count pulse, the input to STC89c52 SCM P3.2 mouth, through the control software and hardware control and that LED to, can realize the object counting statistics. This counter can or mechanical artificial count way into elect

6、ronic counted, and using LED digital display tube, can be used in many industries, to meet the modern production, the way of life of demand.The so-called photoelectric sensor is light signals are converted to electrical signals a sensor. Photoelectric sensor is based on photoelectric device as a con

7、version of components of the sensor, photoelectric detection method has high accuracy, application, the advantages of fast contact, and can be measured parameters, the structure of the photoelectric sensor is simple, flexible in form so, photoelectric sensor in the detection and control is widely us

8、ed.Keywords: counter; Photoelectric sensor; microcomputer; LED digital tube 贵州电子信息职业技术学院毕业设计(论文)第 IV 页目 录摘 要 .IABSTRACT.II第 1章 绪 论 .11.1、本论文的背景和意义 .11.2、主要方法和研究进展 .11.3、主要内容 .11.4、结构安排 .1第 2章 整体设计方案 .22.1、设计方案选择 .22.2、设计方框图 .2第 3章 硬件设计及功能 .33.1、基本介绍 .33.2、AT89C52 引脚功能 .43.3、STC89C52 系统结构图 .53.4、STC89C52 的复位与时钟 .63.5、STC89C52 单片机的基本工作电路 .63.6、本次设计的部分电路 .73.7、74HC573 芯片 .73.8、显示电路 .8第 4章 软件设计 .104.1、P ROTEUS 软 件 .104.2、K EIL C51 软 件 .104.3、软件设计流程图: .

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 学术论文 > 毕业论文

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号