stm32超声波测距

  • t5_745091
    了解作者
  • 18MB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-05-28 03:20
    上传日期
使用stm32f103的mcu使用超声波模块实现测距功能,使用串口打印。原理是声波的速度是334m/s,使用定时器获取时间,然后获取距离
超声波测距.zip
内容介绍
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta charset="utf-8"><meta name="generator" content="pdf2htmlEX"><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><link rel="stylesheet" href="https://csdnimg.cn/release/download_crawler_static/css/base.min.css"><link rel="stylesheet" href="https://csdnimg.cn/release/download_crawler_static/css/fancy.min.css"><link rel="stylesheet" href="https://csdnimg.cn/release/download_crawler_static/8670717/raw.css"><script src="https://csdnimg.cn/release/download_crawler_static/js/compatibility.min.js"></script><script src="https://csdnimg.cn/release/download_crawler_static/js/pdf2htmlEX.min.js"></script><script>try{pdf2htmlEX.defaultViewer = new pdf2htmlEX.Viewer({});}catch(e){}</script><title></title></head><body><div id="sidebar" style="display: none"><div id="outline"></div></div><div id="pf1" class="pf w0 h0" data-page-no="1"><div class="pc pc1 w0 h0"><img class="bi x0 y0 w1 h1" alt="" src="https://csdnimg.cn/release/download_crawler_static/8670717/bg1.jpg"><div class="t m0 x1 h2 y1 ff1 fs0 fc0 sc0 ls0 ws0">STM32F10xxx<span class="ff2 ls1">&#21442;&#32771;&#25163;&#20876;<span class="ff1"> </span></span></div><div class="t m0 x2 h3 y2 ff2 fs1 fc0 sc1 ls2 ws0">&#32763;&#35793;&#35828;&#26126; </div><div class="t m0 x1 h4 y3 ff1 fs0 fc0 sc0 ls1 ws0"> </div><div class="t m0 x1 h2 y4 ff2 fs0 fc0 sc0 ls3 ws0">&#26412;&#25991;&#26723;&#26159;&#20381;&#25454;<span class="ff1 fc1 ls4 ws1">STM32 Reference Manual (RM0008)</span></div><div class="t m0 x3 h2 y5 ff2 fs0 fc0 sc0 ls3 ws0">&#32763;&#35793;&#30340;&#65292;&#24050;&#32463;&#19982;<span class="ff1 ls5">2009<span class="_ _0"></span></span><span class="ls1">&#24180;<span class="_ _0"></span><span class="ff1">6<span class="_ _1"></span></span><span class="ls6">&#26376;&#30340;&#33521;&#25991;&#31532;</span><span class="ff1">9<span class="_ _1"></span></span>&#29256;<span class="_ _0"></span><span class="ff1 ls7 ws2">(Doc ID </span></span></div><div class="t m0 x1 h2 y6 ff1 fs0 fc0 sc0 ls8 ws3">13902 Rev 9)<span class="ff2 ls1 ws0">&#36827;&#34892;&#20102;&#20840;&#38754;&#26657;&#23545;&#65292;&#26356;&#27491;&#20102;&#19981;&#23569;&#20197;&#21069;&#29256;&#26412;&#30340;&#38169;&#35823;&#12290;<span class="ff1"> </span></span></div><div class="t m0 x1 h2 y7 ff2 fs0 fc0 sc0 ls9 ws0">&#22312;&#26657;&#23545;&#21363;&#23558;&#32467;&#26463;&#26102;&#65292;<span class="ff1 lsa">ST</span><span class="ls1">&#20110;<span class="_ _1"></span><span class="ff1 ls5">2009</span>&#24180;<span class="ff1 ls5">12</span></span>&#26376;&#20013;&#26092;&#21448;&#21457;<span class="_ _2"></span>&#24067;&#20102;&#33521;&#25991;&#31532;<span class="ff1 lsb">10</span><span class="ls1">&#29256;<span class="ff1 lsc ws4">(Doc ID 13902 Rev <span class="_ _2"></span>10)</span></span>&#65292;&#20026;&#20102;&#19982;<span class="_ _2"></span>&#26368;&#26032;&#30340;</div><div class="t m0 x1 h2 y8 ff2 fs0 fc0 sc0 ls1 ws0">&#33521;&#25991;&#29256;&#21516;&#27493;&#65292;&#25105;&#20204;&#25353;&#29031;<span class="_ _2"></span>&#33521;&#25991;&#31532;<span class="ff1 ls5">10</span>&#29256;&#32467;&#23614;&#30340;<span class="ff1">&#8221;<span class="_ _2"></span></span>&#25991;&#26723;&#29256;&#26412;&#21382;&#21490;<span class="ff1">&#8221;</span>&#20013;&#30340;&#25351;&#31034;<span class="_ _2"></span>&#65292;&#22312;&#32763;&#35793;&#30340;&#25991;&#26723;&#20013;&#24555;&#36895;<span class="_ _2"></span>&#22320;&#26657;&#23545;&#26356;&#27491;&#20102;&#23545;</div><div class="t m0 x1 h2 y9 ff2 fs0 fc0 sc0 lsd ws0">&#24212;&#30340;&#37096;&#20998;&#12290;&#30001;&#20110;&#26102;&#38388;&#30340;&#20851;&#31995;&#65292;&#27809;&#26377;&#36880;&#23383;&#36880;&#21477;&#22320;<span class="_ _2"></span>&#25353;&#29031;&#33521;&#25991;&#31532;<span class="ff1 lsb">10</span>&#29256;&#36827;&#34892;&#36890;&#31687;&#26657;&#23545;&#65292;&#37492;&#20110;&#33455;&#29255;&#26412;&#36523;&#27809;<span class="_ _2"></span>&#26377;&#25913;&#21464;&#65292;</div><div class="t m0 x1 h2 ya ff2 fs0 fc0 sc0 lse ws0">&#25105;&#20204;&#30456;&#20449;&#38500;&#20102;<span class="ff1 ls1">&#8221;</span>&#25991;&#26723;&#29256;&#26412;&#21382;&#21490;<span class="ff1 ls1">&#8221;<span class="_ _2"></span></span>&#20013;&#25351;&#20986;&#30340;&#24046;&#21035;&#22806;&#65292;&#33521;&#25991;&#31532;<span class="ff1 ls5">10<span class="_ _2"></span></span>&#29256;&#19982;&#33521;&#25991;&#31532;<span class="ff1 ls1">9</span>&#29256;<span class="_ _2"></span>&#19981;&#20250;&#20877;&#26377;&#26356;&#22810;&#30340;&#21464;&#21270;&#65292;&#36930;&#23450;&#31295;&#29616;</div><div class="t m0 x1 h2 yb ff2 fs0 fc0 sc0 ls1 ws0">&#22312;&#36825;&#20010;&#32763;&#35793;&#29256;&#26412;&#20026;&#23545;&#24212;&#30340;&#20013;&#25991;&#31532;<span class="ff1 ls5">10</span>&#29256;&#25991;&#26723;&#12290;<span class="ff1"> </span></div><div class="t m0 x1 h2 yc ff2 fs0 fc0 sc0 lsf ws0">&#30001;&#20110;&#25105;&#20204;&#30340;&#27700;&#24179;&#26377;&#38480;&#20197;<span class="_ _3"></span>&#21450;&#25991;&#26723;&#31687;&#24133;&#30340;&#24222;&#22823;&#65292;&#32763;<span class="_ _3"></span>&#35793;&#30340;&#36807;&#31243;&#20013;&#38590;&#20813;&#20250;&#26377;&#38169;<span class="_ _3"></span>&#35823;&#21644;&#36951;&#28431;&#30340;&#22320;&#26041;&#65292;&#24076;&#26395;<span class="_ _3"></span>&#24191;&#22823;&#35835;&#32773;&#20204;</div><div class="t m0 x1 h2 yd ff2 fs0 fc0 sc0 lsf ws0">&#33021;&#22815;&#21450;&#26102;&#21521;&#25105;&#20204;&#21453;&#39304;&#24744;<span class="_ _3"></span>&#22312;&#38405;&#35835;&#26399;&#38388;&#25152;&#21457;&#29616;&#30340;&#38169;<span class="_ _3"></span>&#35823;&#21644;&#38382;&#39064;&#65292;&#25105;&#20204;&#20250;&#23613;&#24555;<span class="_ _3"></span>&#22312;&#19979;&#19968;&#20010;&#29256;&#26412;&#20013;&#26356;&#27491;&#12290;<span class="_ _3"></span>&#24744;&#21487;&#20197;&#21457;&#37038;</div><div class="t m0 x1 h2 ye ff2 fs0 fc0 sc0 ls1 ws0">&#20214;&#21040;<span class="ff1 fc1 ls10">mcu.china@st.com</span></div><div class="t m0 x4 h2 yf ff2 fs0 fc0 sc0 ls1 ws0">&#21521;&#25105;&#20204;&#25552;&#20986;&#24744;&#30340;&#24847;&#35265;&#21644;&#24314;&#35758;&#65292;&#35874;&#35874;&#12290;<span class="ff1"> </span></div><div class="t m0 x1 h4 y10 ff1 fs0 fc0 sc0 ls1 ws0"> </div><div class="t m0 x5 h2 y11 ff2 fs0 fc0 sc0 ls1 ws0">&#24847;&#27861;&#21322;&#23548;&#20307;<span class="ff1">(</span>&#20013;&#22269;<span class="ff1">)</span>&#25237;&#36164;&#26377;&#38480;&#20844;&#21496;<span class="ff1"> </span></div><div class="t m0 x6 h2 y12 ff1 fs0 fc0 sc0 ls11 ws0">MCU<span class="ff2 ls1">&#25216;&#26415;&#25903;&#25345;<span class="ff1"> </span></span></div><div class="t m0 x7 h2 y13 ff1 fs0 fc0 sc0 ls5 ws0">2010<span class="ff2 ls1">&#24180;<span class="ff1">1</span>&#26376;</span><span class="lsb">10<span class="ff2 ls1">&#26085;<span class="ff1"> </span></span></span></div><div class="t m0 x8 h5 y14 ff2 fs2 fc0 sc0 ls1 ws0">&#21442;&#29031;<span class="ff1 ls12">2009</span>&#24180;<span class="ff1 ls12">12</span>&#26376;<span class="ff1 ls13 ws5"> RM0008 Reference Ma<span class="_ _2"></span>nual </span>&#33521;&#25991;&#31532;<span class="ff1 ls12">10</span>&#29256;<span class="ff1"> </span></div><div class="t m0 x4 h5 y15 ff2 fs2 fc2 sc0 ls1 ws0">&#26412;&#35793;&#25991;&#20165;&#20379;&#21442;&#32771;&#65292;&#22914;&#26377;&#32763;&#35793;&#38169;&#35823;&#65292;&#35831;&#20197;&#33521;&#25991;&#21407;&#31295;&#20026;&#20934;&#12290;&#35831;&#35835;&#32773;&#38543;&#26102;&#27880;&#24847;&#22312;<span class="ff1 ls14">ST</span>&#32593;&#31449;&#19979;&#36733;&#26356;&#26032;&#29256;&#26412;<span class="ff1 fc0"> </span></div><a class="l" rel='nofollow' onclick='return false;'><div class="d m1"></div></a><a class="l" rel='nofollow' onclick='return false;'><div class="d m1"></div></a></div><div class="pi" data-data='{"ctm":[1.611639,0.000000,0.000000,1.611639,0.000000,0.000000]}'></div></div></body></html>
评论
    相关推荐
    • stm32_mcu+rda5876_bluetooth
      天喻 stm32mcu+rda5876蓝牙做的银行支付key,刷卡加密。
    • STM32F103 例程
      包括STM32F103系列MCU开发所需要的各种例程,非常适合于STM32F103系列MCU初学者下载使用 可供参考
    • stm32的FreeRTOS
      FreeRTOS 的组件包括调度器,内存管理单元及任务间通讯方法,当然还提供可选的软件定时器...文中提供的信息是以 STM32F407(Cortex-M4 内核)为硬件,IAR 编译选项开到最高,FreeRTOS 采 用最新的 v8.0.0 来进行测试的
    • STM32 MCU/MPU 选型工具
      STM32公司官方出品的最新选型工具(2020年),和其官网的在线选型工具界面基本一样,在PC上可以安装,设计或选型采购参考非常方便,有需要来。
    • STM32 ISP 软件
      使得STM32 MCU 可以象51一样用串口直接下载代码.
    • FlyMcu STM32程序下载软件串口
      FlyMcu下载软件,用于串口下载 STM32程序
    • stm32F0例程
      stm32f0系列官方历程,包括F0系列所以MCU,以及各种模块例程
    • STM32历年MCU DAY资料
      包含2007到2017年STM32 MCU DAY的资料,可以清晰看到历年品种系列的变化和介绍,对选型有参考意义
    • UM0427_基于ARM的32位MCU STM32F101xx 和 STM32F103xx固件库 20181126
      UM0427_基于ARM的32位MCU STM32F101xx 和 STM32F103xx固件库
    • GaussDB_100_1.0.1-DATABASE-REDHAT-64bit.tar.gz
      guassdb100在redhat上安装包,单机部署的包,安装步骤请看我的文中介绍,经过大量实验搭建总结出来的文档