基于STM32的智能称重系统设计

 2022-09-13 02:09

论文总字数:18307字

摘 要

质量称重不仅是生活中经常使用的计量和贸易手段,也是工农业不可或缺的重要部分,随着社会工业的高度发展,人们对于在工业器械方面的使用有着更大的追求,以满足日常生活及工业化的需求。基于此,在传统称重基础上对其进行升级改造,能够满足不同的使用需求和应用场景。

本设计以STM32单片机作为主控芯片,通过对HX711芯片以及应变片获取信息设计了称重系统,通过蓝牙模块完成数据和移动终端之间的数据传输。系统可进行去皮称重,称重数据可通过蓝牙进行终端传输并记录,超出称重量程将会报警,可实现安全称重。本课题通过硬件电路连接和软件程序设计的改进,提高了称重系统精准度并且增加了更多的功能。实验结果表明,此设计基本达到了设计预期,误差保持在百分之一以内,称重系统具有高精度、可传输、应用广泛等优点,后续可在硬件方面作进一步的改进,保证使用寿命。

关键词:单片机;多功能; 终端传输;称重

Intelligent Weighing System Design Based on STM32

Abstract

Quality weighing is not only a commonmeans of measurement and trade in life, but also an indispensable part of industry and agriculture, with the high development of social industry, people have a greater pursuit of the use of industrial equipment to meet the needs of daily life and industrialization. Based on this, it is upgraded on the basis of traditional weighing to meet different usage needs and application scenarios.

The design takes THE STM32 microcontroller as the main control chip, designs the weighing system by obtaining information from the HX711 chip and the strain gauge, and completes the data transmission between the data and the mobile terminal through the Bluetooth module. The system can be peeled weighing, weighing data can be transmitted and recorded via Bluetooth terminal, beyond the weighing range will alarm, can achieve safe weighing. Through the improvement of hardware circuit connection and software program design, the accuracy of weighing system is improved and more functions are added. The experimental results show that the design basically meets the design expectations, the error is kept within one percent, the weighing system has the advantages of high precision, transmission and wide application, and can be further improved in hardware to ensure service life.

Keywords: microcontroller; multifunctional;Terminal transmission;weight

目 录

摘要 I

Abstract II

第一章 绪 论 1

1.1课题研究的背景和意义 1

1.2本课题的主要研究内容 1

1.3 国内外研究现状 1

1.4本课题研究步骤 2

第二章 系统方案研究与设计 5

2.1方案设计要求 5

2.2系统的总体方案和功能 5

2.2.1系统的硬件模块 5

第三章 系统硬件设计 7

3.1 系统硬件结构 7

3.2 主控芯片和电源模块设计 7

3.3称重模块设计 9

3.3.1称重模块和电路连接选择 9

3.3.2称重模块电路连接 10

3.4蓝牙模块设计 11

3.4.1蓝牙电路设计 12

3.5 报警和按键电路设计 12

第四章 系统软件设计 14

4.1软件程序开发工具 14

4.2 程序系统设计 14

4.2.1 主程序设计 14

4.2.2 称重和报警程序设计 15

4.2.3 蓝牙程序设计 16

第五章 实验结果与讨论 18

5.1 实验的目的 18

5.2 实验测试条件 18

5.3系统的软硬件调试 18

5.4 测试结果与讨论 19

第六章 总结与展望 22

致 谢 23

参考文献 24

附 录 25

剩余内容已隐藏,请支付后下载全文,论文总字数:18307字

您需要先支付 80元 才能查看全部内容!立即支付

该课题毕业论文、开题报告、外文翻译、程序设计、图纸设计等资料可联系客服协助查找;