Тёмный

PiicoDev Motion Sensor MPU-6050 | Raspberry Pi Pico Guide 

Подписаться
Просмотров 16 тыс.
% 294

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-electronics.com.au/guides/piicodev-motion-sensor-mpu-6050-raspberry-pi-pico-guide/
If you need help getting started with Thonny: core-electronics.com.au/tutorials/how-to-setup-a-raspberry-pi-pico-and-code-with-thonny.html
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-electronics.com.au/raspberry-pi.html
• Arduino core-electronics.com.au/arduino.html
• Sparkfun core-electronics.com.au/brands/sparkfun-australia
• Adafruit core-electronics.com.au/brands/adafruit-australia
• Pololu core-electronics.com.au/brands/pololu-australia
• DFRobot core-electronics.com.au/brands/dfrobot-australia
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

Опубликовано:

 

20 июл 2021

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 28   
@giorgiolelmi8175
@giorgiolelmi8175 10 месяцев назад
I just bought it after watching this video with a shipping price higher than the sensor itself 😂
@jyvben1520
@jyvben1520 3 года назад
a very good explanation/demo, thanks
@Core-Electronics
@Core-Electronics 3 года назад
Glad you enjoyed it!
@karljansky9576
@karljansky9576 Год назад
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!
@alee-j8q
@alee-j8q 8 месяцев назад
I love this channel. Thanks!!!!
@TzOk
@TzOk 2 года назад
Do you know any library, which would return the acceleration without the gravity component?
@susmitagoswami9928
@susmitagoswami9928 Год назад
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.
@chirots
@chirots 2 года назад
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
@dragonoha
@dragonoha 3 года назад
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!
@Core-Electronics
@Core-Electronics 3 года назад
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
@dafelix
@dafelix 2 года назад
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.
@fashiarif4687
@fashiarif4687 2 года назад
can you do it with simple mpu 6050 please
@raisagorbachov
@raisagorbachov 2 года назад
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.
@arunkarkare
@arunkarkare 2 года назад
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 ?
@Core-Electronics
@Core-Electronics 2 года назад
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.
@raisagorbachov
@raisagorbachov 2 года назад
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 !?
@Core-Electronics
@Core-Electronics Год назад
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.
@John-cc6zb
@John-cc6zb 2 года назад
How do I use these raw data to calculate the tilt angle?
@Core-Electronics
@Core-Electronics 2 года назад
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/
@zyroxiot9417
@zyroxiot9417 Год назад
Thanks, 🤝🏼🇧🇷
@ashutoshrevankar5564
@ashutoshrevankar5564 2 года назад
The full guide link is not working
@Core-Electronics
@Core-Electronics 2 года назад
Try this! core-electronics.com.au/guides/piicodev-motion-sensor-mpu-6050-raspberry-pi-pico-guide/
@ifsixwasnine0
@ifsixwasnine0 2 года назад
can i make a steering wheel out of this?
@Core-Electronics
@Core-Electronics 2 года назад
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.
@safakfahrac1524
@safakfahrac1524 2 года назад
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?
@Core-Electronics
@Core-Electronics 2 года назад
Hi! We handle tech support over at forum.core-electronics.com.au/ - Head over and open a thread, some pictures will help troubleshooting too!
Далее
🤔ЗАЧЕМ ОНИ ЭТО ДЕЛАЮТ?🤦‍♂️
00:49
ITZY "GOLD" M/V
03:20
Просмотров 6 млн
Silent Hill 2 - Мульт Обзор
07:26
Просмотров 400 тыс.
🤔ЗАЧЕМ ОНИ ЭТО ДЕЛАЮТ?🤦‍♂️
00:49