- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
基于单片机身高体重测量仪.doc
课程设计说明书
Kechengshejishuomingshu
地 市:
准考证号:
姓 名: 李奥华
河南省高等教育自学考试
基于单片机的身高体重测量仪
摘 要
本文了一基于单片机设计利用电源电路、单片机最小系统电路、、独立按键电路、电路可以,基本满足设计要求。关键词:STC89C52;超声波;;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:STC89C52Ultrasonic;HX711;Host computer
目 录
1 绪论 1
2 身高体重测量仪总体方案设计 2
2.1 设计方案的选定 2
2.2 身高体重测量仪的工作过程 3
3 身高体重测量仪的硬件电路设计 4
3.1 电源电路 4
3.2 单片机最小系统电路 4
3.3 串口通信电路 5
3.4 超声波模块接口电路 6
3.5 独立按键电路 6
3.6 液晶屏电路 7
3.7 蜂鸣器电路 8
3.8 HX711 AD转换器模块接口电路 8
3.9 全桥电路 9
3.10 总体硬件电路及其工作原理 10
4 软件设计 11
4.1 主函数的编写 11
4.2 系统初始化函数的编写 13
4.3 HX711 AD转换器通信函数的编写 13
4.4 按键检测函数的编写 14
4.5 超声波模块函数的编写 16
4.6 液晶屏驱动函数的编写 17
5 开发平台及调试 19
5.1 硬件的制作 19
5.2 硬件的开发平台 20
5.3 软件的调试 20
5.4 软件的开发平台 21
5.5 上位机软件 22
6 总结 23
6.1 特点 23
6.2 不足与改进 23
参考文献 24
致谢 25
附录1 26
您可能关注的文档
最近下载
- 中学地理学科课程标准与教材研究教学大纲.pdf VIP
- 中建X局各类建筑工程技术经济指标.docx VIP
- 我们的手上有多少细菌?.doc VIP
- 第一单元 观察物体 大单元教学设计2025数学人教版三年级上册(新教材).pdf
- 年东北财经大学国际商学院(校本部) 联招联考项目招生指南.pdf VIP
- 驾驶员安全生产操作规程 - 生产安全.docx VIP
- 公务员(国考)之行政职业能力测验题库附答案(基础题)收藏.docx VIP
- 全册部编版六年级上册全册道德与法治教学课件.pptx
- 第二章-空气流动压力及阻力.pptx VIP
- 2025年全国农产品质量安全检测技能竞赛理论知识考试题库(含答案.docx VIP
文档评论(0)