I Built a Ball Balancing Robot

Поділитися
Вставка
  • Опубліковано 4 січ 2025

КОМЕНТАРІ • 957

  • @aaedmusa
    @aaedmusa  6 місяців тому +62

    I don’t know why I played Tetris in this video either

    • @reginaldbowls7180
      @reginaldbowls7180 6 місяців тому

      Can you balance 2 balls?

    • @Jiglias
      @Jiglias 6 місяців тому

      lmao

    • @t.d.3803
      @t.d.3803 6 місяців тому

      I thought it was a metaphor.

  • @N8rBeans
    @N8rBeans Рік тому +2204

    bro im not gonna lie i thought i was watching a video from someone with like 1+ mill subs until i saw below. ur content is insane keep up the amazing work also ur a genius

  • @twistedsteel6290
    @twistedsteel6290 Рік тому +447

    It would be cool to map the screen of your phone to the surface of the balancer and then use touch location to change the target location of the ball so you could move your finger around and have the ball motion match it

    • @fluffyflunk
      @fluffyflunk Рік тому +26

      Or you could have a recording mode where you draw a shape on the surface with the ball and then the machine repeats that drawing.

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

      yesss that would be so cool

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

      Jesus loves you he died for everyone's sins, he is coming soon, if you want to receive Jesus as the lord and savior of your life say this and believe in your heart, say: Jesus today I accept you as the lord of my life come in my life I believe that you are the Son of GOD and that you died for my sins and that you rose up on the third day, thank you that I am now a child of GOD and that my sins are forgiven amen

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

      ​@@chubbymannI don't follow Christianity so might not love me

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

      @@sandstorm7883 Oh, that's good

  • @DarthLoI
    @DarthLoI Рік тому +190

    PUT A BEYBLADE ON IT!!!

  • @LimabeanStudios
    @LimabeanStudios Рік тому +284

    This might be the first project I actually end up making after watching a video. I want two smaller versions of these moving around a tracking passing the ball back and fourth.

    • @ErikPelyukhno
      @ErikPelyukhno Рік тому +4

      That sounds like a really fun challenge!

    • @jlumley
      @jlumley Рік тому +3

      That's exactly what i was thinking multiple pads, playing catch.

    • @dr.angerous
      @dr.angerous Рік тому

      Where is your shit u trash liar shit

  • @dannylumcreative
    @dannylumcreative Рік тому +65

    Dude really impressive. You made the engineering so digestible! Subbed instantly keep it up

  • @dr.unventor
    @dr.unventor Рік тому +24

    This is so cool! The touch pad was a really smart way of finding the ball’s position

  • @techchrism
    @techchrism Рік тому +151

    Absolutely incredible video and by far the best project of this type that I've seen

    • @aaedmusa
      @aaedmusa  Рік тому +10

      Appreciate it!

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

      ​@@aaedmusa won't be balanced anymore after I devour that ball

  • @Productionbyjustin
    @Productionbyjustin Рік тому +28

    Put a screen under it that draws a line wherever a ball moves like a tracer. It’ll make the patterns look so much more like patterns instead of the robot trying to balance it awkwardly. Anyway nice job!

  • @YMilkshake
    @YMilkshake Рік тому +19

    I was like "wouldn't you be able to program different shapes the ball could move in on it's own? And then the madman actually did it! Sick video, very well structured and easy to follow :D

  • @medienmond
    @medienmond Рік тому +77

    Awesome.
    Really awesome what you did there. As a IT professional and senior software engineer i have to give my upmost respect to you and the result of your work.
    The Idea, design and development - time consuming,
    3D-modelling - not as simple as pi,
    electrical concept and wiring - advanced stuff and not easy,
    the basic programming to get it run - wow, many coworkers i had in my lifetime we'e not able to do even basics like that,
    Getting the final movements to perform like that - a masterpiece - finally making a video that rocks - Take a deep look into UA-cam and have no luck finding a technical project with such a presentation. Even If you simplified at many places, i really like what you have done. My own awesome projects get never really documented or even made public, with just myself being the only one having fun with these things when i get to see and use them.
    I hope to See from you again, as these minutes watching and writing were totally worth it.

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

    I’m learning engineering in college but idk if I could even fathom learning what was said in this video. It sounded like knowledge that would take me over 4 years to learn. Amazing info and video!

  • @robbymrodrigez
    @robbymrodrigez Рік тому +129

    Would you consider doing a PID project where the constants are controlled by potentiometers? It could be cool to be able to see the working values physically represented and watching the platform's reaction as you change the values in real time.

    • @tristanfirepro
      @tristanfirepro Рік тому +6

      That’s actually fairly easy to do! You just have to do a series of PID op amps and change the resistors to POTs.

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

      ​@@tristanfirepro don't mean to dump on you but pots isn't an initialism or acronym, it's just short for potentiometers. few if any will be offended if you don't capitalize it.

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

      wtf is this nerd bs lmao

    • @tristanfirepro
      @tristanfirepro Рік тому +6

      ​@@BobofWOGGLE I'm not sure what I was on when I typed that comment haha. I think I must've felt the need to capitalize another three letter word after PID! Anyway, it gets the point across. Most schematics have POT as a reference designator anyways so it's difficult to be confused with anything else. Thanks for the heads up!

  • @lolvks
    @lolvks Рік тому +6

    I hope you continue to refine the design! Such a thing would make for an amazing desk toy.

  • @AlexMVW10
    @AlexMVW10 Рік тому +6

    The production value on this video from a guy with less then 8k subscribers is absolutely insane, keep qt it brother! Very interesting, educational video!!

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

      "less then 8k"?
      ..day ago?

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

      ​@pamhunametalle9152 yes it was less then 8k when I commented that, so the fact that it's now 9.5k is crazy, and you know what it's well deserved!

  • @r4dios1lence92
    @r4dios1lence92 Місяць тому

    First video I got from you was the Capstan Drive, and that one was great. Found the first ball balancing, and I was like "wow, he really went a long way in a short time". Being a control and automation engineer, I could pinpoint what explanations weren't okay, most probable causes it wasn't performing well (lack of the integral on the controller being one), but it was obvious the drive to explain, test, troubleshoot, show your math and make a good video was there... that's a lot of effort.
    The difference between these two ball balancing videos are a show of growth, congratulations.
    On another note, the most likely reason you didn't get smooth movement is because PID controllers are good for linear systems. Use it on a non-linear system, and you're depending on luck. When they operate around a stable point of relative linearity, they behave as they should; outside that zone, it's a guess. Two common cases of this is using PID to control magnetic levitation and inverted pendulums, if you want to look into it.
    Since the table is controlled via rotation of the motors, and looking through your equations, this system isn't linear. From what I remember of these systems, they behave like inverted pendulums. About using PID for the motors, that could help since it would de-couple a bit of the non-linearity, but it wouldn't be guaranteed. Some drivers come with built in controllers, so that could also help while increasing the cost. Still, controlling them via the processor you already have would be ideal.
    Also, I'm kinda curious on how you tuned the PID controller. Some situations can have auto-tuning solutions that help, if you don't want to model and calculate the gains for the control setting you want. This case probably has some suite of tests where you can run and have the system tune itself.
    Control theory is daunting, but awesome once you get the hang of it.
    Awesome job, gained another subscriber!

  • @stuffandymakes1648
    @stuffandymakes1648 9 місяців тому +5

    Now, put paper on the platform, rub ink all over the ball, and program it to write cute little notes to people.

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

    This made me think about old CRT monitors paired with light pens for a faux touch screen and the idea of a heavy and dangerous CRT tilting back and forth on loud mechanics brings me joy. But also fantastic work, writing and editing. Absolutely amazing.

  • @Max-wm2gy
    @Max-wm2gy Рік тому +17

    Amazing video! Love the way you handled the position detection. Do you consider making tutorial for the Electronic part?

    • @aaedmusa
      @aaedmusa  Рік тому +11

      Not a tutorial but I made an instructable linked in the description with schematics and instructions.

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

    bro why is it so high quality and lowkey like calming unlike most other engineering videos out there

  • @MitchellRichardson9
    @MitchellRichardson9 Рік тому +12

    where are the people? this video deserves x100 the attention.

  • @benjacobsonn
    @benjacobsonn Місяць тому

    This is sick. Using a resistive touch panel is super clever

  • @Jiglias
    @Jiglias 11 місяців тому +10

    cool video, bad tetris

    • @jarrodjob
      @jarrodjob 6 місяців тому

      Yes. Concept of “Finesse” must be learned.

    • @Huetoast
      @Huetoast 6 місяців тому +2

      that gameplay is actually pretty average for most players

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

    Ngl as awesoem as this is (And congrats getting it working as well as you did), the most brain tickling part of it is how when you turn on the balancing plate, the entire plate lifts up ready for the ball. I can't explain why, but that very tiny detail tickles my brain just right

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

    Incredible video. So many maker channels don't mention the details at all and I'm left with more questions than answers. I love how you included the math and design process in the video. Really cool video, I subscribed.

  • @tetsuoshima6100
    @tetsuoshima6100 7 місяців тому +1

    I love that you used an old school resistive touch screen, such a cheap and efficient way of doing it

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

    This is quite excellent thank you for not cutting the super satisfying ball motion at the end short. All you needed to make this even better than it already was is some contrived reason to move the ball on the platform. Maybe it follows your mouse during an intense gaming session, Maybe it follows your position on a court while you play tennis. Maybe you need to follow the path of a figure skating performance. You were one element away from this being an even more incredibly viral hit. That is of course only my opinion. Subscribed can't wait for more.

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

    This is so cool and a perfect combination of applied further mathematic, CAD Design and EE. This looks like a huge step up from your previous prototype in terms of accuracy and resolution. Its evident that changing the rotor from 200 -> 3200 steps, makes a big difference in functionality and accuracy, delivering 0.1125° of precision vs 1.8°. As an EE student, this video has given me a few ideas to carry into other projects.

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

    Just found out my video is recommended the most by this video, and i just recently discovered you. I love the quality, and you're an inspiration for me

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

    That ending was hilarious, when it yeeted the ball off and started celebrating like a caveman who just discovered how to make fire.
    Definitely worth a sub, might get some inspiration to continue one of my many benched projects

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

    Chanells definitely going places, such a relaxed tone and atmosphere

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

    And I was happy because I was able to implement a state machine that worked like a charm in an atmega328pb microcontroller... when I grow up I want to be like Aaed! This is very inspiring work. There is a lot I still need to learn!!!

  • @rijden-nu
    @rijden-nu Рік тому +1

    I cannot imagine the amount of work that went into just editing this video :o Let alone the amount of work in the actual product. This is absolutely amazing!

  • @maciejtanski5302
    @maciejtanski5302 8 місяців тому +1

    Like u just did something a person could write their Engineering Thesis to pas the studies in like less than 10 minutes film. Like bro. Legendary

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

    Awesome project, really well executed! And the video is also great!

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

      Thanks! Big fan of your videos

  • @peteasmr2952
    @peteasmr2952 9 місяців тому +1

    That sweet dreams beat made me so happy! What a cool project!

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

    I was working on a similar project for an electronics class back in college, it's good to see someone else using the resistive touch pad as well instead of a camera. Mine never worked properly because I didn't know anything about PID's, but I'm glad I wasn't totally on a dead end.

  • @0osk
    @0osk Рік тому +1

    Awesome video! I would have never thought to use a touchscreen to track the ball. That's such an elegant solution.

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

    It's so mesmerising watching the ball dancing on the platform. Fantastic stuff!

  • @Kimandy6862
    @Kimandy6862 6 місяців тому

    You learned the law of cosines in 8th grade? Dude, I’m an engineer and have a great math background but you’re on a different level. I love your work.

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

    Amazing stuff, can't wait to dive into PID for my projects ! You showed me the possibilities, thanks!

  • @spartan076
    @spartan076 Місяць тому

    Your humor is hilarious dude. I like looking for hidden easter eggs in your vids. Always a good laugh. I wish I was more engineering focused in my career, not to mention, into coding.

  • @unnxmed699
    @unnxmed699 6 місяців тому

    What would be really interesting to see is using machine learning with reinforcement learning to program this.
    you could use the exact same system, have the inputs of where the ball currently is as x and y, and outputs of the three stepper motors, then you reward it if it's close to the center and punish if it's far and punish really hardly if it falls off. would be interesting to see where that ends up

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

    Great work! It would be possible to simulate and tune this in simulation and speed up the tuning process. Although easier than it sounds, building up that pipeline would help immensely for future tuning projects. Keep it up

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

    Love the attention to detail at 4:01 😂
    keep up the amazing work bro

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

    pretty cool, i am an electrical engineering student and i've just learned about PID systems. this is a reason why i want to learn it

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

    bro deserves way more subs with this amount of quality

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

    I bow to my knee, master! Your creation is perfect! Thank you for the inspiration!

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

    Amazing, great project done well!
    Now put an OLED under the touchsensor, make it draw the current position of the ball. Maybe even draw both the intended and the acutal position to visualize the movement error.

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

    man your a genus I realise and appreciate how hard this was to achieve, but i imagine you putting the robot on the ball and moving itself round the table

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

      hmm does the ball have a reactance motor inside or does the ball balancing robot let the ball slide and stay balanced?

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

    this dude is insanely smart. its criminal he only has 10k subs. dont stop grinding man ur gonna be on top soon

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

    Just saw this in my feed. Nice work! My dad was a Boilermaker too. He got his PhD in Nuclear Engineering there a long, long, long time ago. I rebelled and went to Georgia Tech instead. :)

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

    Thanks for making this available open source... this may just become my summer project! Excellent video!

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

    Just. How more underrated can you be dude?

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

    This channel is underrated. Great video bro, I wish your channel grows!

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

    Funny and brilliant. Keep em coming brother man, impressive all around.

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

    I really like that little movie!
    Nicely done, Sir!

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

    Phew, a really great result, well put together, seems like something a very seasoned maker would put out.

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

    This is so cool. Thanks for sharing the process of building it.

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

    Having observed your progress thus far, the council has seen fit to award you the official title of nerd.
    Additionally, having noted the humor contained therein, the council has seen fit to also attach the honorary title of dork.
    Good work. 👍

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

    this is one of the rare vids that made me smile keep it up buddy

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

    This is one of the coolest things I’ve seen in a while!

  • @rng11163
    @rng11163 3 місяці тому +1

    Is there a way to know the dimensions of the final design and parts for example how long and wide it is in centimeters?

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

    The way u apply calculus to the project make me have more interest in calculus, btw u are really a genius

  • @dave9105xcxcx
    @dave9105xcxcx 8 місяців тому

    I would love to see longer videos of your projects with a more detailed breakdown and instruction on what you do, for example working through the math in this ball balancer, or doing the coding. Your projects are great and i would love to try some of them :-)

    • @aaedmusa
      @aaedmusa  8 місяців тому

      Thanks! While it would be nice to do deep dives into the code and equations, I'll lose a lot of the audience's attention.

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

      @@aaedmusa I don't think so at all. People can just watch another of your videos if it's not for them, but I think anyone watching these sorts of things will be naturally curious to understand more. Perhaps you could do a poll video and ask if people want more detailed videos - get them to vote in the comments ...

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

    This brings back memories. I did an almost exact thing in university using analogue circuits, that was 26 years a go.

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

    Nice use of Eurythmics. Also, nice use of partially-orange cat. I'm already subscribed, because you do all kindsa projects I don't want to invest time, materials, and attention in to. To repeat what I said before: whenever you graduate there will be an embedded systems job waiting for you. I wish Parsec had the dough to grab you up, but I can't keep us fed now as it is.

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

    V2 is a badass, 8:03 he's doing V1 moves when it tries to center the ball, but he's doing it "Deliberately"

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

    ur content deserves more views, Keep up ur good work

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

    Great engineering, design and problem solving. Well done.

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

    Beautiful! Well done, Aaed!

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

    Really cool project! Very cool display of calculus too, I still need to learn it. Would love to see your take on a balancing pendulum or robot arm holding something spinning.

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

    I love seeing the iteration from the previous version. I wonder if this new method can be combined with the optical technique to solve those ball rolling mazes?

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

    This is so cool. It is cool to see math from classes I'm taking being used in a project.

  • @PeranMe
    @PeranMe 6 місяців тому

    This is so awesome! Good work, and thanks for sharing with the rest of us!

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

    This is really cool!! I've never seen a unique idea that is this creative and functional!

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

    Must be pretty cool to be a straight up genius.

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

    I can't finish watching this because I'm getting overwhelmed by unrelated intrusive thoughts, but just know that I've loved it so far

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

    Concept, execution, editing, on point. Subbed

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

    so good man! very clean. thanks for keeping the video tight. very well done my man

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

    Bro! - Good work!
    Next project suggestion:
    the Cubli - a cube using reaction wheels to balance itself on an edge or point.

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

    Amazing. Would be nice to see that last series of shapes from directly above the platform.

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

    👏 👏 don't know why your channel just barely showed up on my feed

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

    Super cool! Definitely an improvement over the last design.

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

    well done! There still seems to be a bit of "jitter" or nervousness in the responses. You can either increase dampening (might be tricky for 2 PIDs) or add a simple low pass filter to get these out.

  • @ImolaS3
    @ImolaS3 8 місяців тому

    Lovely project. I did something similar around 15 years back with one of my MSc students and the mechanics are not a patch on yours. I would have liked to see a little more detail in the video (I think explaining why the kinematics equations were developed and the actual PID tuning values and effects of changes would be nice in a video) but I guess it is on the instructables
    and Github

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

    Not even a robotics guy personally, but this was such a cool little project. Mad props to you good sir keep up the interesting content 👍

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

      Also just because I'm curious how cool would it be to upsize the platform and actuators to allow multiple balls active and tracked with different balancing points a time :O

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

    Beyond impressive! This was fantastically awesome engineering.

  • @jean-danieldeschenes7379
    @jean-danieldeschenes7379 Рік тому

    This is awesome quality work there, thanks for the video and I hope to see more of your projects!

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

    Excellent project and video

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

    wait what how do you only have 6.1k subs this work is very nice and presentation is also nice. You should get more love from the algorithm. i hope you are at the beginning of the exp curve. please keep up the good work.

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

    I really love to see such amazing engineering. :D

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

    Awesome video mate! I think it would be really cool to have a screen under the surface so you could make it look like the ball was drawing. Could be cool to make it look like the ball was "drawing" the time.

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

    Fascinating! Well done sir. It is not often that I come across a gifted mind. You are indeed special.

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

    very nice choice of music. love this song and concept.

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

    Very cool! Interesting we did learn the Basics back in Highschool to be able to do all this but never had the hardware to experiment.

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

    how come this channel does not have a million subscribers?... awesome channel!

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

    Brill man brill!!! Lov-a this-a!!!! Only that the Tetris meme, threw my attention every time "ball balancing" came up!

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

    This would look AWESOME from a near-isometric camera mounted above the plate - The plate would look entirely static, and the ball would just be zipping around constantly

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

    Congrats, you also made a very overengineered gyroscope