Raspberry Pi Pico W LESSON 49: Improving IMU Performance with a Complimentary Filter

Поділитися
Вставка
  • Опубліковано 13 гру 2024

КОМЕНТАРІ • 38

  • @qzorn4440
    @qzorn4440 11 місяців тому +2

    Most interesting MPU6050 detailed XYZ filtering. While on the subject I would like to do the magnetic ball bearing example with the Raspberry Pi Pico W. 🐝Happy New Year!

  • @louistoweill4232
    @louistoweill4232 7 місяців тому

    I like the stepwise approach to improving the model.

  • @cbrombaugh
    @cbrombaugh 11 місяців тому

    I folded like a cheap Walmart lawn chair on this homework. No idea how to start. I can see how important concepts like digital filtering would be useful in data collection and analysis. Thanks for showing us all these things Paul. You are the greatest!

    • @paulmcwhorter
      @paulmcwhorter  11 місяців тому

      Check out the next lesson, I will show the solution.

  • @edSabio572
    @edSabio572 11 місяців тому

    I folded like a cheap Walmart lawn chair, no excuses... ☹ But your lessons are valuable and will keep on.
    Thank you so much for teaching something real and usable!

  • @patrickfox-roberts7528
    @patrickfox-roberts7528 11 місяців тому

    Happy New Year when it hits Paul. Thanks for all the teaching ... it's appreciated.

  • @arnoldschmucker9977
    @arnoldschmucker9977 11 місяців тому +2

    I folded like a cheap Walmart lawnchair on this week's homework. Looking forward to seeing your solution.

  • @anantchandak9574
    @anantchandak9574 11 місяців тому

    Pls dont ever stop making videos sir, i cant watch this right now but i will definately do in future.

  • @larryplatzek9017
    @larryplatzek9017 11 місяців тому +1

    HOPE EVERY ONE HAD A GOOD CHRISTMAS AND WILL HAVE A happy NEW YEAR. i EXPECT THIS WILL be another great lesson!

  • @davis2018
    @davis2018 10 місяців тому

    very helpul lecture! thanks Paul

  • @santiagosalvatierra5425
    @santiagosalvatierra5425 10 місяців тому

    Hi from Argentina, Thank you for these Videos with RPI pico W + MPU6050. You helped me so much!

    • @santiagosalvatierra5425
      @santiagosalvatierra5425 9 місяців тому

      Paul, exist a way to measure Yaw without error with this sensor? Please, explain more about Yaw. Thank you so much.

  • @OBD11OBD1
    @OBD11OBD1 11 місяців тому +1

    I love you so much Mr Paul

  • @ParshvaPatel-ib9lm
    @ParshvaPatel-ib9lm 11 місяців тому +2

    I am currently on lesson no 40 currently but I will catch up pretty soon. By the way are there any live shop talks on the plan for 2024. Despirately waiting to see you live I recently watched your previous live stream on nano technology it was really fascinating and also got a chance to see you on an news channel in that stream. Hope every one had a Happy Christmas and best of luck for new year .

    • @paulmcwhorter
      @paulmcwhorter  11 місяців тому +1

      Yep, will try to do that soon.

  • @larryplatzek9017
    @larryplatzek9017 11 місяців тому +1

    As usual this lesson was excellent!

  • @scottwait3585
    @scottwait3585 11 місяців тому

    Thank you Paul! Merry Christmas

  • @ad3_4
    @ad3_4 11 місяців тому +1

    Thank u so much uncle paul ❤

  • @sameermousa7439
    @sameermousa7439 11 місяців тому +1

    Hello.
    very informative video thanks.
    Could you please do a tutorial about Bluetooth module in the Pico W

  • @OBD11OBD1
    @OBD11OBD1 11 місяців тому +1

    I love you Mr Paul

  • @quaternion-pi
    @quaternion-pi 11 місяців тому +1

    Awesome, love how you generalize lessons learned. The suspended steel ball in a n electromagnetic field project you did - is it available? Thanks !

    • @paulmcwhorter
      @paulmcwhorter  11 місяців тому +2

      No, it was a really tough project. It was very hard to get the PID tuned perfectly where the ball would remain suspended in thin air. For me to do a class on that, I think I would need better hardware, and not a simple way to get a kit put together.

  • @DrDave327
    @DrDave327 11 місяців тому

    Hey, Paul! Another great exercise, but after staring at this code a long time tonight, it looks like I folded up again. I am looking forward to see your solution tomorrow.

    • @paulmcwhorter
      @paulmcwhorter  11 місяців тому +1

      Yes, this one is a little tricky. Hope my solution tonight clears it up for you.

  • @zorabixun
    @zorabixun 11 місяців тому +1

    Tell me pls Mr Paul, how do you know what to do in the program, watching the moving lines ? When i see the noise, how can i guess what parameters to change, for example :
    0.1 ----> 0.01
    95 -----> 99
    I need to understand it, to make proper correction .... thanks

    • @paulmcwhorter
      @paulmcwhorter  11 місяців тому +2

      The two numbers have to add to 1. So if one is .1, the other needs to be .9. It is an art to get the best settings. Play around with the numbers until you get rid of the noise, and get good performance. It is something you have to play with.

  • @joker12-e3v
    @joker12-e3v 11 місяців тому

    Good tutorials. Just one point, when the sensor is raised to 90 degrees the program creates an error: divide by zero. Observing xAccel and zAccel values. As you reach 90 degrees, xAccel value approaches a value of 1, zAccel value approaches 0, so you end up with a divide by zero error.

    • @paulmcwhorter
      @paulmcwhorter  11 місяців тому

      Yes, there is no inverse tangent for 90 degrees. You can put a special case for that, and not to the atan for 90 degrees

    • @dougblanding8791
      @dougblanding8791 9 місяців тому

      problem solved by using atan2(numerator, denominator) instead of atan(num/denom)... Note the comma separating the numerator from the denominator

  • @rakesha2970
    @rakesha2970 9 місяців тому

    hello paul .. what should i need to get yaw ? ..please help me !!

    • @paulmcwhorter
      @paulmcwhorter  9 місяців тому

      You will need a different sensor. Look at my playlist on the BNO055 on this channel.

    • @dougblanding8791
      @dougblanding8791 9 місяців тому

      One simple solution is to mount the MPU-6050 on its side (so the plane of the board is vertical instead of horizontal). Pitch now gives you yaw.

    • @dougblanding8791
      @dougblanding8791 9 місяців тому

      Never mind. I tried this and it doesn't work.

  • @320mb
    @320mb 29 днів тому

    A little help for anyone else... I kept getting a Crash for the line with math.pi ........ just change that to 3.14 and you'll be ok.... not sure why, but the error was about dividing by zero.... LOL...