How to use MPU6050 with Raspberry Pi Pico (End to End)

Опубликовано: 20 Октябрь 2024
на канале: Shilleh
4,412
56

This video will demonstrate how to connect to the MPU6050 physically with the corresponding electrical connections to the Raspberry Pi Pico (I used the Pico W but it should be the same thing) and then show the code I used to interpret the readings via MicroPython in the Thonny IDE. I assume you have pins connected to your Raspberry Pi Pico and you can connect it to your laptop via MicroUSB! Here are links to some of the things I mention:

Where to buy MPU6050:
https://www.amazon.com/dp/B0BMY15TC4?...

Where to buy Pins:
https://www.amazon.com/gp/product/B08...

Where to buy Jumper Wires
https://www.amazon.com/DIYables-Multi...

Where to buy BreadBoard
https://www.amazon.com/DIYables-Solde...

Code Files
main: https://github.com/shillehbean/youtub...
imu: https://github.com/shillehbean/youtub...
vector3d.py: https://github.com/shillehbean/youtub...

Raspberry Pi Pico Pin Schematic:
https://datasheets.raspberrypi.com/pi...

Link to Blog Post:
https://shillehtek.com/blogs/news/how...


TIMESTAMPS
0:00 How to use MPU6050 with Raspberry Pi Pico
0:10 PHYSICAL SETUP AND WIRING
1:58 CODE SETUP