登录

  • 登录
  • 忘记密码?点击找回

注册

  • 获取手机验证码 60
  • 注册

找回密码

  • 获取手机验证码60
  • 找回
毕业论文网 > 毕业论文 > 机械机电类 > 测控技术与仪器 > 正文

基于单片机的简易电子秤研究毕业论文

 2022-01-11 07:01  

论文总字数:20526字

摘 要

随着科技的进步和发展,各行各业对称重技术有了更高的技术要求。为了推进工业生产的自动化和量化、科研管理的精确化,我们需要不断改进称重技术,以保证高精度和高效率的物质生产活动,满足社会的需求。在这样的背景下,基于STM32F030C8T6单片机作为核心控制器,本论文研究出了一种的电子秤称重系统。

本论文的具体设计原理是:当物体被平稳地放置在秤台上,压力传感器产生会一个稳定的电信号。然后该电信号被放大并经过模数转换,输送给STM32F030C8T6单片机处理。经单片机处理后,将物体重量显示在数码管上。当重量超过规定的数值时,led灯报警亮起,数码管显示错误Er。

本系统的量程是0~5Kg ,精度可达到0.02%,工作温度为-10~50℃。该系统相对于市场上其他称重设备来说小型简便,性能稳定,非常适合测量小质量物体。本文着重从硬件选型情况、硬件电路的设计、软件编程、实物调试和仿真测试这几个部分进行论述,详细介绍关于电子秤的设计过程。

关键词:单片机 电子秤 压力传感器 数码管

Simple electronic scale research based on microcontroller

Abstract

With the rapid progress of science and technology, the society has a higher pursuit of electronic scale technology. To promote the automation and accuracy of industrial production and improve the efficiency of management,we need to continuously improve weighing technology to ensure high-precision and high efficiency of material production activities to meet the needs of society. In this context, this paper has developed an electronic scale weighing system based on the STM32F030C8T6 microcontroller.

The specific design principle of this paper is that when the object is placed smoothly on the scale, the pressure sensor produces a stable electrical signal. The electrical signal is then amplified and converted to the STM32F030C8T6 microcontroller for processing. After treatment by a microcontroller, display weighing result with digital tube. When the weight exceeds the specified value, the led light alarm lights up and the digital tube displays the error Er.

The weighing range of this system is 0 to 5Kg, the accuracy can reach 0.02%, the operating temperature is -10 to 50 degrees C. The system is small and simple compared to other weighing equipment on the market, and is stable in performance, making it ideal for measuring small mass objects. This paper focuses on the hardware selection, hardware circuit design, software programming, physical debugging and simulation testing and other parts of the discussion, a detailed description of the design process of the electronic scale.

Key Words: MCU ; electronic scale ; pressure sensor ; digital tube

目 录

摘 要 I

Abstract II

第一章 绪论 1

1.1 研究背景 1

1.2 国内外研究现状 1

1.3本论文主要研究内容 2

1.4复杂工程问题和非技术问题分析 3

第二章 系统设计与硬件选型 4

2.1系统整体设计方案 4

2.2 STM32F030单片机简介 5

2.3压力传感器 6

2.3.1 压力传感器的简介 6

2.3.2压力传感器的工作原理 7

2.3.3 计算公式及其推导过程 7

2.4 AD转换芯片 8

2.5 显示元件 9

第三章 系统硬件电路设计 11

3.1系统整体电路设计 11

3.2电源电路设计 12

3.3控制电路设计 12

3.4测量电路设计 14

3.5显示电路设计 15

3.6超重报警电路设计 15

第四章 系统软件程序设计 17

4.1程序编写软件简介 17

4.2主程序设计 17

4.3 AD模块程序设计 19

4.4 数码管模块程序设计 22

第五章 仿真调试与实物调试 23

5.1仿真调试 23

5.1.1 proteus简介 23

5.1.2 proteus仿真调试 23

5.2实物调试 25

5.2.1 称重传感器的安装 25

5.2.2称重系统实物调试 26

第六章 总结与展望 29

6.1遇到的问题及其解决办法 29

6.2个人总结与展望 29

参考文献 31

致 谢 33

第一章 绪论

1.1 研究背景

称重技术在人们的生活中有着十分广泛的应用[1]。例如在医药制品、工业生产、市场贸易、科学研究等领域,都需要精确的称重技术来作为技术支持。称重装置在科学研究、商品交易和工业控制上有着非同一般的意义,它推进了管理的现代化、科研的精确化以及工业生产的自动化和量化,保证了高精度和高效率的物质生产活动。

请支付后下载全文,论文总字数:20526字

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

企业微信

Copyright © 2010-2022 毕业论文网 站点地图