Program Accurate 90 Degree Gyro Turns With LEGO MINDSTORMS 51515

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

КОМЕНТАРІ • 54

  • @Builderdude35
    @Builderdude35  3 роки тому +3

    How have 90 degree gyro turns helped YOU in FLL or WRO? What are some creative ways you have used the gyro? Let me know here!

    • @vizonex4316
      @vizonex4316 3 роки тому +1

      Let me know when there’s a tutorial on any spike prime/ robot inventor builds

    • @Builderdude35
      @Builderdude35  3 роки тому

      @@vizonex4316 Sure thing man! Usually those come put on Mondays on my channel. Stay tuned, I have cool stuff coming soon!

    • @vizonex4316
      @vizonex4316 3 роки тому +1

      @@Builderdude35 thanks I will be there to see it

    • @Builderdude35
      @Builderdude35  3 роки тому

      @@vizonex4316 awesome! I can't wait for you to see it!

    • @deveshsenthilraja1766
      @deveshsenthilraja1766 3 роки тому +1

      Can you pls make a tutorial on how to accelerate gradually with Mindstorms 51515

  • @denervieira5650
    @denervieira5650 3 роки тому +2

    What if we use the ideia you presented in previous videos (use proportional condition) to align the robot in line while it is moving, then turn 90 degrees, them align while moving and so on.. is it going to get a better accuracy in turns?

    • @Builderdude35
      @Builderdude35  3 роки тому

      That has the potential to be more accurate, yes! You could use my line squaring algorithm before making the turn to get a more consistent starting point, and then your turns will be very precise.

  • @vesrola
    @vesrola 2 роки тому +1

    Builderdude35 you are my idol pls come eat pizza at my house🤩😁

  • @dluders
    @dluders 3 роки тому +2

    Yes, 90-degree gyro turns have helped my FLL team in the past (using EV3). When our state's FLL competitions resume, many teams will be using the 51515's gyro sensor. I can see that the 51515's Gyro Sensor is superior to the EV3's, which has a problem with gyro "drift". During past FLL competitions, some kid would often bump the game table (in his/her excitement) and throw off the gyro sensor's calibration. ;)

    • @Builderdude35
      @Builderdude35  3 роки тому

      I am really excited to see what FLL participants can do with the 51515 gyro! Just as you noted, the 51515 gyro sensor is far better than the EV3's; the 51515 gyro not susceptible to drift. During my time using the 51515 gyro to make this video, and even while programming my 2-wheel self-balancing robot (next week's video) I never once had to worry about drift even though I was moving the robot around in a way that would irretrievably disturb an EV3 gyro.

  • @sweetkissivy
    @sweetkissivy Рік тому

    Thanks for the video. I’m a beginner. I copied your coding and my robot is just keep turning round. How to let the robot to walk a few inch and make a ~90 degree turn? I don’t see the walk straight code. I think I missed something 😅

  • @as-habulyameen1344
    @as-habulyameen1344 3 роки тому +3

    Cool sensor and great vid

    • @Builderdude35
      @Builderdude35  3 роки тому +2

      thanks so much! Glad to see you as always! :)

    • @as-habulyameen1344
      @as-habulyameen1344 3 роки тому +2

      Thx just busy with school sorry

    • @Builderdude35
      @Builderdude35  3 роки тому +2

      @@as-habulyameen1344 no problem my man! Keep doing good work!

  • @megam1ne
    @megam1ne 3 роки тому +1

    I like how kind this guy is

  • @Carbon_
    @Carbon_ 3 роки тому +1

    This is really not how you should program this, first if you reset the sensor every time you make a turn the errors will add up, but i guess it's a simple program for beginner,
    You should use a loop and use proportional control of the motor's speed until the robot is looking in the right direction and fully stopped
    Did you have any issues with this sensor ? I remember that the EV3 sensor was very hard to get working reliably
    Also it would be nice to see a program to go perfectly straight with the gyro :)

    • @Builderdude35
      @Builderdude35  3 роки тому +3

      Thanks for the feedback. Considering that my audience is generally younger, this simple program will have more obtainable results than something more advanced, even if it trades dome accuracy.
      The new 51515 gyro sensor is in a different league compared tot he EV3. The 51515 gyro is much more reliably and I haven't seen it drift yet like the EV3 used to. While making this video, and while programming my 2-wheel self-balancing robot (next week's video), I did not need to worry about drift at all, even though I was moving the gyro sensor in a way that would throw off an EV3 gyro.
      Rest assured, a gyro drive-straight tutorial (with PID?) is coming in the next few weeks!

  • @salva8722
    @salva8722 3 роки тому +1

    An idea for next videos could be the use of Phyton language and examples connectivity to ble remotes (gamepads, microcontroller boards with esp32 chip, ..etc) to see the integration of code in large models expanding build beyond wheels/ walking robots.

    • @Builderdude35
      @Builderdude35  3 роки тому

      Thank you for the idea! I added it to my list of video ideas to try. I will see what I can do about it. :)

  • @OurTeslaModelXJourney
    @OurTeslaModelXJourney 3 роки тому

    I noticed in your final code in this video that you did not set the hub orientation. Does it default to upright and therefore not need to be specified? I built FLL Casts Whakatae, and my robot is not turning even close to 90 degrees. Is there any kind of calibration that might need to be done? Thanks for all your videos. I've been watching since you started making them and often recommend that my team watch them.
    I did a demo on Elevator using my garage attic FLL table yesterday. Yes, I coach for 7 years now. I was thinking gyro pitch could be used to see if the robot makes it up the bridge successfully or not. I may have to try that.
    My hub got hung up on an update yesterday, and I had to pull the battery to shut it down. Not a big deal, but new robot, old issues. MacBook.

  • @Jawadayoub-gg1qx
    @Jawadayoub-gg1qx 3 місяці тому

    we can use pid controller to make an accurate 90 degree turn

  • @salva8722
    @salva8722 3 роки тому +1

    A “how to build” the basic robot structure step by step would be nice, and in later videos also attachments.

    • @Builderdude35
      @Builderdude35  3 роки тому

      I hope to do something like that as FLL season gets closer! Thanks for the suggestion!

  • @andreasbrezolinalkmincosta8381
    @andreasbrezolinalkmincosta8381 3 роки тому +1

    Make it but for ev3 please e need this, because in cant bought the spike now

    • @Builderdude35
      @Builderdude35  3 роки тому

      Don't worry, I already have a version of this video for the EV3. You can watch it here: ua-cam.com/video/8B1LwzkLKXs/v-deo.html

  • @cubed9003
    @cubed9003 3 роки тому +2

    BD How is MIT?

    • @Builderdude35
      @Builderdude35  3 роки тому +2

      Challenging... like drinking from a firehose ;)

  • @davidfoss439
    @davidfoss439 2 роки тому

    for some reason, our robots (all 6) are hesitating and jumping forward using the 'start moving by angle' block when we use any turn degree > 35... any ideas why? We've updated and reset the bricks. We don't experience this when using single motor blocks to turn.

  • @Skurk11
    @Skurk11 2 роки тому

    Not sure that is LEGO mindstorms thb. Looks like the new LEGO spike prime brick?

  • @ivrismouha4739
    @ivrismouha4739 2 роки тому

    Hi I'm glad to see you're back uploading videos. I've been following your videos since I was in the 7th grade. Now I've finished high school after another 3 successful years also in FRC and I'm starting to monitor my own fll group. I am impatiently waiting for a renewed video on accurate turning and straight travel with PID including acceleration and deceleration, in the spike controller. Show everyone who the real pro is

  • @DimitriDekyvere
    @DimitriDekyvere 3 роки тому +1

    Great video tutorial. Quick, simple but with a good explanation each time why you are doing each step. 👍

    • @Builderdude35
      @Builderdude35  3 роки тому

      I'm thrilled you enjoyed it. Thanks for your feedback, and thanks for watching!

    • @rammaddirala6857
      @rammaddirala6857 3 роки тому +2

      @Dimitri Dekyvere That’s why I subbed and you should aswell!

    • @rammaddirala6857
      @rammaddirala6857 3 роки тому +1

      Cmon people subscribe to him he is working extremely hard to build all these videos all for us!

  • @stephanm9584
    @stephanm9584 3 роки тому +1

    Cool as allways :) When you make a self balancing bot - do it with PID and show excatly all the steps to find the best P, I, D values
    Interresting to see
    Behaviour of the Bot
    Which Value are you changing and why do you do this step
    This in 100 loops when necessary :D
    So your followers can exactly see the way you iterate to a good result
    I'm aware that this is a big work but this is the knowledge is hard to find in YT

    • @Builderdude35
      @Builderdude35  3 роки тому +1

      Absolutely, I will try to share a reasonable amount of detail regarding tuning and what I have learned. Thanks for the suggestion!

    • @rammaddirala6857
      @rammaddirala6857 3 роки тому +1

      Yes and also @Builderdude35 you should create that program as a my block and you can add an input value of the degrees you want to turn.

    • @Builderdude35
      @Builderdude35  3 роки тому

      @@rammaddirala6857 yeas absolutely! MyBlock tutorial coming in the near future!

    • @OurTeslaModelXJourney
      @OurTeslaModelXJourney 3 роки тому

      PID yes!

  • @abbabab966
    @abbabab966 3 роки тому

    Why do you reset the gyro in every loop? If you don't it will turn to the correct angle proportional to the start position?

  • @inov8824
    @inov8824 2 роки тому

    Great video. Very helpful to our team however, could you do a tutorial on gyro straight.

  • @maciejmatuszek4902
    @maciejmatuszek4902 3 роки тому

    How to turn in left side?

  • @yasseneltantawy2567
    @yasseneltantawy2567 3 роки тому

    please i need playlist for beginner in AV3 step by step . i can not find that in your channel

    • @yasseneltantawy2567
      @yasseneltantawy2567 3 роки тому

      EV3 step by step i need course from your channel i can not found it all your videos is advanced

  • @Lunar-iu5nq
    @Lunar-iu5nq 3 роки тому +1

    Hi :)