基于单片机的身高体重测量仪毕业设计.pdf

基于单片机的身高体重测量仪毕业设计.pdf

  1. 1、本文档共47页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
课程设计说明书 Kechengshejishuomingshu 地 市: 准考证号: 姓 名: 李奥华 河南省高等教育自学考试 基于单片机的身高体重测量仪 摘 要 本文介绍了一个基于单片机的身高体重测量仪,本设计以单片机为平台,利用金属应 变片来感应人体的重量,传感器输出模拟量经 AD 转换器转换成数字量传入单片机。利用 超声波在介质中传播速度固定的原理可由超声波在空气中的传播时间算出传播距离,实现 身高的测量。通过串口电路实现了单片机与上位机的通信。本设计硬件电路包括电源电路、 单片机最小系统电路、液晶屏电路、串口通信电路、独立按键电路、蜂鸣器电路、超声波 模块电路、AD 转换器电路和全桥电路。软件部分包括主程序、系统初始化程序、AD 转换 器通信程序、按键检测程序、超声波信号发射及接收程序、液晶屏驱动程序。 本设计可以同时测量人体的身高和体重,还可以将所测数据自动编号发送到上位机上 显示或以文档的形式导出并保存。基于单片机身高体重测量仪制作成本低,电路设计简单, 显示清楚,基本满足设计要求。 关键词:STC89C52;超声波;HX711;上位机 Height and weight measurement instrument based on MCU ABSTRACT This paper introduces a height and weight measurement instrument based on MCU , The design use a MCU as the platform, using metal strain gauges to induction of the weight of the human body. Because the ultrasonic propagation velocity is fixed, so according to the propagation time to calculate the propagation distance, so as to get the height information. Through the serial port MCU can communicate with the PC. The hardware circuit includes power circuit, MCU minimum system circuit, LCD circuit, serial communication circuit, independent key circuit, a buzzer circuit, ultrasonic module circuit, AD converter circuit and a full bridge circuit. The software includes the main program, the system initialization program, AD converter communication program, button detection program, the ultrasonic signal emitting and receiving procedures, LCD driver program. This design can simultaneously measure the body height and weight, and can also send data to the host computer display or derived form document and save. Height and weight measurement instrument based on MCU of low cost, simple circuit design, clear display, basically meet the design requirements. Key words :STC89C52 ;Ultrasonic ;HX711 ;Host computer

文档评论(0)

xiaojingrong + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档