Raspberry Pi Pico & MPU9250 with MicroPython

Опубликовано: 03 Октябрь 2024
на канале: Kevin McAleer
14,800
415

Raspberry Pi Pico & MPU9250 with MicroPython.
Do you want to know how to use an MPU9250 Accelerometer, Gyroscope and digital Magnetometer to position your robots? Then this is the video for you.

In this video we will look at:
- how the MPU9250 works (its actually two chips combined into one package),
- how to calibrate and dampen the readings to make them usable
- how to convert the raw x, y, z readings into degrees and radians

For more information, tutorials, parts and more visit:
https://www.smarsfan.com​

Enjoy this video? Buy me a coffee!
https://www.buymeacoffee.com/kevinmca...

Music by Epidemic Sounds
https://www.epidemicsound.com/referra...

MPU9250 MicroPython Code on GitHub:
https://www.github.com/kevinmcaleer/m...



Chapters
00:00:00 Raspberry Pi Pico & MPU9250
00:00:33 Overview of the session
00:01:20 What is the MPU9250
00:02:38 MPU6500 + AK8963
00:03:41Orientation
00:06:45 Digital Magnetometer
00:09:13 How MEMS sensors Work
00:10:31 Data Process - filtering and noise reduction
00:12:20 Hard Iron and Soft Iron Bias
00:14:00 Warning - Calibration is not optional
00:15:12 Magnetic Declination
00:16:23 Calibration
00:16:55 MPU9250 - I2C Pinouts
00:20:00 GitHub Sourcecode Repository
00:21:17 Demo Time
00:32:23 Raw Values from Accelerometer
00:48:12 low pass filter
00:50:38 Real Calibrated data from all three sensors
01:09:25 Just one more thing...




#pico​ #micropython​ #robotics