1 / 62
文档名称:

毕业设计(论文)-基于单片机的电子秤设计.doc

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

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

分享

预览

毕业设计(论文)-基于单片机的电子秤设计.doc

上传人:3346389411 2013/4/7 文件大小:0 KB

下载得到文件列表

毕业设计(论文)-基于单片机的电子秤设计.doc

文档介绍

文档介绍:基于单片机的电子秤设计
摘要:本设计以51系列单片机STC89C52RC为控制核心,实现电子秤的基本控制功能。在设计系统时,为了更好地采用模块化设计法,分步的设计各个单元功能模块,系统的硬件部分可以分为最小系统、数据采集、人机交互界面(键盘以及显示)和系统电源四大部分。最小系统部分为STC89C52RC系统;数据采集部分由压力传感器、信号的前级处理和A/D转换部分组成,包括运算放大器OP07和A/D转换器ADC0809;人机交互界面为键盘输入和数码管显示,主要使用5X5键盘、CH423数码管控制芯片及13位数码管显示,可以方便的输入数据并直观的显示重量、单价和总价。系统电源是以LM7805、 LM7812为核心设计电路以提供系统正常工作电源。软件部分应用单片机C51语言进行编程,实现了该设计的基本控制功能。该电子秤可以实现基本的称重功能(称重范围为0~10Kg,重量误差不大于±),重量、单价、总价的计量可以精确到两位小数,键盘设置有数字键(‘0’~‘9’、‘.’)、储存键、单价1~单价8调用单价键、清除键、去皮键等;发挥部分有8种不同物品的单价记忆功能、99种消费商品价格累计功能、;待发挥部分为讲电子秤与打印机连接,能打印消费记录(小票),超量程和欠量程的报警功能。本系统结构简单,使用方便,功能齐全,精度高,具有一定的开发价值。

关键词:单片机采样电路A/D转换器 CH423数码管驱动芯片数码管显示工作电源
the design of electronic scales based on Single-chip puter
ABSTRACT :The design for the control of puters STC89C52RC the core, to achieve the basic control functions of electronic scales. In designing the system, in order to better modular design, the design of each unit step function modules, the system can be divided into the minimum hardware system, data acquisition, man-machine interface (keypad and display) and the system power 4 most. Minimum system partly STC89C52RC system; data collection in part by the pressure sensor, signal processing and the first class A / D ponents, including the operational amplifier OP07 and the A / D converter ADC0809; man-machine interface for the keyboard and digital display The main use of 5X5 keypad, CH423 digital control chip and 13 digital display, can easily enter data and visual display weight, unit price and total price. System power is based on LM7805, LM7812 as the core design of the circuit to provide normal power supply system. Software part of the application MCU C51 language programming, the design of the basic control functions. The electronic weighing scales can realize the basic functions (weighing range of 0 ~ 10Kg, the weight of the error is not greater than ± ), weight, unit price, total measurement is accurate to two decimal places, the keyboard settings are the number keys ( '0 '~ '9','.'