设计简介:

项目名:基于单片机的多功能计数仪的设计
项目编号:mcuclub-dz-083
单片机:STC89C52
功能简介:
1、通过一个红外对射管进行计数
2、通过HX711称重模块进行称重,超过设定值,进行计数;
3、通过按键按下进行计数
4、通过按键可设定称重设定值、复位计件数
5、通过LCD1602显示屏显示数据

总字数:10883

实物链接:点击跳转

设计说明书链接:点击跳转

开题报告链接:点击跳转

答辩PPT链接:点击跳转

摘要

本设计基于STC89C52单片机,设计了一个多功能计数仪,具备计数、称重和数据显示功能。系统通过红外对射管、HX711称重模块和按键实现计数操作,并通过LCD1602显示屏显示相关数据。具体功能包括:红外对射管计数:通过一个红外对射管进行物体的计数操作,当物体通过红外对射管时,系统会自动进行计数。称重计数:通过HX711称重模块进行物体的称重操作,当物体的重量超过设定值时,系统会进行计数,并显示相应计数值。按键计数:通过按键按下进行计数,每按下一次按键,系统会自动计数一次。按键设定和复位:通过按键进行称重设定值的设定和计数复位操作,用户可以根据需求设置称重设定值,以及通过按键进行计数复位。数据显示:系统通过LCD1602显示屏实时显示计数和称重数据,方便用户实时了解计数仪的状态。

通过以上功能,本设计实现了基于单片机的多功能计数仪,能够实现红外计数、称重计数和按键计数,并通过LCD1602显示屏提供数据显示。这种设计可以广泛应用于需要计数和称重的场景,如物料统计、仓库管理、实验室计数等,具有实用性和便捷性。

关键词:单片机多功能计数仪STC89C52红外对射管HX711称重模块

LCD1602显示屏

Abstract

This design presents a multi-function counter implemented using the STC89C52 microcontroller, capable of performing counting, weighing, and data display operations. The system utilizes an infrared transmitter-receiver pair, an HX711 weighing module, and buttons for counting operations, with data displayed on an LCD1602 screen. The specific functionalities include:Infrared counting: Objects passing through the infrared transmitter-receiver pair trigger automatic counting by the system.Weighing and counting: The HX711 weighing module measures the weight of objects, and if the weight exceeds a predefined threshold, the system performs counting and displays the corresponding count value.Button counting: Each press of a button triggers an automatic count increment.Setting and reset: Buttons allow users to set the weighing threshold and reset the count value.Data display: The LCD1602 screen provides real-time display of the count and weighing data, enabling users to monitor the status of the counter.Through these functionalities, this design achieves a multi-function counter based on the STC89C52 microcontroller, enabling infrared counting, weighing-based counting, and button-based counting, with data displayed on the LCD1602 screen. This design finds applications in various fields, such as material inventory, warehouse management, and laboratory counting, due to its practicality and convenience.

Keywords: microcontroller, multi-function counter, STC89C52, infrared transmitter-receiver pair, HX711 weighing module, LCD1602 screen..

目   录

摘要

Abstract

第1章绪论

1.1研究背景及意义

1.2国内外研究现状

1.3论文的主要内容

第2章 系统总体设计方案

2.1系统总体设计

2.2主要模块方案选择

2.2.1主控模块方案选择

2.2.2称重监测模块方案选择

2.2.3 显示模块方案选择

第3章硬件设计

3.1主控模块电路设计

3.2 红外对射管监测模块电路设计

3.3 称重模块电路设计

3.4 独立按键模块电路设计

3.5 显示模块电路设计

第4章 系统程序设计

4.1 编程软件介绍

4.2 系统主流程设计

4.3 独立按键

4.4 称重模块HX711模块子流程

4.5 LCD1602液晶显示子流程

第5章 实物测试

5.1 整体实物焊接图

5.2计数监测实物测试

第6章 总结展望

参考文献

附录

附录A   原理图

附录B   PCB

附录C   主程序

……………..本设计说明书是配套实物或仿真来写的,完整的设计参考书请购买后下载,购买过程遇到任何问题请联系客服进行咨询。本资料是一次性商品,不支持退货,感谢您对单片机俱乐部的支持……………..

发表评论

后才能评论

本站所有资源版权均属于原作者所有,这里所提供资源均只能用于参考学习用,请勿直接商用。若由于商用引起版权纠纷,一切责任均由使用者承担。更多说明请参考 VIP介绍。

最常见的情况是下载不完整: 可对比下载完压缩包的与网盘上的容量,若小于网盘提示的容量则是这个原因。这是浏览器下载的bug,建议用百度网盘软件或迅雷下载。 若排除这种情况,可在对应资源底部留言,或联络我们。

对于会员专享、整站源码、程序插件、网站模板、网页模版等类型的素材,文章内用于介绍的图片通常并不包含在对应可供下载素材包内。这些相关商业图片需另外购买,且本站不负责(也没有办法)找到出处。 同样地一些字体文件也是这种情况,但部分素材会在素材包内有一份字体下载链接清单。

如果您已经成功付款但是网站没有弹出成功提示,请联系站长提供付款信息为您处理

源码素材属于虚拟商品,具有可复制性,可传播性,一旦授予,不接受任何形式的退款、换货要求。请您在购买获取之前确认好 是您所需要的资源