实验器材:
探索者STM32F4开发板
实验目的:
学习定时器的输入捕获功能
硬件资源:
1,DS0(连接在PF9)
2,KEY_UP按键(PA0)
3,定时器5(TIM5),TIM5的通道1(TIM5_CH1,连接在PA0上面),使用定时器的输入捕获功能来
捕捉PA0上面的高电平脉宽.
实验现象:
本实验利用TIM5_CH1来做输入捕获,我们将捕获PA0上的高电平脉宽,并将脉宽时间通过串
口打印出来,大家可以通过按WK_UP按键,模拟输入高电平。同时,本实验将保留上一个实
验的PWM输出,DS0还是会由暗-->亮的循环变化,大家可以通过杜邦线连接PA0和PF9,来观
测PWM输出的高电平时间。
注意事项:
1,串口波特率要设置为115200.
正点原子@ALIENTEK
2014-10-25
广州市星翼电子科技有限公司
电话:020-38271790
传真:020-36773971
购买:http://shop62103354.taobao.com
http://shop62057469.taobao.com
公司网站:www.alientek.com
技术论坛:www.openedv.com
没有合适的资源?快使用搜索试试~ 我知道了~
stm32f407超声波测距串口显示.zip_STM32F407 串口_grandmotherefv_stm32 f407超声波
共156个文件
h:45个
c:45个
d:16个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
2 下载量 52 浏览量
2022-07-14
05:16:48
上传
评论
收藏 4.06MB ZIP 举报
温馨提示
基于stm32f407的超声波模块测距,用串口显示,使用keil5编写,语言为C
资源详情
资源评论
资源推荐
收起资源包目录
stm32f407超声波测距串口显示.zip_STM32F407 串口_grandmotherefv_stm32 f407超声波 (156个子文件)
ICAPTURE.uvguix.Administrator 68KB
ICAPTURE.axf 389KB
keilkilll.bat 399B
stm32f4xx_tim.c 122KB
stm32f4xx_rtc.c 100KB
stm32f4xx_rcc.c 97KB
stm32f4xx_adc.c 67KB
stm32f4xx_flash.c 62KB
stm32f4xx_can.c 59KB
stm32f4xx_cryp_aes.c 57KB
stm32f4xx_usart.c 57KB
stm32f4xx_fmc.c 55KB
stm32f4xx_i2c.c 53KB
stm32f4xx_dma.c 52KB
stm32f4xx_spi.c 51KB
system_stm32f4xx.c 47KB
stm32f4xx_sai.c 45KB
stm32f4xx_fsmc.c 41KB
stm32f4xx_ltdc.c 39KB
stm32f4xx_sdio.c 38KB
stm32f4xx_pwr.c 37KB
stm32f4xx_cryp.c 35KB
stm32f4xx_dma2d.c 27KB
stm32f4xx_dac.c 26KB
stm32f4xx_hash.c 26KB
stm32f4xx_gpio.c 25KB
stm32f4xx_dcmi.c 18KB
stm32f4xx_rng.c 14KB
misc.c 11KB
stm32f4xx_cryp_tdes.c 10KB
stm32f4xx_wwdg.c 10KB
stm32f4xx_exti.c 10KB
stm32f4xx_cryp_des.c 10KB
stm32f4xx_hash_sha1.c 10KB
stm32f4xx_hash_md5.c 9KB
stm32f4xx_syscfg.c 9KB
stm32f4xx_iwdg.c 9KB
delay.c 8KB
stm32f4xx_dbgmcu.c 7KB
timer.c 6KB
stm32f4xx_flash_ramfunc.c 5KB
usart.c 5KB
stm32f4xx_it.c 4KB
stm32f4xx_crc.c 4KB
main.c 1KB
led.c 1KB
sys.c 1KB
distance.c 869B
stm32f4xx_tim.crf 443KB
stm32f4xx_rcc.crf 434KB
distance.crf 431KB
timer.crf 430KB
main.crf 429KB
usart.crf 429KB
stm32f4xx_usart.crf 428KB
stm32f4xx_gpio.crf 425KB
delay.crf 425KB
system_stm32f4xx.crf 425KB
led.crf 424KB
sys.crf 424KB
stm32f4xx_syscfg.crf 424KB
misc.crf 423KB
stm32f4xx_it.crf 423KB
stm32f4xx_syscfg.d 2KB
stm32f4xx_usart.d 2KB
distance.d 2KB
stm32f4xx_gpio.d 2KB
system_stm32f4xx.d 2KB
stm32f4xx_rcc.d 2KB
stm32f4xx_tim.d 2KB
stm32f4xx_it.d 2KB
main.d 2KB
timer.d 2KB
usart.d 2KB
delay.d 2KB
led.d 2KB
misc.d 2KB
sys.d 2KB
startup_stm32f40_41xxx.d 67B
ICAPTURE_STM32F407ZG.dbgconf 2KB
ICAPTURE_ICAPTURE.dep 30KB
stm32f4xx.h 688KB
core_cm4.h 107KB
stm32f4xx_tim.h 50KB
stm32f4xx_fmc.h 44KB
stm32f4xx_rtc.h 40KB
stm32f4xx_adc.h 32KB
stm32f4xx_i2c.h 31KB
stm32f4xx_rcc.h 29KB
stm32f4xx_dma.h 28KB
stm32f4xx_can.h 27KB
stm32f4xx_fsmc.h 27KB
stm32f4xx_sai.h 25KB
stm32f4xx_flash.h 24KB
stm32f4xx_gpio.h 23KB
stm32f4xx_sdio.h 22KB
core_cm4_simd.h 22KB
stm32f4xx_ltdc.h 21KB
stm32f4xx_spi.h 21KB
core_cmInstr.h 20KB
共 156 条
- 1
- 2
alvarocfc
- 粉丝: 112
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0