本科毕业设计__基于单片机的身高体重测量仪.docVIP

  • 327
  • 0
  • 约2.93万字
  • 约 45页
  • 2016-12-11 发布于辽宁
  • 举报

本科毕业设计__基于单片机的身高体重测量仪.doc

课程设计说明书 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 目  录 1 绪论 1 2 身高体重测量仪总体方案设计 2 2.1 设计方案的选定 2 2.2 身高体重测量仪的工作过程 3 3 身高体重测量仪的硬件电路设计 4 3.1 电源电路 4 3.2 单片机

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档