毕业论文

打赏
当前位置: 毕业论文 > 自动化 >

AT89C51单片机的产品自动计数器+源程序+电路图

时间:2021-04-11 16:19来源:毕业论文
计数器是采用红外对射式方式,抗干扰性好,可靠性高.本设计的指导思想是利用红外发光管发射红外线,红外接收管接收此红外线,并将其放大、整流形成高电平信号.当物挡住红外光时

摘要:在当今社会飞速发展的格局下,越来越多的流水线上的产品需要进行自动计数.基于单片机构成的产品自动计数器有直观和计数精确的优点,目前已在各种行业中普遍使用。有采用机械方式的接触式触发的,有采用电子传感器这类非接触式触发的。本文设计的计数器是采用红外对射式方式,抗干扰性好,可靠性高.本设计的指导思想是利用红外发光管发射红外线,红外接收管接收此红外线,并将其放大、整流形成高电平信号.当物挡住红外光时,接收管没有接收到红外信号,放大器将输出低电平,同时将这个电平信号送入单片机进行控制计数,并经译码驱动电路使数码管显示数值。这样就得到要统计流水线上的产品的数量。68387

毕业论文关键词:自动计数,红外检测,单片机,8位数码管

Abstract: In the pattern of rapid development of today's society, more and more products in the pipeline on the need for automated counting automatic counter microcontroller based product consisting of intuitive advantages and counting accuracy, has been widely used in various industries. There are a contact mechanically triggered, there is the use of such non-contact electronic sensors triggered. This design is the use of infrared counter-beam mode, anti-interference, high reliability guiding ideology of this design is the use of infrared LED emits infrared light, infrared receiver receives the infrared, and amplification, rectification formation of high electric level signals. when blocking the infrared light, infrared receiver tube does not receive a signal, the amplifier will output low, while the level of the signal sent to the microcontroller to control the count, and the decoded digital display drive circuit causes the value. So you get to count the number of products on the assembly line.

Keywords: Automatic counting, infrared detection, MCU, 8 digital tube

目录

1 绪论 4

1.1 选题的目的和意义 4

1.2 设计功能与要求 4

1.3 设计任务的分析 4

2 系统的总体设计 4

2.1 方案论证与选择 4

2.2 系统总体框图和原理 6

3系统各单元电路设计 7

3.1 传感器选择 7

3.1.1什么是红外对射 7

3.1.2 对射式红外传感器 7

3.2 计数、显示设计 8

3.2.1  74HC138译码器 10

3.2.2  74HC573芯片 10

4 系统程序设计 11

4.1 程序流程图 11

4.2 程序设计 12

4.3  电路仿真图 16

总  结 16

参考文献 17

致  谢 18

附录  实验结果图 19

1 绪论

1.1 选题的目的和意义

在当今社会飞速发展的情况下,厂家基本采用流水线技术进行产品生产作业,而怎样对其线上的产品进行实时、有效、精确的自动计数成为广大厂家关注的问题。传统的机械或电子式计数器电路比较复杂,元器件数量较多,故障率较高,维修比较困难,设置预定数值也不太方便,功能不易更改且过于单一,适用范围较窄。而有着实时,精确,可靠,稳定等计数优点的基于单片机为核制的计数器已成为广大厂家首选的自动计数装置。文献综述 AT89C51单片机的产品自动计数器+源程序+电路图:http://www.751com.cn/zidonghua/lunwen_72990.html

------分隔线----------------------------
推荐内容