- 1、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
--超声波测距模块--测距--最简单的c代码(- Ultrasonic Ranging Module - ranging - the simplest c code)
--超声波测距模块--测距--最简单的c代码(- Ultrasonic Ranging Module - ranging - the simplest c code) I am * freshman electronic professional, because the school this semester is not the creation of relevant professional courses, all is now self SCM Technology Co.,, without temperature compensation, digital tube display with no latch chip, with a C language master write the most easy to read and can run effectively the microcontroller program is written to their most simple code, please dont laugh at me. O (a _ U) O*/ * because always want to try a few days ago to buy ultrasonic ranging, so the ultrasonic module HC-R4, the Internet to find a principle (the principle is very simple), then try to write their own code, the following code basically is to come out of their own, have no reference to others, not to say that I dont want to refer to someone else, but because a lot of online master but they write the code I basically have a lot cannot read ah, so the following program should have a lot of room for improvement. * / The basic working principle of ultrasonic module / * (data from online to share): (1) IO TRIG is used to trigger ranging, and at least 10us high level signal is given; (2) the module automatically sends 8 40KHz Fang Bo, automatically detects whether there is a signal to return; (3) there is a signal to return, through the IO port ECHO output a high level, the duration of the ultrasonic wave from the launch to the return time. Test distance = (high level time * speed of sound (340M/S)) /2; It is very simple to use, a control port with a 10us above high level, you can wait for the high level output on the receiving port. An output can open the timer, when this port is low we can read the timer value, then the ranging time, can calculate the distance this constant cycle. That is, can achieve the measurement of the value of mobile. * / /****************************************************************************************************************************************
您可能关注的文档
- 集血标本流程和语言沟通.doc
- 青春qq网名大全.doc
- 非主流伤感qq签名 舍不得丢掉残留温度.doc
- 非主流文化对当代服装设计理念渗透.pdf
- 非居民企业承包工程作业与提供劳务享受税收协定待遇报告表.doc
- 非木材资源现状和可用性_二_.pdf
- 面临失传河北独有美食.pdf
- 面对这些找工作问题.doc
- 零售业变化和未来发展趋势.pdf
- 面授记忆培训讲师应该注意一些备课细节.pdf
- 0-1岁宝宝的妈妈应该做的事(0-1 year old baby's mother should do).doc
- 0-24个月宝宝早教(0-24 months baby early education).doc
- 0-3岁早期教育指导(0-3 years old early education guidance).doc
- 001--9129宠物名字速查(Quick 001--9129 pet name).doc
- 005世界十大偶然发现(The ten great discovery of the 005 world).doc
- 009_变(009_ change).doc
- 00775历史教育学 自考(00775 history Pedagogy).doc
- (双语美文)偷曲奇饼的人((Bilingual) someone who steals cookies).doc
- 010年各地公务员报考时间和考试科目一览表(010 years around the civil service examination time and examination subjects list).doc
- 01寻ねる 确かめる(询问 确认)1(确 01 寻 springs of 询问 recognizing a tender).doc
最近下载
- 2023会计年终工作述职报告7篇.docx VIP
- 法语语法总结ppt课件.pdf VIP
- 6《除法》单元整体设计 北师大四年级数学上册 .pdf VIP
- 小学生竞选大队干部演讲稿优秀.pptx VIP
- FSSC22000V6.0体系文件清单.docx VIP
- 情绪觉察水平量表.pdf VIP
- 20210916-IBM商业价值研究院-人工智能:应对AI数据困境:恰当的数据集成方法、治理和工具.pdf VIP
- DBJ50-T-185-2019_增强型改性发泡水泥保温板建筑保温系统应用技术标准.docx VIP
- SOP-QR-141MSA测量系统分析作业办法.doc VIP
- 几种常见医院感染.docx VIP
文档评论(0)