Raspberry Pi Pico W LESSON 42: Measuring Tilt With an MPU6050 Accelerometer
You guys can help me out over at Patreon, and that will help me keep my gear updated, and help me keep this quality content coming:
https://www.patreon.com/PaulMcWhorter
In this class we will be using the Sunfounder Raspberry Pi Pico W Keppler Kit. It will make things a lot easier if we are working on identical hardware. the link below is to amazon, and is for the identical hardware I will be using in this entire class.
In this video, I will show you how to measure acceleration using the MPU6050 Six Axis IMU chip. I will then show you how using trigonometry will allow you to quantitatively calculate the amount of tilt from the Z axis acceleration reading. I will give an explanation of the math and physics behind problem, and will show you how to incorporate the MPU6050 into your projects. Enjoy!
[Disclosure of Material Connection: I am a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to amazon.com. ]
#IMU
#mpu6050
#micropython
source