Skip to content

eiffelpeter/stm32_mpu6050_dumbbell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Install Keil

link

Install STM32 tools

STM32CubeMX

Clone code

git clone --recursive --depth 1 --branch v1.11.5 https://github.com/STMicroelectronics/STM32CubeF0.git
git clone https://github.com/eiffelpeter/stm32_mpu6050_dumbbell.git

Connect stm32 nucleo-F030R8 and mpu6050

IMAGE ALT TEXT HERE

Pin connection for test

Item pin
I2C SCL PB6
I2C SDA PB7

Generate code by STM32CubeMX

open stm32_mpu6050_dumbbell.ioc then generate code.
select NO download firmware package.

Build and program it

open stm32_mpu6050_dumbbell.uvprojx by Keil.
config imu USE_BNO055 or USE_MPU6050 in main.h.
build and program stm32.

Open console log

baud rate 115200.
IMAGE ALT TEXT HERE

About

count dumbbell up down by stm32 and mpu6050

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published