Это видео недоступно.
Сожалеем об этом.
PiicoDev Motion Sensor MPU-6050 | Raspberry Pi Pico Guide
HTML-код
- Опубликовано: 18 июл 2021
- Reading motion data is easy with a PiicoDev Motion Sensor. We can use this 6-axis Inertial Measurement Unit (IMU) to measure acceleration and angular velocity in three axes each. We'll wire them up and perform some experiments to understand how the axes work, and then measure some G-s!
The full guide: core-electroni...
If you need help getting started with Thonny: core-electroni...
If you have any questions about this content or want to share a project you're working on head over to our maker forum coreelec.io/forum
Core Electronics is located in the heart of Newcastle, Australia. We're powered by makers, for makers. Drop by if you are looking for:
• Raspberry Pi core-electroni...
• Arduino core-electroni...
• Sparkfun core-electroni...
• Adafruit core-electroni...
• Pololu core-electroni...
• DFRobot core-electroni...
The following trademarks are owned by Core Electronics Pty Ltd:
"Core Electronics" and the Core Electronics logo
"PiicoDev" and the PiicoDev logo
"Glowbit" and the Glowbit logo
I just bought it after watching this video with a shipping price higher than the sensor itself 😂
a very good explanation/demo, thanks
Glad you enjoyed it!
I love this channel. Thanks!!!!
Very nice, very clear demo. Is there another device that includes 3 axis plus magnetic compass, too? I also need only average angles over periods of a few seconds. We could average, but is there a better filter? Thanks for your efforts!
Very interesting. I want to use it for rotation with a model aircraft so that the aircraft can stay in level flight, climb and turn as required.
Thanks, 🤝🏼🇧🇷
Hi! Stumbled upon this nice tutorial while doing a small project while being a total newbie to electronics with a programming background. Is it possible to connect the raspberry pi pico directly to the motion sensor, without the expansion board? Cheers!
You certainly can! We have a cable that will allow you to freestyle the connections; with a PiicoDev connector on one end and four female headers on the other. SKU: CE07958
Hey Hi. Nice tutorial. Can you please let me know how you are plotting? because I am trying to plot the raw sensor data of MPU6050 through Pico. Any hint related to plotting will be much helpful.
Do you know any library, which would return the acceleration without the gravity component?
can you do it with simple mpu 6050 please
So my idea is to use this as a head tracker for PC games. How can I do it? You really should make a tutorial on it, it will get millions of views.
Where did you get these number
# Pre-defined ranges
_ACC_RNG_2G = 0x00
_ACC_RNG_4G = 0x08
_ACC_RNG_8G = 0x10
_ACC_RNG_16G = 0x18
_GYR_RNG_250DEG = 0x00
_GYR_RNG_500DEG = 0x08
_GYR_RNG_1000DEG = 0x10
_GYR_RNG_2000DEG = 0x18
Hi. The video clip is very very nice and explains the acceleration and angular momentum clearly, however I am looking for a sensor to measure the absolute distance traveled in X, Y, Z direction. Is that possible with the 6050 (or any other) sensor please ?
What you're referring to is "dead reckoning" which is really hard/expensive to do with an Inertial Measurement Unit. For example, military aircraft and ships often use a "laser gyro-compass" for this purpose - suffice to say that's a bit out of reach for most hobbyists.
For that I would suggest adding a GPS sensor. Either that or using standard velocity in the calculation.
Can't find where an I2C channel was selected !?
The Pins (SDA:8, SCL:9)are predefined when using a Pico. Check the github for documentation if you want to select the pins explicitly.
@@Core-Electronics 👍 Thanks.
How do I use these raw data to calculate the tilt angle?
There's a new read_angle() function documented here: github.com/CoreElectronics/CE-PiicoDev-MPU6050-MicroPython-Module
If you need to read angle in more than one axis, we can help out on our forums: forum.core-electronics.com.au/
The full guide link is not working
Try this!
core-electronics.com.au/guides/piicodev-motion-sensor-mpu-6050-raspberry-pi-pico-guide/
can i make a steering wheel out of this?
You could definitely build a motion controlled steering wheel similar to other accelerometer based controllers like the Wii or Switch, not sure of it's efficacy on the road though. 😅 Would love to see it if you build one.
hi, i ran your codes and i faced such a problem;
Traceback (most recent call last):
File "", line 5, in
File "PiicoDev_MPU6050.py", line 80, in __init__
File "PiicoDev_MPU6050.py", line 125, in get_accel_range
OSError: [Errno 5] EIO
What do you think is the problem?
Hi! We handle tech support over at forum.core-electronics.com.au/ - Head over and open a thread, some pictures will help troubleshooting too!