没有合适的资源?快使用搜索试试~ 我知道了~
基于单片机的电子秤设计论文.doc
需积分: 0 4 下载量 168 浏览量
2022-12-01
10:42:18
上传
评论 1
收藏 1.09MB DOC 举报
温馨提示
试读
75页
基于单片机的电子秤设计论文.doc
资源推荐
资源详情
资源评论
-
-
- - word.zl-
商用电子秤的设计
摘要
在日常生活中,经常需要测量物体的质量,测量的准确性从而显得很重要。称重技术
的改革影响着人民的生活,随着计量技术和电子技术的开展,以前常用的纯机械构造的杆
秤、台秤等存在不准确、速度慢、不能计价易作弊等问题,已逐步被电子产品替代。本次
电子秤设计将运用单片机来完成,具有小型化、智能化、准确度高等特点。
本设计以 51 系列单片机 AT89S52 为控制核心,实现电子秤的根本功能,即准确采集
物体的质量,直观显示重量、单价及总价,并可对不同物品的重量、单价进展调整,此外
系统还具有超量程报警功能。显示局部采用的是 1602 液晶显示器,运用独立式键盘实现
重量、单价的调整和切换显示功能。软件设计以 C 语言作为编程语言,采用模块化编程思
想,在 Keil uVision 开发环境下编写应用程序,结合硬件电路做整体调试,最终实现了所
设计功能。整个系统构造简单、使用方便、功能齐全、精度高,具有一定的实用价值。
关键词:电子秤;单片机;1602 液晶;独立键盘
The Design of mercial Electronic Scales
ABSTRACT
In our daily life , we usually measure somethings’wight.The accuracy of
measurement seem to be very important.The reform in weighting technology is
affecting our life. With the development of measurement technology and
electronics,the traditional mechanical steelyard which we used previously are
sifted out step by step.Because the problem which including inaccuracy、slow、
valuation or easy to cheating can be resolved by electronic products.The design
is based on programming of SCM,then it can transform products to be minitype、
modularization and intelligentize,the technical function of products bee faster、
more accurate and more reliable.
The design for the control of 51 puters AT89S52 core, to achieve the basic
control functions of electronic scales.measuring the weight exactly 、 displaying
the weight and unit price exactly、displaying the total price exactly、displaying
the unit price after adjusting the unit price 、 displaying the unit weight after
adjusting the unit weight.the displaying way is base on 1602 LCD
display.Stand-alone keyboard unit price and the weight
adjustment.independent button control the changing which between the
status.I select C language to be programme language,and pile the program in
the condition of Keil uVision. The design adopt the modularization programming
and debug the program bine to hardware circuit.I analyse the cause of error
and resolving thought in designning process , and finish the basic functions of
-
-
- - word.zl-
electronic scale. The system at weighing has also super-range alarm. The whole
system is simple, easy to use, fully functional, high precision, with some Practical
value.
Key words:electronic scale; SCM; 1602LCD; single keyboard
目录
第 1 章绪论 1
1.1 选题背景与意义 1
1.2 电子秤的研究现状及开展趋势 1
1.3 本设计的主要工作 2
第 2 章系统方案设计 3
2.1 电子秤的设计要求 3
2.2 系统工作原理 3
2.3 系统方案选择 3
2.4 各功能模块的分析与选型 4
2.4.1 单片机的选择 4
2.4.2 按键的选择 5
2.4.3 输出模块的选择 6
2.4.4 报警模块的选择 6
2.5 编程语言及开发工具选择 6
2.5.1 编程语言的选择 6
2.5.2 开发环境的选择 7
2.6 本章小结 7
第 3 章系统软件设计 8
3.1 AT89S52 的介绍 8
3.2 主程序设计 10
3.2.1 函数声名以及变量定义 10
剩余74页未读,继续阅读
资源评论
matlab大师
- 粉丝: 2434
- 资源: 9万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功