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:
[ Ссылка ]
Enjoy this video? Buy me a coffee!
[ Ссылка ]
Music by Epidemic Sounds
[ Ссылка ]
MPU9250 MicroPython Code on GitHub:
[ Ссылка ]
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
Raspberry Pi Pico & MPU9250 with MicroPython
Теги
mpu9250mpu6500ak8963gyroscopemagnetometeraccelerometerraspberry pi picopicomicropythonKevin McAleerSMARSHow to get compass headings from raw valuescompassdigital compasscompass headingsMicroPythonPositioningraspberry piraspberry picoraspberry pi rp2040rpi picoraspberry pi projectsrp2040 microcontrollerraspberry pi pico programmingraspberry pi pico micropythonpi pico projectsraspberry pi projects pythonroboticsrobotPico robot