1 / 13
文档名称:

蒲公英旅行记.ppt

格式:ppt   页数:13页
下载后只包含 1 个 PPT 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

蒲公英旅行记.ppt

上传人:yjjg0025 2015/9/10 文件大小:0 KB

下载得到文件列表

蒲公英旅行记.ppt

文档介绍

文档介绍:基于单片机控制的电子称的设计

摘要

本文设计的电子秤以单片机为主要部件,用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 ponent 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
目录
摘要 I
ABSTRACT II
目录 III
第1章 绪论 1
引言 1
本设计在国内外的研究现状 1
本设计的选题及意义 2
第2章 总体方案设计 3
显示器的选择方案 3
AD芯片的选择方案 3
CPU的选择方案 4
总体方案的设计 4
第3章 硬件设计 6
传感器的设计 6
电阻应变式传感器的组成及原理 6
电阻应变式传感器测量电路的设计 7
A/D转换系统的电路设计 8
ADC0809芯片的内部逻辑结构 8
ADC0809芯片的外部结构 9
ADC0809芯片的使用说明 10
模数转换电路的设计 10
CPU控制系统的电路设计 11
AT89C52芯片简介 11
AT89C52芯片的引脚说明 11
单片机控制电路的设计 13
显示系统电路的设计 14
液晶显示简介 14
LCD1602的结构及引脚功能 15
显示电路的硬件设计 16
报警电路的设计 16
产品实物图 17
第4章 软件设计 18
主程序的设计 18
AD数据采集及处理子程序的设计 18
键盘处理程序的设计 20
第5章 设计结果与展望 22
设计结果 22
展望 23
参考文献 24
附录1 25