【精品】毕业论文-基于ATS8952单片机的电子秤测量系统的设计.doc
文本预览下载声明
本 科 生 毕 业 论 文(设计)
题目: 基于AT89S52单片机的电子称量系统
的设计与实现
学生姓名 陈哲
学 号 07042001318
指导教师 傅卫卫
二级学院 信息学院
专业名称 计算机科学与技术
班 级 08计算机2班
2012年4月
声明及论文使用的授权
本人郑重声明所呈交的论文是我个人在导师的指导下独立完成的。除了文中特别加以标注和致谢的地方外,论文中不包含其他人已经发表或撰写的研究成果。
论文作者签名: 年 月 日
本人同意浙江财经学院有关保留使用学位论文的规定,即:学校有权保留送交论文的复印件,允许论文被查阅和借阅;学校可以上网公布全部内容,可以采用影印、缩印或其他复制手段保存论文。
论文作者签名: 年 月 日
基于AT89S52单片机的电子称量系统的设计与实现
摘 要:该设计以51系列单片机AT89S52为控制核心,实现电子秤的基本控制功能。在设计系统时,为了更好地采用模块化设计法,分步的设计各个单元功能模块,系统的硬件部分可以分为数据采集、人机交互界面和系统电源三大部分。采用合适的压敏电阻传感器构成电桥进行重量参数到电信号的转换;采用合适的放大电路和ADC电路将电压信号调理成数字信号作为单片机系统的输入;采用16键键盘作为参数设定输入部件;采用AT89S52单片机最小系统作为数据处理部件;采用LCD作为测量参数显示部件。软件部分应用单片机C语言进行编程,实现了该设计的全部控制功能。该电子秤可以实现基本的称重功能(称重范围为0~3.0Kg,测量精度为5%),并具有显示物品单价和总价功能。整个系统结构简单,使用方便,功能齐全,精度高,具有一定的开发价值。
关键词: AT89S52单片机;单片机;A/D转换器;液晶显示
electronic compass orientation system?based on?AT89S52
Abstract: The design is based on the microcontroller AT89S52 system as the core to carry out the basic control function of the electronics steelyard. While designing the system, I adopt the mold piece method to divide the hardware of the system into four parts: the minimum system, sampling circuit, I/O interface and the system power supply. The minimum system mainly includes the AT89S52 and the expanded exterior data memory. Sampling circuit is comprised of a pressure sensor, a differential measuring amplifier ADC0832 and a A/D converter LM358P. we complete the function of the key board input and the LCD manifestation. The software part applies a machine C language to carry out all control function. The electronic steelyard can weigh the scope as 0~3.0Kgs, and the weigh error margin is no bigger than ±0.005Kgs. It also has many other functions, such as displaying the shopping detailed list, setting the date and ten kinds of unit prices of merchandise and overweighing alarm. The whole system is simple, well-found, convenient to use and has high accuracy and c
显示全部