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

约59页DOC格式手机打开展开

基于单片机的电子称设计,摘 要随着微电子技术的应用,市场上使用的传统称重工具已经满足不了人们的要求。为了改变传统称重工具在使用上存在的问题,在本设计中将智能化、自动化、人性化用在了电子秤的控制系统中。本系统主要由单片机来控制,测量物体重量部分由称重传感器及模数转换器组成,加上lcd显示器,此电子秤具备了功能多、性能价格比高、功耗低、系统设计简...
编号:20-361405大小:808.59K
分类: 论文>电气自动化/电力论文

内容介绍

此文档由会员 mingege 发布

    摘  要
随着微电子技术的应用,市场上使用的传统称重工具已经满足不了人们的要求。为了改变传统称重工具在使用上存在的问题,在本设计中将智能化、自动化、人性化用在了电子秤的控制系统中。
本系统主要由单片机来控制,测量物体重量部分由称重传感器及模数转换器组成,加上LCD显示器,此电子秤具备了功能多、性能价格比高、功耗低、系统设计简单、使用方便等特点。
本系统以AT89S52单片机为主控芯片,外围附以称重电路、显示电路、报警电路、键盘电路等构成智能称重系统电路板,从而实现自动称重系统的各种控制功能。此设计所完成的电子秤很大程度上满足了应用需求,具有很大的应用前景。

关 键 词:传感器;模数转换器;AT89S52;LCD显示器  



ABSTRACT
With microelectronics technology development, weighing on the market using the traditional tools have failed to meet the requirements of the people. In order to change the use of traditional tools weighing problems,this design will be intelligent, automated, user-friendly to use in the electronic weighing control system. The system is mainly controlled by the microcontroller, measurement of body weight in part by the load cell and analog components, plus LCD display, this electronic scale with a multi-function, low price, low power consumption, system design is simple, and convenient.

The AT89S52 microcontroller system for the main chip, attached to the external load circuit, display circuit, the alarm circuit, such as an intelligent keyboard circuit board weighing systems, automatic weighing systems in order to achieve various control functions. Completed the design of electronic scales to meet the application needs a large extent, has great application prospects.

KEY WORDS: Sensor; ADC; AT89S52; LCD display


目  录
1 绪论 1
1.1 选题的背景和意义 1
1.2 研究现状 1
1.3 论文主要研究内容 1
2 总体设计方案选择 2
2.1 电子秤整体设计方案 2
2.2 主控制器的方案选择 2
2.3 称重传感器的方案选择 3
2.4 放大器的方案选择 4
2.5 模数转换器的方案选择 5
2.6 键盘部分的方案选择 6
2.7 显示部分的方案选择 6
2.8 过载报警部分的方案选择 7
3 电子秤的硬件设计 8
3.1 系统设计的总体思路 8
3.2 AT89C52最小系统的设计 8
3.3 设计 9
3.4 A/D转换器与单片机接口的设计 10
3.5 显示电路与单片机接口电路的设计 11
3.6 键盘电路与单片机接口电路的设计 12
3.7 报警电路的设计 13
3.8 电源电路的设计 13
4 电子秤系统的软件设计 15
4.1 主程序的设计 16
4.2 子程序的设计 16
4.2.1 A/D转换子程序的设计 17
4.2.2 键盘扫描子程序的设计 18
4.2.3 显示子程序的设计 19
4.2.4 价格计算子程序的设计 20
4.2.5 报警子程序的设计 21
5 系统调试与分析 22
5.1 软件调试 22
5.2 硬件调试 23
6 结论与展望 24
6.1 论文的特点 24
6.2 研究展望 24
致  谢 25
参考文献 26
附  录1系统总图 27
附  录2仿真图 28
附录3程序清单 29