1、 I 毕毕 业业 论论 文文 (设(设 计)计) 题目题目 多功能电子秤软件系统设计 指导教师 学生姓名 学生学号 年 月 日 多功能电子秤设计 II 多功能电子秤设计 摘 要 本设计系统以单片机 AT89S52 为控制核心,实现电子秤的基本控制功能。在设计系统 时,为了更好地采用模块化设计法,分步设计了各个单元功能模块。 系统的硬件部分包括最小系统部分、数据采集部分、人机交互界面和系统电源四大部 分。最小系统部分主要包括 AT89S52 和扩展的外部数据存储器;数据采集部分由称重传感 器,信号的前期处理和 A/D 转换部分组成;人机界面部分为键盘输入,四位 LED 数码显示 器,可以直观的显
2、示重量的具体数字以及方便的输入数据,使用方便;系统电源以 LM317 和 LM337 为核心设计电路以提供系统正常工作电源。 系统的软件部分应用单片机 C 语言进行编程,实现了该设计的全部控制功能。该电子 秤可以实现基本的称重功能(称重范围为 09.999Kg,重量误差不大于0.005Kg),并发 挥部分的显示购物清单的功能,可以设置日期和设定十种商品的单价, 还具有超量程和 欠量程的报警功能。 本系统设计结构简单,使用方便,功能齐全,精度高,具有一定的开发价值。 关键词:单片机;数据采集;A/D 转换器;人机界面;蜂鸣报警器 INTELLIGENT ELECTRONIC DESIGN ABS
3、TRACT III The design of the system with the monolithic integrated circuit AT89S52 as the core to realize the basic electronic control functions. In the design of the system, in order to better the modularized design method, the unit step function module design. The system includes hardware, data acq
4、uisition system minimum, man-machine interface and the system of power. The minimum system parts including AT89S52 and the expansion of external data storage, Data collected by weighing transducer, signal processing and the A/D conversion parts; For the man-machine interface partial keyboard input, four LED digital display, can show the specific weight and figure of input data, use convenient, In LM317 LM337 and power system as the core circuit design to pr