This research project showcases the development of a sophisticated motion tracking system involving a 32-bit microcontroller (STM32H723ZGT) with ARM processor and a MEMS sensor module with gyroscope and accelerometer (MPU6050). Datasheet of the MEMS module was thoroughly studied and its registers were manipulated through I2C, to set data sampling frequency, interrupt pin configuration, FIFO buffer and gyroscope scale. A control system was designed and implemented to follow the motion of the IMU using a servo motor as an actuator.
STM32, MPU6050, Gyroscope, Motion Tracking, Register Manipulation, Device Driver, HAL, I2C, Timer, Interrupt, Cube IDE, Servo Motor, Struct, Embedded C/C++