stm32cubemx软件iic读取mpu6050dmp通过串口1打印欧拉角

上传者: master200 | 上传时间: 2020-12-28 14:09:48 | 文件大小: 608KB | 文件类型: ZIP
cubemx生成hal库的f103c8t6工程,通过IIC读取mpu6050,通过dmp计算欧拉角,通过串口1(波特率15200)打印出数据,目前只打印pitch,可以自己修改,引脚信息可以自己在cubemx看。其中IIC驱动移植于野火,可以通过修改四个宏定义实现引脚更换,mpu6050和dmp移植于原子。已经测试可以使用,有问题欢迎交流!

文件下载

资源详情

[{"title":"( 85 个子文件 608KB ) stm32cubemx软件iic读取mpu6050dmp通过串口1打印欧拉角","children":[{"title":"MPU6050_DMP","children":[{"title":"MyCode","children":[{"title":"IIC","children":[{"title":"IIC.h <span style='color:#111;'> 385B </span>","children":null,"spread":false},{"title":"IIC.c <span style='color:#111;'> 8.43KB </span>","children":null,"spread":false}],"spread":true},{"title":"MPU6050","children":[{"title":"eMPL","children":[{"title":"inv_mpu.h <span style='color:#111;'> 4.77KB </span>","children":null,"spread":false},{"title":"inv_mpu.c <span style='color:#111;'> 88.11KB </span>","children":null,"spread":false},{"title":"dmpKey.h <span style='color:#111;'> 18.89KB </span>","children":null,"spread":false},{"title":"inv_mpu_dmp_motion_driver.h <span style='color:#111;'> 3.46KB </span>","children":null,"spread":false},{"title":"dmpmap.h <span style='color:#111;'> 6.61KB </span>","children":null,"spread":false},{"title":"inv_mpu_dmp_motion_driver.c <span style='color:#111;'> 57.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"mpu6050.c <span style='color:#111;'> 6.42KB </span>","children":null,"spread":false},{"title":"mpu6050.h <span style='color:#111;'> 5.16KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Inc","children":[{"title":"usart.h <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_conf.h <span style='color:#111;'> 15.65KB </span>","children":null,"spread":false},{"title":"gpio.h <span style='color:#111;'> 1.48KB </span>","children":null,"spread":false},{"title":"main.h <span style='color:#111;'> 2.28KB </span>","children":null,"spread":false},{"title":"stm32f1xx_it.h <span style='color:#111;'> 2.06KB </span>","children":null,"spread":false}],"spread":true},{"title":".mxproject <span style='color:#111;'> 5.92KB </span>","children":null,"spread":false},{"title":"NEW_F103C8.ioc <span style='color:#111;'> 4.30KB </span>","children":null,"spread":false},{"title":"MDK-ARM","children":[{"title":"RTE","children":[{"title":"_NEW_F103C8","children":[{"title":"RTE_Components.h <span style='color:#111;'> 352B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"NEW_F103C8.uvoptx <span style='color:#111;'> 17.27KB </span>","children":null,"spread":false},{"title":"EventRecorderStub.scvd <span style='color:#111;'> 339B </span>","children":null,"spread":false},{"title":"startup_stm32f103xb.s <span style='color:#111;'> 12.19KB </span>","children":null,"spread":false},{"title":"NEW_F103C8.uvprojx <span style='color:#111;'> 19.53KB </span>","children":null,"spread":false},{"title":"NEW_F103C8","children":[{"title":"NEW_F103C8.hex <span style='color:#111;'> 63.05KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Src","children":[{"title":"usart.c <span style='color:#111;'> 3.58KB </span>","children":null,"spread":false},{"title":"system_stm32f1xx.c <span style='color:#111;'> 14.76KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_msp.c <span style='color:#111;'> 2.46KB </span>","children":null,"spread":false},{"title":"gpio.c <span style='color:#111;'> 2.52KB </span>","children":null,"spread":false},{"title":"stm32f1xx_it.c <span style='color:#111;'> 5.44KB </span>","children":null,"spread":false},{"title":"main.c <span style='color:#111;'> 5.76KB </span>","children":null,"spread":false}],"spread":true},{"title":"keilkill.bat <span style='color:#111;'> 401B </span>","children":null,"spread":false},{"title":"Drivers","children":[{"title":"CMSIS","children":[{"title":"Include","children":[{"title":"core_cm3.h <span style='color:#111;'> 109.23KB </span>","children":null,"spread":false},{"title":"core_cm33.h <span style='color:#111;'> 171.48KB </span>","children":null,"spread":false},{"title":"cmsis_armcc.h <span style='color:#111;'> 27.55KB </span>","children":null,"spread":false},{"title":"tz_context.h <span style='color:#111;'> 2.69KB </span>","children":null,"spread":false},{"title":"mpu_armv8.h <span style='color:#111;'> 10.70KB </span>","children":null,"spread":false},{"title":"core_cm1.h <span style='color:#111;'> 42.44KB </span>","children":null,"spread":false},{"title":"cmsis_gcc.h <span style='color:#111;'> 60.88KB </span>","children":null,"spread":false},{"title":"core_cm4.h <span style='color:#111;'> 120.71KB </span>","children":null,"spread":false},{"title":"cmsis_armclang.h <span style='color:#111;'> 55.17KB </span>","children":null,"spread":false},{"title":"core_cm7.h <span style='color:#111;'> 145.11KB </span>","children":null,"spread":false},{"title":"cmsis_compiler.h <span style='color:#111;'> 8.80KB </span>","children":null,"spread":false},{"title":"core_armv8mml.h <span style='color:#111;'> 164.96KB </span>","children":null,"spread":false},{"title":"core_cm0plus.h <span style='color:#111;'> 49.28KB </span>","children":null,"spread":false},{"title":"core_sc300.h <span style='color:#111;'> 107.93KB </span>","children":null,"spread":false},{"title":"mpu_armv7.h <span style='color:#111;'> 11.44KB </span>","children":null,"spread":false},{"title":"cmsis_version.h <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false},{"title":"core_armv8mbl.h <span style='color:#111;'> 95.70KB </span>","children":null,"spread":false},{"title":"core_cm23.h <span style='color:#111;'> 102.18KB </span>","children":null,"spread":false},{"title":"cmsis_iccarm.h <span style='color:#111;'> 27.75KB </span>","children":null,"spread":false},{"title":"core_sc000.h <span style='color:#111;'> 46.14KB </span>","children":null,"spread":false},{"title":"core_cm0.h <span style='color:#111;'> 41.22KB </span>","children":null,"spread":false}],"spread":false},{"title":"Device","children":[{"title":"ST","children":[{"title":"STM32F1xx","children":[{"title":"Source","children":[{"title":"Templates","children":null,"spread":false}],"spread":true},{"title":"Include","children":[{"title":"system_stm32f1xx.h <span style='color:#111;'> 1.98KB </span>","children":null,"spread":false},{"title":"stm32f103xb.h <span style='color:#111;'> 833.29KB </span>","children":null,"spread":false},{"title":"stm32f1xx.h <span style='color:#111;'> 7.31KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"STM32F1xx_HAL_Driver","children":[{"title":"Inc","children":[{"title":"stm32f1xx_hal_def.h <span style='color:#111;'> 7.01KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_rcc.h <span style='color:#111;'> 66.65KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_rcc_ex.h <span style='color:#111;'> 98.94KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_gpio_ex.h <span style='color:#111;'> 35.38KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal.h <span style='color:#111;'> 11.32KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_tim.h <span style='color:#111;'> 112.72KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_uart.h <span style='color:#111;'> 42.35KB </span>","children":null,"spread":false},{"title":"Legacy","children":[{"title":"stm32_hal_legacy.h <span style='color:#111;'> 200.01KB </span>","children":null,"spread":false}],"spread":false},{"title":"stm32f1xx_hal_pwr.h <span style='color:#111;'> 11.81KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_dma.h <span style='color:#111;'> 17.79KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_gpio.h <span style='color:#111;'> 11.77KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_exti.h <span style='color:#111;'> 11.93KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_cortex.h <span style='color:#111;'> 17.14KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_flash_ex.h <span style='color:#111;'> 36.11KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_dma_ex.h <span style='color:#111;'> 12.54KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_flash.h <span style='color:#111;'> 9.11KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_tim_ex.h <span style='color:#111;'> 9.55KB </span>","children":null,"spread":false}],"spread":false},{"title":"Src","children":[{"title":"stm32f1xx_hal_gpio_ex.c <span style='color:#111;'> 4.15KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_exti.c <span style='color:#111;'> 15.39KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_flash.c <span style='color:#111;'> 29.55KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal.c <span style='color:#111;'> 20.17KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_tim.c <span style='color:#111;'> 213.12KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_rcc_ex.c <span style='color:#111;'> 30.16KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_pwr.c <span style='color:#111;'> 21.04KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_tim_ex.c <span style='color:#111;'> 63.54KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_cortex.c <span style='color:#111;'> 18.91KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_uart.c <span style='color:#111;'> 110.41KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_gpio.c <span style='color:#111;'> 20.97KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_flash_ex.c <span style='color:#111;'> 36.27KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_dma.c <span style='color:#111;'> 27.82KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_rcc.c <span style='color:#111;'> 49.12KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • shugky :
    无法正常使用
    2021-05-21
  • 账号密码 :
    来还愿,乖乖,这个能用,太感动了
    2021-03-27
  • zhonghanmei :
    HAL_Delay会进入死循环,不能使用?
    2021-01-27
  • Mr.li❤️ :
    下载不进去找不到cortexM3 怎么回事我也是c8t6
    2020-11-17

免责申明

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