Balancing robot now detects step loss and can self right

Поділитися
Вставка
  • Опубліковано 13 вер 2022
  • Another long awaited update on my balancing robot! It now has a detection for step loss, and even better: it can self-right! Watch until the end for seeing this feature in action.
    Sorry for the not very high quality audio :). It's my first video in which I've put some more effort.
    The latest code and algorithms can be found in Git in the ps3control branch: gitlab.com/kloppertje/balanci.... As the name suggests, the robot now also supports remote control via bluetooth with a very cheap ps3 controller :)
  • Наука та технологія

КОМЕНТАРІ • 33

  • @michaeld1925
    @michaeld1925 Рік тому +5

    This is the best balancing robot i have met so far. Great work! Thanks for sharing.

  • @aboudezoa
    @aboudezoa Рік тому +2

    This is great ! I attempted few months ago to create version 1 but no luck ! I have to revisit with new upgrade 👌

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

    Amazing, great work 😀

  • @Technical_stuff86
    @Technical_stuff86 5 місяців тому +1

    Absolutely amazing, the best self balancing robot on youtube. Does the software support mobile phone control or does a ps3 controller have to be used. Thanks!

    • @kloppertje
      @kloppertje  5 місяців тому +1

      Yes a mobile phone can be used. The robot connects to a wifi network, and the robot can be controlled by accessing a web page

    • @Technical_stuff86
      @Technical_stuff86 5 місяців тому

      I appreciate your work! I'm starting to build this robot, I'm absolutely blown away. Thank you very much my friend!

    • @kloppertje
      @kloppertje  5 місяців тому

      @@Technical_stuff86 thank you and have fun :)

  • @AdityaMehendale
    @AdityaMehendale Рік тому +1

    SUBSCRIBED! Nice :) 9:03

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

    why did you connect pin 19 of the DRV8825 chip to the SLP / RST pin of the driver?

  • @user-or3or1un8g
    @user-or3or1un8g 4 місяці тому

    Thanks for project. I have problem, when compile project, get "the default constructor of "union " cannot be referenced -- it is a deleted function" - problems with plotData. String 842.

  • @TheRoadTaken
    @TheRoadTaken 5 днів тому

    Why are you using stepper motors rather than a motor from an rc car for example?

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

    hello, please can you help me step by step? i loaded the sketch, and the serial monitor says : loading index.html;
    what should i do, which file should i open from the data folder? index? should I click AP or SSID and what credentials to put? I specify that I use arduino ide

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

      Hi, I'm sorry but you'll have to figure this out yourself. I won't have access to a computer the next three months. Did you upload the file system, as per the instructions?

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

      @@kloppertje What would the file system be and where should it be loaded? I watched the video but couldn't find anything about it

    • @kloppertje
      @kloppertje  Рік тому +1

      See the instructions on gitlab, and my other video

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

      I uploaded the BalancingRobot file of another video to the ESP, do I need to upload something else to control it from my mobile phone? should the data folder be loaded on the ESP? I'm unhappy

  • @a.sanusinazareth9213
    @a.sanusinazareth9213 Рік тому +1

    When the bot runs fast, Newton's law of inertia makes it fall, is that right? so, the function of imu error.

    • @kloppertje
      @kloppertje  Рік тому +1

      I don't get yet what you mean, can you explain a bit more? The robot will always fall whether it runs fast or stands still.

    • @a.sanusinazareth9213
      @a.sanusinazareth9213 Рік тому

      @@kloppertje well, I also think that imu can not maintain itself to balance in fast driving. My friends must be interested to see your videos' experiment then

    • @klikdesainweb
      @klikdesainweb Рік тому +1

      Using Newton's law of inertia, then It will be easy for the bot to balance at 45 degrees without falling. yeah!

    • @a.sanusinazareth9213
      @a.sanusinazareth9213 Рік тому

      @@klikdesainweb I thought so, buddy :D

  • @cduncan64
    @cduncan64 4 місяці тому

    Success! I uploaded the new code to to the old robot frame and, after buying a genuine PS3 controller, I now have a little speed demon running around my house.
    I am still having an issue with it not running on concrete. Since I haven't messed with the default PID values, I suspect that may be part of it.
    One question: PlatformIO is complaining about the plotdata union{ struct{ . "the default constructor of "union " cannot be referenced -- it is a deleted function" As far as I know, my PlatformIO is up to date. Any ideas?
    Again, thank you for a great project! Watching this bot faceplant like a dunkard is hilarious!

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

    Hi, can you explain the schematic, many thanks...

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

    I can replace drv8825 with a4988 on this project ?

    • @kloppertje
      @kloppertje  Рік тому +1

      Yes

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

      @@kloppertje I'm working on it now
      I'm having a hard time moving the engine
      I know I'm going to lose some speed, especially the improvements you made
      in general
      If you give us another summary of the video explaining the code a little
      I find this project the coolest project for a balancing robot,
      I'm in North Africa, I make my own printed circuit board
      Thanks in advance

  • @hhunter2642
    @hhunter2642 Рік тому +1

    Do you have tutorial how to program ESP32 with python?

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

      No sorry, I don't

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

      ​@@kloppertje Thank you. How about any resources you used running ESP32 with Python?

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

      @@hhunter2642 I've never used the ESP32 with Python; the only thing I can do is refer to some manual, for example docs.micropython.org/en/latest/esp32/tutorial/intro.html

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

      @@kloppertje Thank you so much for your reply. For the hardware in your project, is it open source as well?

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

      @@hhunter2642 Yes everything is open source. See gitlab.com/kloppertje/balancingrobot/-/tree/devel