【E1780】STM32F103C8T6测试MPU6050串口输出 九轴姿态传感器源码

2021-10-26 10:04:40      索炜达电子      527     

项目编号:E1780

文件大小:297K

源码说明:带中文注释

开发环境:C编译器

简要概述:

在网上找了好久,没找到合适的,后来就自己参照资料写了一个,用的最新版的keil5编写,库也是最新的。PB6、PB7为IIC接口读取,PA9、PA10串口输出数据,效果如图,三轴加速已经校准过,数据还算灵敏,eg:98代表加速度为9.8m/s 2 陀螺仪已经能够正常读取,数据还未调校。有中文注释,自行下载研究!!

【E1780】STM32F103C8T6测试MPU6050串口输出 九轴姿态传感器源码

目录│文件列表:

 └ 九轴姿态传感器STM32F103C8T6串口程序

    │ keilkilll.bat

    │ README.TXT

    ├ CORE

    │  │ core_cm3.c

    │  │ core_cm3.h

    │  │ startup_stm32f10x_hd.s

    │  └ startup_stm32f10x_md.s

    ├ OBJ

    │  └ Template.hex

    ├ STM32F10x_FWLib

    │  ├ inc

    │  │  │ misc.h

    │  │  │ stm32f10x_adc.h

    │  │  │ stm32f10x_bkp.h

    │  │  │ stm32f10x_can.h

    │  │  │ stm32f10x_cec.h

    │  │  │ stm32f10x_crc.h

    │  │  │ stm32f10x_dac.h

    │  │  │ stm32f10x_dbgmcu.h

    │  │  │ stm32f10x_dma.h

    │  │  │ stm32f10x_exti.h

    │  │  │ stm32f10x_flash.h

    │  │  │ stm32f10x_fsmc.h

    │  │  │ stm32f10x_gpio.h

    │  │  │ stm32f10x_i2c.h

    │  │  │ stm32f10x_iwdg.h

    │  │  │ stm32f10x_pwr.h

    │  │  │ stm32f10x_rcc.h

    │  │  │ stm32f10x_rtc.h

    │  │  │ stm32f10x_sdio.h

    │  │  │ stm32f10x_spi.h

    │  │  │ stm32f10x_tim.h

    │  │  │ stm32f10x_usart.h

    │  │  └ stm32f10x_wwdg.h

    │  └ src

    │     │ misc.c

    │     │ stm32f10x_adc.c

    │     │ stm32f10x_bkp.c

    │     │ stm32f10x_can.c

    │     │ stm32f10x_cec.c

    │     │ stm32f10x_crc.c

    │     │ stm32f10x_dac.c

    │     │ stm32f10x_dbgmcu.c

    │     │ stm32f10x_dma.c

    │     │ stm32f10x_exti.c

    │     │ stm32f10x_flash.c

    │     │ stm32f10x_fsmc.c

    │     │ stm32f10x_gpio.c

    │     │ stm32f10x_i2c.c

    │     │ stm32f10x_iwdg.c

    │     │ stm32f10x_pwr.c

    │     │ stm32f10x_rcc.c

    │     │ stm32f10x_rtc.c

    │     │ stm32f10x_sdio.c

    │     │ stm32f10x_spi.c

    │     │ stm32f10x_tim.c

    │     │ stm32f10x_usart.c

    │     └ stm32f10x_wwdg.c

    ├ SYSTEM

    │  ├ delay

    │  │  │ delay.c

    │  │  └ delay.h

    │  ├ sys

    │  │  │ sys.c

    │  │  └ sys.h

    │  └ usart

    │     │ usart.c

    │     └ usart.h

    └ USER

       │ EventRecorderStub.scvd

       │ JLinkSettings.ini

       │ main.c

       │ stm32f10x.h

       │ stm32f10x_conf.h

       │ stm32f10x_it.c

       │ stm32f10x_it.h

       │ system_stm32f10x.c

       │ system_stm32f10x.h

       │ Template.uvguix.17381

       │ Template.uvguix.Administrator

       │ Template.uvoptx

       │ Template.uvprojx

       └ DebugConfig

          │ Template_STM32F103C8_1.0.0.dbgconf

          └ Template_STM32F103RC_1.0.0.dbgconf

TAGSTM32F103C8T6
  • 11 次
  • 1 分