基于单片机控制的电子称的设计.doc

  1. 1、本文档共47页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
PAGE PAGE I PAGE IV 基于单片机控制的电子称的设计 摘 要 本文设计的电子秤以单片机为主要部件,用C语言进行软件设计,硬件则以传感器、放大系统、A/D转换系统、CPU控制系统、LCD显示系统、报警系统及键盘控制系统七个部分组成。通过对电路输出电压和标准重量的线性关系,建立具体的数学模型,将电压量纲(V)改为重量纲(g)即成为一台原始电子秤,在此基础上增加了LCD显示、键盘控制及阈值报警功能,随时可改变上限阈值,调节单价,去皮处理,显示总价格的功能,使本产品智能化,符合现代社会电子信息化的要求。 关键词:单片机,传感器,A/D转换,LCD显示,阈值报警 THE DESIGN OF MCU-BASED ELECTRONIC WEIGHER ABSTRACT In this paper, SCM was chosen as the main component of the electronic weigher. Software program was designed by using C language, and the hardware contains 7 parts: sensor, amplification system, A/D conversion system, CPU, LCD display system, alarm system and keyboard control system circuit. By examining the linear relationship between the output voltage and the standard weight, a specific mathematical model was established, and then we should change the voltage dimensionality (V) to weight voltage (g), thus a original electronic weigher was obtained. On this basis, the electronic weigher can be intelligentized by adding LCD display system, keyboard control system and threshold alarm system. The upper threshold and the unit price of the electronic weigher can be changed at any time, and the total price can be displayed on the LCD. This intelligentized product meets the requirements of this electronic times. Key Words: SCM, sensor, A/D conversion, LCD display, threshold alarm 目录 TOC \o 1-3 \h \z \u 摘 要 I ABSTRACT II 目录 III 第1章 绪论 1 1.1 引言 1 1.2 本设计在国内外的研究现状 1 1.3 本设计的选题及意义 2 第2章 总体方案设计 3 2.1 显示器的选择方案 3 2.2 AD芯片的选择方案 3 2.3 CPU的选择方案 4 2.4 总体方案的设计 4 第3章 硬件设计 6 3.1 传感器的设计 6 3.1.1 电阻应变式传感器的组成及原理 6 3.1.2 电阻应变式传感器测量电路的设计 7 3.2 A/D转换系统的电路设计 8 3.2.1 ADC0809芯片的内部逻辑结构 8 3.2.2 ADC0809芯片的外部结构 9 3.2.3 ADC0809芯片的使用说明 10 3.2.4 模数转换电路的设计 10 3.3 CPU控制系统的电路设计 11 3.3.1 AT89C52芯片简介 11 3.3.2 AT89C52芯片的引脚说明 11 3.3.3 单片机控制电路的设计 13 3.4 显示系统电路的设计 14 3.4.1 液晶显示简介 14 3.4.2 LCD1602的结构及引脚功能 15 3.4.3 显示电路的硬件设计 16 3.5 报警电路的设计

文档评论(0)

封样的男子245 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档