基于单片机的电子秤设计说明

loading 分享 2026-7-18 下载文档

论文题目:基于单片机的电子秤设计

基于单片机的电子秤设计

:延海 专业:电气工程及其自动化 指导老师:马惠兰

摘 要 衡器是我们日常生活中不可缺少的重要仪器,衡器的发展是关系国计民生关键之一。衡器的应用已遍及到国民经济的各个领域,并取得了显著的

页脚

经济效益。近年来,随着电子科技的飞速发展,杆秤已越来越难以满足人们的日常生活需求,电子秤的应用也逐渐越来越重要。本文重点介绍了基于单片机的简单电子秤的一些基本构造原理和功能。

本设计以AT89C51单片机为控制芯片,附以传感器电路,调理放大电路,模/数转换电路,,键盘电路和显示电路等,然后利用编程语言进行编程实现,并由4x4矩阵键盘实现简单的操作,最后由LCD液晶显示器实现。此系统可以实现基本的称重显示,单价输入以及总金额计算。放上重物(即传感器受力),当输入单价时,系统会自动计算货物价值。 关键词 电子秤,单片机,AT89C51,LCD

ABSTRACT

Weighing apparatus is an indispensable important instrument in our daily life. The development of Weighing apparatus has a key factor in our life. The application of weighing apparatus has already spread to national economy in all areas , and have got singnificant economic benefits. In recent years, with the rapid development of electronic technology, the steelyard has become more and more difficult to meet people daily life demand , so the application of electronic scales have become more and more important. This paper mainly introduced some of the basic construction principle and function of the electronic scales .

This design use AT89C51 single-chip microcomputer as the control chip . Attached with sensor circuit , regulate amplifier circuit, A/D

页脚

conversion circuit, keyboard circuit and display circuit. Then use the programming language and 4x4 matrix keyboard for controlling. AT last ,we use LCD monitor to display the result. This system can realize the basic weighing displaying , unit price input, and total amount. When put things on the electronic scales (the sensor being stressed),if you put in the unit price, the system will automatically calculate the total value of the goods.

Key words: Electronic scales ,Single-chip microcomputer,AT89C51,LCD

页脚

目 录

第1章 绪论 ······························ 1 1. 1称重和衡器技术的发展 ························ 1 1.2 选题背景和意义 ··························· 2 1.3 设计目的 ······························ 2 1.4 设计要求 ······························ 2 1.5 电子秤简介 ····························· 2 1.5.1 电子秤基本结构 ························· 3 1.5.2 电子秤的工作原理 ························ 3 第2章 系统方案的设计 ························· 4 2.1 系统整体设计 ···························· 4 2.2 各模块设计与选择 ·························· 4 2.2.1 控制器部分 ·························· 4 2.2.2 传感器模块 ··························· 5 2.2.3 调理放大模块 ·························· 7 2.2.4 模/数转换模块 ························· 8 2.2.5 键盘模块 ·························· 10 2.2.6 显示模块 ··························· 11 第3章 电子秤系统设计 ························· 13 3.1 硬件系统设计 ··························· 13 3.1.1 控制器 ···························· 13 3.1.2 传感器 ···························· 13 3.1.3 A/D转换 ·························· 14 3.1.4 键盘 ···························· 15 3.1.5 显示器 ··························· 16 3.2 软件系统设计 ··························· 17 3.2.1 单价显示程序设计 ······················· 17 3.2.2 重量显示程序设计 ······················· 18 3.2.3 金额显示程序设计 ······················· 19 3.2.4 运算模块 ··························· 20 第4章 系统调试与仿真 ························· 21 4.1 系统软件调试 ··························· 4.2 仿真 ······························· 4.3 仿真程序 ····························· 4.4 调试过程中遇到的问题 ·······················

21

22 22 22

结 论 ································· 24 参考文献 ································ 26 附 录 ································ 27

页脚

致 ································· 37

页脚


基于单片机的电子秤设计说明.doc 将本文的Word文档下载到电脑
搜索更多关于: 基于单片机的电子秤设计说明 的文档
相关推荐
相关阅读