Это видео недоступно.
Сожалеем об этом.

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

Комментарии • 28

  • @giorgiolelmi8175
    @giorgiolelmi8175 8 месяцев назад +1

    I just bought it after watching this video with a shipping price higher than the sensor itself 😂

  • @jyvben1520
    @jyvben1520 3 года назад +1

    a very good explanation/demo, thanks

  • @user-tx8om1kg1q
    @user-tx8om1kg1q 6 месяцев назад

    I love this channel. Thanks!!!!

  • @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!

  • @raisagorbachov
    @raisagorbachov 2 года назад +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.

  • @zyroxiot9417
    @zyroxiot9417 Год назад

    Thanks, 🤝🏼🇧🇷

  • @dragonoha
    @dragonoha 3 года назад +1

    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 года назад +1

      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

  • @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.

  • @TzOk
    @TzOk 2 года назад

    Do you know any library, which would return the acceleration without the gravity component?

  • @fashiarif4687
    @fashiarif4687 Год назад

    can you do it with simple mpu 6050 please

  • @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.

  • @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

  • @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.

  • @user-jq7uz2ot6z
    @user-jq7uz2ot6z Год назад

    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.

    • @user-jq7uz2ot6z
      @user-jq7uz2ot6z Год назад +1

      @@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 года назад +1

      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/

  • @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!