摘要:秤是促进社会发展的一种重要衡器。基于微电子技术的进步,传统的机械结构的秤逐步被电子秤所取代。本文提出了一种基于AT89S52单片机的电子秤的设计方案,主要分两部分设计。硬件部分主要有电阻应变式传感器、放大系统、A/D转换系统、AT89S52单片机、LCD显示系统、报警系统及键盘控制系统七大部分组成。软件部分通过C语言实现基本的控制功能,包括称重功能,显示功能,时钟和语音功能。通过电阻式应变器件将重量信号转化成电信号,由放大电路放大,经过AD转换并送入单片机,最终在液晶上显示所称物体的重量。经测试,本文所设计的电子秤精度高、性能稳定,具有一定的实用价值。54381

毕业论文关键词:AT89S52单片机; 传感器;LCD显示 

ABSTRACT:Scale is an important instrument to promote social development.Based on the progress of the microelectronics technology,the traditional mechanical structure of the scale was gradually replaced by electronic balance.According to this trend,The design is the basic function of electronic scale is based on AT89S52 single chip microcomputer.The system design consists of two main parts.The software  achieve the basic control functions the C language , including  the function of weighing and display , clock and voice .The hardware for sensor, amplifier,A/D converter system, CPU control system, LCD display system, the alarm system and the keyboard control system.The resistance strain device change the weight signal into the electrical signals, amplified by the amplifying circuit, after AD conversion and sent it to the single chip microcomputer, and finally displaying the weight of the object on the liquid crystal display screen . After testing, electronic scales will be designed to achieve the expected indicators.

Key words: SCM;A/D converter:LCD display

目  录 

1   绪  论 5

1.1 引言 5

1.2 选题背景与意义 5

1.3 研究现状 5

1.4 设计内容 6

2   系统方案设计 6

2.1 设计原理 6

2.2 总体设计方案 7

2.3 单片机的选型 8

2.4 传感器的选型 8

3   系统硬件设计 10

3.1 基于AT89S52单片机的电路设计 10

3.2 数据采集电路设计 11

3.3 人机交互界面 13

3.3.1 键盘电路 13

3.3.2 液晶显示电路 15

3.4 系统扩展部分 16

3.4.1 时钟部分 16

3.4.2 语音报数 16

3.5 报警电路的设计 18

4   系统软件设计 18

4.1 主程序流程图 19

4.2 键盘扫描子程序的设计 20

4.3 显示程序设计 20

5   测试与分析 21

5.1 设计成果展示 21

5.2 测试与分析 22

6   总结

上一篇:AT89C51单片机胎压检测系统设计+电路图
下一篇:AT89S52单片机多功能电子万年历设计+电路图

单片机数字红外测距系统设计+电路图+程序

基于51单片机自动门智能控制系统设计

STC89C52单片机智能温度监测系统设计

STC89C52单片机盲人用时钟的设计+电路图+程序

粉料称重装置的单片机控...

基于TI-DSP平台的电力电子测控平台设计

STM32单片机的无刷直流电机控制系统设计

谷度酒庄消费者回访调查问卷表

国内外无刷直流电动机研究现状

多元化刑事简易程序构建探讨【9365字】

高校网球场馆运营管理初探【1805字】

辩护律师的作证义务和保...

浅谈传统人文精神茬大學...

浅谈新形势下妇产科护理...

《醉青春》导演作品阐述

拉力采集上位机软件开发任务书

中国古代秘书擅权的发展和恶变