Skip to content

A simple code that does not use too many libraries, to control an MPU6050 chip (tested on a GY-521). By reading linear acceleration and angular velocity, orientation measurements are produced.

License

Notifications You must be signed in to change notification settings

jskoun/mpu6050-arduino-orientation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

mpu6050-arduino-orientation

A simple code that does not use too many libraries, to control an MPU6050 chip (tested on a GY-521).

  • By reading linear acceleration and angular velocity, orientation measurements are produced.
  • Because the error and offsets are generally device specific, one should first test and tweak the 6 OFFSET parameters. Also use the code to read sensor configuration and change measurement scales accordingly.

To be added:

  • Auto scaling based on reading config on startup
  • Function for OFFSET setting based on readings

About

A simple code that does not use too many libraries, to control an MPU6050 chip (tested on a GY-521). By reading linear acceleration and angular velocity, orientation measurements are produced.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published