stm32串口、按键控制dht11

上传者: crabxd | 上传时间: 2023-11-14 23:23:25 | 文件大小: 15.86MB | 文件类型: ZIP
通过stm32串口和按键控制dht11,当通过串口发送“open”字符串后,dht11开始采集,并将采集到的数据通过重定向的printf打印出来,通过串口助手可以看到相应的数据。按下对应的按键也可以完成同样的操作。 需要注意的是,需要修改对应的引脚,否则可能无法正常运行。

文件下载

资源详情

[{"title":"( 286 个子文件 15.86MB ) stm32串口、按键控制dht11","children":[{"title":"M4_407.axf <span style='color:#111;'> 382.66KB </span>","children":null,"spread":false},{"title":"stm32f4xx_rcc.c <span style='color:#111;'> 133.49KB </span>","children":null,"spread":false},{"title":"stm32f4xx_tim.c <span style='color:#111;'> 121.34KB </span>","children":null,"spread":false},{"title":"stm32f4xx_rtc.c <span style='color:#111;'> 100.32KB </span>","children":null,"spread":false},{"title":"stm32f4xx_dfsdm.c <span style='color:#111;'> 84.34KB </span>","children":null,"spread":false},{"title":"stm32f4xx_adc.c <span style='color:#111;'> 66.98KB </span>","children":null,"spread":false},{"title":"stm32f4xx_can.c <span style='color:#111;'> 64.72KB </span>","children":null,"spread":false},{"title":"stm32f4xx_flash.c <span style='color:#111;'> 61.77KB </span>","children":null,"spread":false},{"title":"stm32f4xx_fmc.c <span style='color:#111;'> 60.63KB </span>","children":null,"spread":false},{"title":"stm32f4xx_dsi.c <span style='color:#111;'> 60.04KB </span>","children":null,"spread":false},{"title":"system_stm32f4xx.c <span style='color:#111;'> 59.12KB </span>","children":null,"spread":false},{"title":"stm32f4xx_cryp_aes.c <span style='color:#111;'> 56.18KB </span>","children":null,"spread":false},{"title":"stm32f4xx_fmpi2c.c <span style='color:#111;'> 56.18KB </span>","children":null,"spread":false},{"title":"stm32f4xx_usart.c <span style='color:#111;'> 56.12KB </span>","children":null,"spread":false},{"title":"stm32f4xx_i2c.c <span style='color:#111;'> 52.88KB </span>","children":null,"spread":false},{"title":"stm32f4xx_spi.c <span style='color:#111;'> 51.25KB </span>","children":null,"spread":false},{"title":"stm32f4xx_dma.c <span style='color:#111;'> 51.21KB </span>","children":null,"spread":false},{"title":"stm32f4xx_sai.c <span style='color:#111;'> 47.91KB </span>","children":null,"spread":false},{"title":"stm32f4xx_fsmc.c <span style='color:#111;'> 44.61KB </span>","children":null,"spread":false},{"title":"stm32f4xx_pwr.c <span style='color:#111;'> 41.96KB </span>","children":null,"spread":false},{"title":"stm32f4xx_ltdc.c <span style='color:#111;'> 38.38KB </span>","children":null,"spread":false},{"title":"stm32f4xx_sdio.c <span style='color:#111;'> 37.58KB </span>","children":null,"spread":false},{"title":"stm32f4xx_cryp.c <span style='color:#111;'> 34.19KB </span>","children":null,"spread":false},{"title":"stm32f4xx_lptim.c <span style='color:#111;'> 33.21KB </span>","children":null,"spread":false},{"title":"stm32f4xx_qspi.c <span style='color:#111;'> 31.11KB </span>","children":null,"spread":false},{"title":"stm32f4xx_dma2d.c <span style='color:#111;'> 26.06KB </span>","children":null,"spread":false},{"title":"stm32f4xx_dac.c <span style='color:#111;'> 25.71KB </span>","children":null,"spread":false},{"title":"stm32f4xx_hash.c <span style='color:#111;'> 25.54KB </span>","children":null,"spread":false},{"title":"stm32f4xx_gpio.c <span style='color:#111;'> 24.17KB </span>","children":null,"spread":false},{"title":"stm32f4xx_cec.c <span style='color:#111;'> 23.72KB </span>","children":null,"spread":false},{"title":"stm32f4xx_dcmi.c <span style='color:#111;'> 17.87KB </span>","children":null,"spread":false},{"title":"stm32f4xx_spdifrx.c <span style='color:#111;'> 17.01KB </span>","children":null,"spread":false},{"title":"stm32f4xx_syscfg.c <span style='color:#111;'> 16.42KB </span>","children":null,"spread":false},{"title":"stm32f4xx_rng.c <span style='color:#111;'> 14.00KB </span>","children":null,"spread":false},{"title":"misc.c <span style='color:#111;'> 10.71KB </span>","children":null,"spread":false},{"title":"stm32f4xx_cryp_tdes.c <span style='color:#111;'> 10.05KB </span>","children":null,"spread":false},{"title":"stm32f4xx_wwdg.c <span style='color:#111;'> 9.78KB </span>","children":null,"spread":false},{"title":"stm32f4xx_cryp_des.c <span style='color:#111;'> 9.31KB </span>","children":null,"spread":false},{"title":"stm32f4xx_exti.c <span style='color:#111;'> 9.18KB </span>","children":null,"spread":false},{"title":"stm32f4xx_hash_sha1.c <span style='color:#111;'> 9.10KB </span>","children":null,"spread":false},{"title":"stm32f4xx_hash_md5.c <span style='color:#111;'> 8.90KB </span>","children":null,"spread":false},{"title":"stm32f4xx_iwdg.c <span style='color:#111;'> 8.66KB </span>","children":null,"spread":false},{"title":"stm32f4xx_dbgmcu.c <span style='color:#111;'> 6.18KB </span>","children":null,"spread":false},{"title":"stm32f4xx_flash_ramfunc.c <span style='color:#111;'> 4.85KB </span>","children":null,"spread":false},{"title":"usart.c <span style='color:#111;'> 3.49KB </span>","children":null,"spread":false},{"title":"stm32f4xx_crc.c <span style='color:#111;'> 3.04KB </span>","children":null,"spread":false},{"title":"led.c <span style='color:#111;'> 2.55KB </span>","children":null,"spread":false},{"title":"dht11.c <span style='color:#111;'> 2.15KB </span>","children":null,"spread":false},{"title":"key.c <span style='color:#111;'> 2.08KB </span>","children":null,"spread":false},{"title":"delay.c <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"main.c <span style='color:#111;'> 569B </span>","children":null,"spread":false},{"title":"avoid.c <span style='color:#111;'> 538B </span>","children":null,"spread":false},{"title":"fire.c <span style='color:#111;'> 513B </span>","children":null,"spread":false},{"title":"stm32f4xx_tim.crf <span style='color:#111;'> 453.94KB </span>","children":null,"spread":false},{"title":"stm32f4xx_rtc.crf <span style='color:#111;'> 451.86KB </span>","children":null,"spread":false},{"title":"stm32f4xx_ltdc.crf <span style='color:#111;'> 449.20KB </span>","children":null,"spread":false},{"title":"stm32f4xx_cryp_aes.crf <span style='color:#111;'> 447.24KB </span>","children":null,"spread":false},{"title":"stm32f4xx_sai.crf <span style='color:#111;'> 446.01KB </span>","children":null,"spread":false},{"title":"stm32f4xx_rcc.crf <span style='color:#111;'> 444.88KB </span>","children":null,"spread":false},{"title":"stm32f4xx_dma2d.crf <span style='color:#111;'> 444.23KB </span>","children":null,"spread":false},{"title":"stm32f4xx_can.crf <span style='color:#111;'> 443.01KB </span>","children":null,"spread":false},{"title":"main.crf <span style='color:#111;'> 442.08KB </span>","children":null,"spread":false},{"title":"stm32f4xx_adc.crf <span style='color:#111;'> 441.01KB </span>","children":null,"spread":false},{"title":"stm32f4xx_flash.crf <span style='color:#111;'> 440.97KB </span>","children":null,"spread":false},{"title":"stm32f4xx_dma.crf <span style='color:#111;'> 440.89KB </span>","children":null,"spread":false},{"title":"led.crf <span style='color:#111;'> 439.90KB </span>","children":null,"spread":false},{"title":"stm32f4xx_i2c.crf <span style='color:#111;'> 439.77KB </span>","children":null,"spread":false},{"title":"usart.crf <span style='color:#111;'> 439.72KB </span>","children":null,"spread":false},{"title":"stm32f4xx_cryp.crf <span style='color:#111;'> 439.54KB </span>","children":null,"spread":false},{"title":"stm32f4xx_usart.crf <span style='color:#111;'> 439.52KB </span>","children":null,"spread":false},{"title":"stm32f4xx_spi.crf <span style='color:#111;'> 439.17KB </span>","children":null,"spread":false},{"title":"stm32f4xx_sdio.crf <span style='color:#111;'> 438.34KB </span>","children":null,"spread":false},{"title":"oled.crf <span style='color:#111;'> 438.06KB </span>","children":null,"spread":false},{"title":"stm32f4xx_dac.crf <span style='color:#111;'> 437.04KB </span>","children":null,"spread":false},{"title":"stm32f4xx_pwr.crf <span style='color:#111;'> 436.77KB </span>","children":null,"spread":false},{"title":"stm32f4xx_hash.crf <span style='color:#111;'> 436.50KB </span>","children":null,"spread":false},{"title":"stm32f4xx_gpio.crf <span style='color:#111;'> 436.46KB </span>","children":null,"spread":false},{"title":"stm32f4xx_dcmi.crf <span style='color:#111;'> 436.14KB </span>","children":null,"spread":false},{"title":"stm32f4xx_cryp_tdes.crf <span style='color:#111;'> 435.85KB </span>","children":null,"spread":false},{"title":"stm32f4xx_hash_sha1.crf <span style='color:#111;'> 435.68KB </span>","children":null,"spread":false},{"title":"stm32f4xx_hash_md5.crf <span style='color:#111;'> 435.62KB </span>","children":null,"spread":false},{"title":"stm32f4xx_cryp_des.crf <span style='color:#111;'> 435.59KB </span>","children":null,"spread":false},{"title":"system_stm32f4xx.crf <span style='color:#111;'> 435.50KB </span>","children":null,"spread":false},{"title":"stm32f4xx_exti.crf <span style='color:#111;'> 434.90KB </span>","children":null,"spread":false},{"title":"stm32f4xx_syscfg.crf <span style='color:#111;'> 434.86KB </span>","children":null,"spread":false},{"title":"dht11.crf <span style='color:#111;'> 434.81KB </span>","children":null,"spread":false},{"title":"key.crf <span style='color:#111;'> 434.78KB </span>","children":null,"spread":false},{"title":"stm32f4xx_wwdg.crf <span style='color:#111;'> 434.57KB </span>","children":null,"spread":false},{"title":"fire.crf <span style='color:#111;'> 434.47KB </span>","children":null,"spread":false},{"title":"misc.crf <span style='color:#111;'> 434.43KB </span>","children":null,"spread":false},{"title":"avoid.crf <span style='color:#111;'> 434.36KB </span>","children":null,"spread":false},{"title":"stm32f4xx_rng.crf <span style='color:#111;'> 434.35KB </span>","children":null,"spread":false},{"title":"stm32f4xx_iwdg.crf <span style='color:#111;'> 434.08KB </span>","children":null,"spread":false},{"title":"stm32f4xx_dbgmcu.crf <span style='color:#111;'> 434.04KB </span>","children":null,"spread":false},{"title":"stm32f4xx_flash_ramfunc.crf <span style='color:#111;'> 434.03KB </span>","children":null,"spread":false},{"title":"stm32f4xx_crc.crf <span style='color:#111;'> 433.95KB </span>","children":null,"spread":false},{"title":"delay.crf <span style='color:#111;'> 433.93KB </span>","children":null,"spread":false},{"title":"stm32f4xx_dfsdm.crf <span style='color:#111;'> 433.56KB </span>","children":null,"spread":false},{"title":"stm32f4xx_spdifrx.crf <span style='color:#111;'> 433.50KB </span>","children":null,"spread":false},{"title":"stm32f4xx_fmpi2c.crf <span style='color:#111;'> 433.49KB </span>","children":null,"spread":false},{"title":"......","children":null,"spread":false},{"title":"<span style='color:steelblue;'>文件过多,未全部展示</span>","children":null,"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明