毕业论文论文范文课程设计实践报告法律论文英语论文教学论文医学论文农学论文艺术论文行政论文管理论文计算机安全
您现在的位置: 毕业论文 >> 论文 >> 正文

单片机多功能人体秤设计

更新时间:2010-4-3:  来源:毕业论文

单片机多功能人体秤设计
Abstract
This paper first introduces human scale multifunctional modules for the control of the outline, also described the human scale multifunctional measuring the weight and height of the process and principle. Then the analysis of demand options to achieve a suitable program, and based on the proposals made by the demonstration program. Its main chip is like as 89 tents, DS1302, MAX813L, ICL7135. The working principle and the basic characteristics of Sensors and stepper motor are presented. This paper analyzes the performance, structure of stepping motor driving chip L297/L298, at the same time introduces a method for driving stepping motor combining with AT89C52 singlechip. This paper presents the principle chart of controlling. This design has the traits that make the hardware simple, software easy and cost low in practical use. There has also introduced a multi-function human scale of the control module and other parts of the communications, with the keyboard and display and voice communication is part of the serial communication but also to establish communication protocol, and the printer is parallel communication. According to human scale multifunctional module dominated by the demands of the function programming, Meanwhile the flowchart of the software for a detailed description. Finally, the right software and hardware debugging process of the emergence of some problems and problem-solving methods are reviewed.
Key words : human scale, Singlechip, sensors, RS-232 Serial communication, Stepping motor本文首先对多功能人体秤的主控模块的工作原理和各种功能模块电路进行了总体概述,同时还描述了多功能人体秤测量体重及身高的工作过程。然后通过各种功能模块电路方案的比较和论证选择了合适的实现方案,并且根据所提出的方案进行了实际电路的硬件设计、控制原理图和软件的编程以及调试。并对其主要芯片如89C52、DS1302、MAX813L、ICL7135、传感器及步进电机的工作原理及特点进行了详细的介绍。在分析了步进电机驱动芯片L297/L298的性能、结构的基础上,结合AT89C52单片机,介绍实现驱动步进电机的一种简单方法.文中给出了控制原理图。实测表明,利用该方法设计的步进电机驱动系统具有硬件结构简单、软件编程容易和价格低廉的特点。除此以外还介绍了多功能人体秤主控模块部分与其他部分的通信,与键盘显示和语音部分的通信是串行通信还要建立通信协议,而与打印机则是并行通信。根据多功能人体秤主控模块所要求实现的功能进行编程,同时对软件的流程图进行了详细的叙述。最后,对软件和硬件的调试过程中出现的一些问题及解决问题的方法进行了总结。
关键词:人体秤,单片机,传感器,,步进电机 RS-232串行通信
 目录
摘要 I
ABSTRACT II
目录 III
引言 1
1  多功能人体秤主控模块的概述 2
2.1  微控制器CPU的选择 4
2.2  看门狗的选择 4
2.3  时钟电路的选择 5
2.4  通信方式的选择 5
2.5  秤重传感器的选择 6
2.5.1  传感器选择原则 6
2.5.2  传感器的型号 7
2.5.3  传感器的驱动 8
2.6  放大电路的选择 8
2.7  A/D转换模块 9
3   硬件电路的设计 10
3.1  CPU及其外围电路 10
3.1.1  AT89C52具有以下几个特点 11
3.1.2  工作模式 11
3.1.3 时钟电路 11
3.1.4  复位电路 12
3.2  串行通讯电路设计 13
3.2.1  RS232通信协议 13
3.2.2   RS-232通信电路 15
3.3  时钟电路 16
3.3.1  DS1302的结构及工作原理 16
3.4  放大电路设计 17
3.5  ICL7135双积分型A/D转换器 18
3.5.1  主要参数 19
3.5.2  电路设计 20
3.6  步进电机的单片机控制 20
3.6.1  步进电机的控制电路设计 21
4  软件系统设计 22
4.1  主控模块软件设计的功能要求 22
4.2  程序设计 22
4.2.1  秤重子程序设计 22
4.2.2  测量身高子程序 22
4.2.3  读取时间子程序 26
4.2.4  串行通信子程序 26
5   系统调试 29
5.1软件调试 29
5.2  硬件调试 29
5.3 1302调试 30
6  结论 31
致    谢 32
附录 33
附录1  硬件原理图 33
附录2  PCB图 33
附录3  软件程序 33
秤重子程序 33
读取DS1302时间数据子程序 34
串行通信子程序 35
测量身高子程序 36
主程序 39
参考文献956

[1] [2] [3] [4] [5] [6] [7] [8] [9] [10]  ... 下一页  >> 

单片机多功能人体秤设计下载如图片无法显示或论文不完整,请联系qq752018766
设为首页 | 联系站长 | 友情链接 | 网站地图 |

copyright©youerw.com 优文论文网 严禁转载
如果本毕业论文网损害了您的利益或者侵犯了您的权利,请及时联系,我们一定会及时改正。