Another Arduino project - Your Arduino Balancing Robot (YABR) - Part 1

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ก.ย. 2024
  • In this video I build an Arduino balancing robot. The code that I use is self-written and is available from my website. A detailed built tutorial, drawings for the frame and electrical schematics can also be downloaded from my website:
    www.brokking.ne...
    If you have any questions please check the Q&A page first:
    www.brokking.ne...
    The code is explained in detail in the following videos:
    Part 2: • Another Arduino projec...
    Part 3: • Arduino project - Your...

ความคิดเห็น • 816

  • @markgreco1962
    @markgreco1962 7 ปีที่แล้ว +29

    When you click on the motor to view the item it takes you to a 42mm stepper motor. Should it be a 35mm
    Is this wrong on your site??

    • @Joop_Brokking
      @Joop_Brokking  7 ปีที่แล้ว +25

      Thank you for your comment. I checked the link and you are right, it's the wrong link. I corrected the link on my website and it has the correct link now. Thanks again!

    • @osmanozutemiz1366
      @osmanozutemiz1366 7 ปีที่แล้ว

      Mark Greco do not place lipo on top, noob . lipo is heavier part in this project. it should be in bottom

    • @markgreco1962
      @markgreco1962 7 ปีที่แล้ว +10

      osman özütemiz I will build it exactly as Joop has done the project
      It is important for the battery to be on top for inertia

    • @Joop_Brokking
      @Joop_Brokking  7 ปีที่แล้ว +16

      Osman, did you even watched the video? You need some inertia on the higher part of the robot to get it to work. Check this video on how to balance a stick on you finger: th-cam.com/video/lk_Pwu7nf1U/w-d-xo.html

    • @osmanozutemiz1366
      @osmanozutemiz1366 7 ปีที่แล้ว

      Joop Brokking no, i dont know english im using translste

  • @sergiocastellani9823
    @sergiocastellani9823 7 ปีที่แล้ว +44

    Joop i still didn't see in the net anybody with such complete and accurate informations/instructions as you. I deeply appreciate your effort and above all your passion. Many should learn from you.

    • @nikkon27
      @nikkon27 7 ปีที่แล้ว +2

      I also want to say the thorough information you provide is great!
      The bringup steps, checking for overcurrent, etc, are particularly good. These steps are important for any project but almost never discussed. Many folks that view this tutorial, even if they don't build the robot, will learn important concepts they can use on future projects.

    • @VietNguyen-rf1ov
      @VietNguyen-rf1ov 6 ปีที่แล้ว

      Hà Nội của em

  • @ottokueng4236
    @ottokueng4236 7 ปีที่แล้ว +5

    Thank you Joop, never seen such a perfect tutorial.
    The language clear to understand, no music, and all details to download.
    I just ordered the material and will try to reproduce this Robot.
    I'm shure, I will learn a lot.
    I can't understand those who gave a thumb dawn.
    Kind regards
    Otto

    • @Joop_Brokking
      @Joop_Brokking  7 ปีที่แล้ว

      Thank you for writing me this comment. I really appreciate it!

  • @Da_Black_Man
    @Da_Black_Man 7 ปีที่แล้ว +1

    this is one of the first videos I actually see good wire management on the project

  • @neilmcnaught995
    @neilmcnaught995 5 ปีที่แล้ว

    Bit late to the party. Just made this Robot and must say what a well laid out and explained tutorial. I used 3D printed versions of the wooden bits. Had a bit of a problem with electromagnetic interference but tidying up the wiring and a couple of ferrite cores on the motor wires solved it.

  • @hikotee
    @hikotee 7 ปีที่แล้ว

    I had nothing to do with the project but the description and commentary is so nicely done, it's just perfect!!!

  • @tiendatnguyen7983
    @tiendatnguyen7983 4 ปีที่แล้ว

    i havent seen the next ep2 and ep3 videos, but i must say that your code and how you express your intruction in this ep1 is very very clear to understand, thank you for that

  • @Dronebotworkshop
    @Dronebotworkshop 7 ปีที่แล้ว +15

    Excellent design and a great video!

  • @williamna5800
    @williamna5800 7 ปีที่แล้ว +3

    Any time I see a video from you I know its going to be interesting as well as educational. I enjoy the simple, complete and interesting way you present your video info. (for anyone who does not understand the concepts/idea of a balance bot and how it works using an accel/gyro look back in Joop Brokking's videos for compete simple to understand videos, using his DIY arduino quadcopter as the platform)

  • @BeetleJuice1980
    @BeetleJuice1980 6 ปีที่แล้ว

    Since you made all this code,it should be super easy to transform this project to a xy joystick controlled project. I think many will like this. Just remove the wireless, the accelerometer and the extra code. It will allow anyone to make a xy controlled project!

  • @sxj42
    @sxj42 2 ปีที่แล้ว

    After I spend more than a month to gather all the stuff and to combine, finally I could build this robot.
    Thanks for you very detail information. But there are some issue that I cannot upload when this arduino is in place... so I have to take out to upload every time.. Anyway I will figure out.
    And you are right "limit current for step motor" is very important, I saw heated and smoke from diode before I limited current.
    Thanks a lot!!!

    • @amazlin8271
      @amazlin8271 หลายเดือนก่อน

      im very late to the party. im trying together all the parts to build the robot. but i have still some questions: he mentions the Arduino Uno on his hardware list, but i did not see it where he place it on his final project?

  • @cigp
    @cigp 7 ปีที่แล้ว

    there is nothing better than knowledge explained such that anyone can enjoy it

  • @AndreasAndrik0s
    @AndreasAndrik0s 7 ปีที่แล้ว +1

    Your work is inspiring, accompanied by your descriptions!

  • @ranulfo102
    @ranulfo102 7 ปีที่แล้ว +2

    AMIGO VOCÊ ALÉM DE GÊNIO, É UM SHOW. VALEU POR COMPARTILHAR UM PROJETO COMO ESSE...PARABÉNS.

  • @TheKetsa
    @TheKetsa 7 ปีที่แล้ว +29

    Nice video, but I miss the most important information...
    How did you achieve self balancing program ?
    You have such a great style of teaching, it shouldn't be left out :)

    • @georgenewbold275
      @georgenewbold275 7 ปีที่แล้ว +6

      My name's not Joop but I can give you some helpful info on what the code is doing.
      The accelerometer will calculate various accelerations on 3 axis. (up/down, left/right, forward/back). We know the robot is standing upright when the forward/back axis (aka x) has no acceleration or the up/down axis would be perfectly aligned with gravity meaning roughly 9.81m/s^2 .
      He is getting the motors to respond to this information, trying to correct the imbalance and rechecking the sensor.
      By using the nun-chuck he can tell the robot to tip slightly forward or back and remain at that tilt for movement.
      The speed can be found using force vectors i.e. physics.
      The likely algorithm controlling the motor speeds is PID control. It is a very flexible algorithm for controlling motors automatically and achieving a desired result (i.e. tilt angle for balance in this case)

    • @leonardvdj
      @leonardvdj 7 ปีที่แล้ว +1

      He does use the accelerometer to stop forwards/backwards motion, but its the gyro data he uses to keep it upright.

    • @Joop_Brokking
      @Joop_Brokking  7 ปีที่แล้ว +12

      Thank you for your comment. I'm currently working on a complete code overview video. But it take so much time to get it finished :-(

    • @TheKetsa
      @TheKetsa 7 ปีที่แล้ว +1

      What a great news ! Thanks.
      I know, video creation and editing is very time consuming... I just subtitled some videos and it took me hours for a few minutes of footage.

    • @MD-vs9ff
      @MD-vs9ff 7 ปีที่แล้ว

      George Newbold It's not "likely" PID, in some of the code excerpts he shows onscreen you can see clearly named tuning constants in the global variables. It's definately PID.

  • @mohammedworld3755
    @mohammedworld3755 5 ปีที่แล้ว +2

    i have to say thank you for your amazing work i built this robot and worked perfectly thanks

  • @diyhouse
    @diyhouse 7 ปีที่แล้ว

    A nice little project to play with,.. clearly explained ( unlike many ),.. with the potential pitfalls of what to look for,.. a definite thumbs up

  • @7AppleFan7
    @7AppleFan7 6 ปีที่แล้ว +2

    Great stuff I enjoyed your projects. Appreciate your effort. Its world class engineering.

  • @ah-ray
    @ah-ray 7 ปีที่แล้ว

    Awesome! I'm working on exactly the same project! I'm using 12V steppers and an adafruit motorshield V2.3 to control them and an mpu6050. When I started the project I just chose stepper motors because I thought they looked cooler haha

  • @BenCzech
    @BenCzech 7 ปีที่แล้ว

    Found this video from adafruit. You've got my subscription. Cant wait to check out the rest of your videos!

  • @MrPetersVideo
    @MrPetersVideo 5 ปีที่แล้ว

    A4988 Driver. Just for information, you can use the A4988 Driver as a direct replacement for the DRV8825 in this robot. BUT you have to add a 5v VDD connection to it - that is next to the GND pin in the 'bottom left corner' (as per schematic PDF layout). Just jumper an extra wire from the 5v connections already going to it.

  • @Pavana_sai
    @Pavana_sai 7 ปีที่แล้ว

    Excellent @joop
    Im going to design this balancing robot too in my lab..
    In previous YMFC is working fine..
    Keep on rocking..
    Now im doing ARDUINO CNC.. Share that one soon..

  • @rogue277
    @rogue277 7 ปีที่แล้ว

    All the hobbyists should take inspiration from your website. Quality bar set quite high

  • @xt1200z1
    @xt1200z1 4 ปีที่แล้ว

    Thanks for the video. I built a dual axis solar tracker, going to build this robot to learn the MPU9265 to aid in my tracking instead of LDRs (doesn't do very well in cloudy conditions)

  • @davidsempere276
    @davidsempere276 6 ปีที่แล้ว

    Hello!
    First, I would like to say that I'm not an english speaker, so, excuse me for the ortography and the explanations.
    I'm an electronic student and I am making your balancing robot project (thank you for it, it's a good and nice project). I have all devices fixed and running, but the problem is the robot doesn't keep the balancing. If I put the robot in the air (keeping it with my hands) and I turn it (the vertical position), the wheels goes in one or in other sense (this show that the code is ok), but the control is not very good and this does that the robot fall down when I let it in the floor (he turns the wheels but doesn't change the sense in time).
    Other problem is the motors don't go with 1/4 stepping, If I put this setting, they run only if the robot is in the air, If I let it in the floor they stop because they need more tork (I think).
    All pieces are the same that yours, and I have the same configuration in drivers (0,145 A), the only think different is my drivers are setting in 1/8 stepping.
    Can you help me?
    Thank you very much

    • @Joop_Brokking
      @Joop_Brokking  6 ปีที่แล้ว

      Make sure to set them to the same setting as described in the video. And also set the correct current for the controllers.

    • @davidsempere276
      @davidsempere276 6 ปีที่แล้ว

      Joop Brokking
      Thanks for answer. I got solve the problem, I changed a little the PID values, and now it works good (I think that is because my stepping is not the same and the distance per pulse is different) The only problem that I have now is when the robot starts, he goes straight about 3 or 4 meters before stop and keep the balancing state. Do you know why happen this?
      Thank you.
      (If you want, when I finished, I can share my project. I've changed some parts, like the structure, that it was print in a 3D printer, and the Nunchuk is in a 3D print structure too and runs with an arduino mini , one DC-DC conversor and a 9V power supply.

    • @Joop_Brokking
      @Joop_Brokking  6 ปีที่แล้ว

      When you need to change the PID values the self balancing calculations will also need to be changed. I explained the working in the video.
      It should be these lines:
      //The self balancing point is adjusted when there is not forward or backwards movement from the transmitter. This way the robot will always find it's balancing point
      if(pid_setpoint == 0){ //If the setpoint is zero degrees
      if(pid_output < 0)self_balance_pid_setpoint += 0.0015; //Increase the self_balance_pid_setpoint if the robot is still moving forewards
      if(pid_output > 0)self_balance_pid_setpoint -= 0.0015; //Decrease the self_balance_pid_setpoint if the robot is still moving backwards
      }

  • @MikeysLab
    @MikeysLab 5 ปีที่แล้ว +1

    Thank you for the inspiration, think I will build something like this for my April project!

  • @everythingquads
    @everythingquads 7 ปีที่แล้ว

    Nice little project. This has lots of scope to be able to learn and replay movements..

  • @120ohm
    @120ohm 4 ปีที่แล้ว +1

    Thanks for the great tutorial! So concise, like a Swiss watch!

  • @DevineIshaq107
    @DevineIshaq107 7 ปีที่แล้ว

    Very comprehensive , Thanks for teaching this subject , Nice presentation

  • @BernhardHofmann
    @BernhardHofmann 7 ปีที่แล้ว +4

    Excellent video yet again, thank you so much! ☺

  • @KaivitiSingh
    @KaivitiSingh 4 ปีที่แล้ว

    Interesting and Fully explained project. THanx for your efforts Joop Brokking. I can see that the post is old, so now: How about now using a Nano instead of Pro Mini together with 2x A4988, 2x JDY 40 2.4G (NRF24L01) and Stepper Motors +MPU6050. This would reduce the costs to less than 50% of what was in those years. Also the JDY-40 2.4G will not require a second Arduino (Uno in your case) for the remote (use simple 4 buttons sw for FF, RV, TL, TR all wired straight to the board ). this will make a tiny hand held RC operating with a small lipo. Loved your patience in Explaining in all the 3 video clips....I listened to them all.

  • @ananthmuppidi7629
    @ananthmuppidi7629 7 ปีที่แล้ว +1

    Very well done. Excellent craftsmanship . I love your videos. Keep making more!!!!
    I subscribed :)

  • @skyreacher79
    @skyreacher79 6 ปีที่แล้ว

    Thank you very much for this video and the instructions. I've just finished building my self balancing robot based on your instructions. A great project to learn more about these components, fun to build, and even better it works perfectly and is fun to use :-).

    • @Joop_Brokking
      @Joop_Brokking  6 ปีที่แล้ว

      Thank you for sharing and great to hear that you learned something!

    • @gordonpayne8601
      @gordonpayne8601 6 ปีที่แล้ว

      Hi Skyreacher. Congratulations on getting your robot project working.
      I've been working on this project for about 4 months. I'm at the point where I've soldered the boards and I know that my DRV8825s work and are set to appropriate current for the motors. I'm able to drive the steppers via the 8825s on a separate arduino circuit, no problems.
      However I'm finding some strange things on the main circuit. On Joop's diagram, resistors R2 and R3 are connected. Does this not effectively short out the purple and black and gray wires on the diagram? I get about a short between the gray and purple connections for the 8825s(lower right two pins) even when the 8825s are not on the board.The low voltage (5V) side of the circuits seem fine, but the high voltage side just goes to full power and the motors are frozen when the power is on. Can you confirm that the -ve side of the battery feeds BOTH the ground pins on the 8825s AND the GND pin on the step-down transformer that gives me the 5V supply for the components and around the low voltage sides of the circuit boards?.
      I'm at the point where I'm thinking of starting again with the circuit soldering. Any insights you can offer are greatly appreciated. I'm really looking forward to completing this project as I'm on a robotics study group in my board of education in Ontario Canada, working to build our capacity in Arduino and robotics.

    • @skyreacher79
      @skyreacher79 6 ปีที่แล้ว

      Hi Gordon! Search for "voltage divider" to understand what R2 and R3 are doing. This part of the circuit is completely OK, it does not create a short. The wire between R2 and R3 is connected to A0 on the Arduino - this is used for monitoring the battery. When the battery becomes weak, the robot will stop working without damaging the battery.
      Yes, ground is the same on the whole circuit. All the black and light grey lines on Joop's diagram are connected. It sounds like there's a problem with your lower right two pins of the stepper driver (where high power is feed to them). If you test your circuit, there should be no connection between them. Having a short there can be dangerous for your battery! I'd not connect the battery at all, as long as the problem is there. Check your board very carefully, there must be a soldering problem somewhere (a connection between the purple and the light grey/black lines).

  • @nomanmalik5215
    @nomanmalik5215 4 ปีที่แล้ว +1

    Thanks for such nice and comprehensive tutorial Joop :)

  • @limitless2715
    @limitless2715 6 ปีที่แล้ว

    THANK YOU SIR YOU HAVE ENRICHED MY LIFE ! I have just completed this project and it works perfectly ! I have next to no hope of understanding your code but I am not afraid to tinker. Is it possible to play with the travel speed? I am already experimenting with weight carrying capacity and then height. But a speed change would require a code adjustment that I am not sure is a simple thing to accomplish.Again thank you you made an old'ish man young again.

    • @Joop_Brokking
      @Joop_Brokking  6 ปีที่แล้ว

      The maximum speed can be changed with this line that you can find in the code:
      float max_target_speed = 150; //Max target speed (100)

  • @gnomes8613
    @gnomes8613 7 ปีที่แล้ว

    Thanks so much! I've been looking for such a tutorial for such a long time!

  • @Waltkat
    @Waltkat 7 ปีที่แล้ว

    Very cool project. I just bought an Arduino 101 which has a built-in 6-axis accelerometer, gyro and Bluetooth and may build one of these robots using it. I would like to try controlling it with my cell phone via a Bluetooth connection.

  • @maskman4821
    @maskman4821 7 ปีที่แล้ว +1

    awesome project and thanks for the explanations and detailed info , data etc.

  • @SmasherOffiziell
    @SmasherOffiziell 7 ปีที่แล้ว +4

    This is great! Greetings from Germany!

  • @ottokueng4236
    @ottokueng4236 7 ปีที่แล้ว

    Congratulation, a really perfect Tutorial.
    If every teacher would have your qualtity, the world would be much further.
    Also verry good, no stupid music in the background as often.
    So your words are verry clear to understand, also by non english mother tonge people.
    Thank you
    Otto

  • @ajaybnl
    @ajaybnl 7 ปีที่แล้ว +1

    Very Pleasent Tutorial & Video. Thanks for making my day.

  • @alexcarrasco2774
    @alexcarrasco2774 7 ปีที่แล้ว +1

    Really thanks for this project, I made this and works perfectly, really thanks for sharing, all of your projects are amazing, regards from Ecuador

    • @hemantsinghrautela1590
      @hemantsinghrautela1590 6 ปีที่แล้ว

      Can you tell me which type of stepper motor (bipolar or unipolar) Joop have used?

    • @azone3499
      @azone3499 4 ปีที่แล้ว

      hi sir may i ask about the rpoject?

  • @danieldare2640
    @danieldare2640 7 ปีที่แล้ว

    You are an awesomely inspirational person thank you for your videos

  • @tamojitsaha1128
    @tamojitsaha1128 7 ปีที่แล้ว

    Hello Joop,
    This project is awesome. Very much descriptive.
    I would like to suggest you to make a video series on developing a micro quadcopter with serial transceiver(eg. HC-05) or nrf24l01+ with self made remote(transmitter) just like you made YMFC video series.
    There is no such proper tutorial in youtube. I hope you would appreciate my suggestion and help enthusiasts just like you and me.

  • @jimmykan7873
    @jimmykan7873 7 ปีที่แล้ว +1

    Very cool project. Thanks for sharing your work!

  • @suijsj
    @suijsj 7 ปีที่แล้ว +1

    Thanks for documenting and sharing this project!
    I had an old, original nunchuk lying around which is was not recognized by the test program. Adding delay(1) after 3 of the Wire.endTransmission() statements fixed it. I guess these old ones are slow ;) If you want, I can send you the fix.

    • @yuchoy1
      @yuchoy1 7 ปีที่แล้ว

      Thanks again Joep! Your delay fix for line 39 was all that was needed to get my very old original nunchuk working in the remote. The other important fix in my setup was to delete the 4K7 resistor in the robot that Joop has on the TX line of the transceiver...the signal could not make it through (BTW I am using a Nano in my robot, not a ProMini)

    • @suijsj
      @suijsj 7 ปีที่แล้ว +1

      Nice :)
      And indeed, the trick with the resistor probably doesn't work on a Nano. Make sure you disconnect the tranceiver before reprogramming the Nano...

    • @yuchoy1
      @yuchoy1 7 ปีที่แล้ว

      Thanks again Joep! Is the remote supposed to be proportional (faster if you push it farther)?

    • @suijsj
      @suijsj 7 ปีที่แล้ว

      The remote isn't proportional. It is digital by design.

    • @yuchoy1
      @yuchoy1 7 ปีที่แล้ว

      Joep Suijs: I guess my remote works properly then, it only produces a 1 or 2 or 4 or 8 depending on the position of the joystick 😊

  • @cryppsomar8771
    @cryppsomar8771 7 ปีที่แล้ว +1

    Excellent !!! Thank You for sharing your Knowledge !!!

  • @enerikkapllanaj8541
    @enerikkapllanaj8541 7 ปีที่แล้ว

    Very nice project you have here.
    Everything is explained very good .
    Good job ! Keep it up .

  • @iocircuits
    @iocircuits 4 ปีที่แล้ว +1

    Great Work, i am building this one, really nice. Thanks a lot

  • @jacquesclaude210
    @jacquesclaude210 6 ปีที่แล้ว +1

    Absolutely awesome video, so if I wanted to make one twenty times the size, would the code have to be altered or not?

  • @electronicbob6237
    @electronicbob6237 7 ปีที่แล้ว

    Great Video ..very well explained.....as always......Thanks !!!
    BTW....Stepper Motor`s are an excellent choose for this project
    because of ...no backlash....in ballancing mode...

    • @plamenpetkov7132
      @plamenpetkov7132 4 ปีที่แล้ว

      There are more benefits to the steppers - accurate (matching) speeds, direct speed command.
      The DC motors are normally controlled by just duty cycle. This is not speed but rather power control. There is a dead zone at low duty cycle (no motion due to friction). As a result more stable ballancing position (I built first one with DC motors)

  • @tetradb_
    @tetradb_ 7 ปีที่แล้ว

    2 seconds in, I already know this is going to be awesome! 👍 :)

  • @timenotspaceproduction
    @timenotspaceproduction 6 หลายเดือนก่อน

    this is excellent work , how small can this be feasible do you think , based on currently available components ?

  • @ausprobierendannweisstdues8686
    @ausprobierendannweisstdues8686 6 ปีที่แล้ว +2

    Respect man, very nice project!

  • @Der_Leoradler
    @Der_Leoradler 6 ปีที่แล้ว

    Great project! First the robot didn't work, but now it works. I had to wire the left motor with the right motor driver and the right motor with the left driver, then the balance worked. But why I must do this?

  • @plamenpetkov7132
    @plamenpetkov7132 4 ปีที่แล้ว

    I used 0.9 deg/step motors and accordingly set the drivers for 1/2 step instead of 1/4 step

  • @fabiostranieri7471
    @fabiostranieri7471 3 ปีที่แล้ว +1

    Hi Joop, before to start with building, I'm studing your code and video. I read the comment here. Why it is so important the exat position of the MPU-6050? Why it shouldn't work if I put MPU-6050 a little bit top or bottom, right, left? Thank you in advance. BR

  • @ncueman
    @ncueman 6 ปีที่แล้ว +1

    When I click on the 《1 x Mini DC 7~28V to DC 5V step-down converter》 to view the item, it takes me to a 《Mini DC 7~28V to DC 5V Step-Down Converter Power Supply Module》.
    But the Power Supply Module is different with your "yabr-schematic_robot.pdf".
    Is this wrong on your site??

    • @a..d2062
      @a..d2062 3 ปีที่แล้ว +1

      I FOUND THE SAME, DID U FIGURE IT OUT. thanx

  • @MillaeGiuliano
    @MillaeGiuliano 7 ปีที่แล้ว +1

    Great Man! Thanks for posting video and plans.

  • @aliveelectronics5529
    @aliveelectronics5529 5 ปีที่แล้ว +3

    Dude, can you tell me how you got to these levels of pid control?

  • @johnjohn-ed9qt
    @johnjohn-ed9qt 7 ปีที่แล้ว

    Why the separate tuning for balance point? The addition of a single button (press when the robot is upright and the current value is used as the cal value) and a couple lines of code make it easier. Better yet is fully self calibrating, but that is a bit more work-- I am too lazy to code it for an application like this.

  • @espenbgh2540
    @espenbgh2540 7 ปีที่แล้ว

    Nice and clear demonstrationen and the same for to the documentation as to what one need and how til assemble, much better than most others.

  • @thomaschesscafe
    @thomaschesscafe 7 ปีที่แล้ว +1

    Genius! Just simple, Genius!

  • @amazlin8271
    @amazlin8271 หลายเดือนก่อน

    Hoi Joop. dankjewel voor je moeite en duidelijk info. ben je nog actief Joop met hobbies?

  • @twinclouds01
    @twinclouds01 6 ปีที่แล้ว

    Hi, Joop: It's very interesting and you explained very well. I don't know if I missed while watching but the only thing I didn't clear after I saw you video is how the remote controller is connected. I know one of the transceivers is connected to the Arduino Uno. However, how is the one working with the remote controller is connected. I assume the Anduino's microcode will take care of their operations. If there's anything else, maybe I will ask next time.

  • @ahmedallam9612
    @ahmedallam9612 6 ปีที่แล้ว

    Thank u so much Mr Joob for this perfect and accurate explanation, best regards

  • @titigermain
    @titigermain 7 ปีที่แล้ว

    Hello Joop,
    Congratulations on your vids you upload on the web.
    There are very interesting, clear, with a good quality. Furthermore, your english is quite understandable.
    Taking in account one of your vids, I built a inclinometer for a friend of mine who wanted to get a device to park his camping car as flat as possible. The device worked fine straightforward.
    As far I am concerned, I build a segway clone. At first, I got all information on an american website.
    The system uses an Arduino Uno + MPU6050 + Sabertooth 2X25 + 2 motors DC 24 V + 2 batteries 24V + and, of course aduino code.
    I face many dysfunctions, especially the I2C bus which breaks, and motors go mad. When I read all posts on the website, it appears that too many people are in the same situation.
    I wondering myself whether the description is 100% reliable.
    So here is my question :
    I have seen your description of your balancing robot.
    In the same way, do you expect to publish a description of a segway clone. According to your experience, I am sure that it would be quite reliable.
    In fact, I suppose that minor modifications have to be made on the existing balancing robot code.
    Best regards,
    Jean-Claude from France.

    • @Joop_Brokking
      @Joop_Brokking  7 ปีที่แล้ว

      If the I2C bus gives you problems you need to make sure that you have no interference on the bus. Wires need to be soldered reliable and the power supply must be clean (filtered form the motors).
      Check my videos about EMI that I made earlier:
      th-cam.com/video/aebO91Xa3Pw/w-d-xo.html
      Also watch part 2 and 3!

  • @rodstartube
    @rodstartube 7 ปีที่แล้ว

    Nice project & documentation Joop, congratulations! However, the 12v/5v DC/DC step down converter is not necessary. You can plug directly the battery to the Arduino's RAW pin, then the DRV8825's and the MPU6050 can be fed from Arduino's 5V pin. Also, adding a capacitor for the stepper drivers would not be a bad idea.

    • @Joop_Brokking
      @Joop_Brokking  7 ปีที่แล้ว

      The regulator on the Pro Mini can only deliver approx. 100 - 150mA. With the transceiver on the voltage regulator of the Pro Mini can overheat and shut down. That is why I used the external voltage regulator.

    • @rodstartube
      @rodstartube 7 ปีที่แล้ว

      Pro Mini's KBAA regulator draws up to 150mA, and your transceiver draws only 21mA(MAX), so there's plenty of available current and so regulator won't overheat. DRV8825's logic side are even less current hungry.

    • @plamenpetkov7132
      @plamenpetkov7132 4 ปีที่แล้ว

      Read the stepper driver datasheet! It requires at least 8V and being inductively loaded generates spikes ot its power rail. The embedded 5V regulator is linear i.e. with limited load handling capability and cannot suppress thye spikes coming from a motor driver.

  • @MrKkprince
    @MrKkprince 4 ปีที่แล้ว

    Great. Why put the Gyro in stand position instead of flat ? For giving plus and minus values from y pitch accelerometer ?

  • @martinmartinmartin2996
    @martinmartinmartin2996 7 ปีที่แล้ว

    I am a newbie trying to learn Arduino_UNO.
    But I can't find enough technical information on using the ATmega_328 to connect the Arduino_UNO to a NOKIA_1100 display.
    Apparently there are 2 different ways to program the Arduino to input data to the NOKIA_1100
    (1) ATmega328 processes SOFTWARE so that _shiftout() enters the data to the NOKIA_1100
    OR
    (2) ATmega328 uses the SPI library to enter the data to the NOKIA_1100, requiring the use of specific Arduino_UNO pins:
    Digital_pin13, SCK (clock); Digital_pin11, MOSI
    The SPI technique is much faster.
    I have searched the various sites that "explain" the setup of Arduino_UNO and the NOKIA_1100, but have NOT found
    a site that explains the difference between the 2 techniques listed above.
    I would appreciate any help you can offer, especially a reference that I can read.
    An answer by a viewer that knows of such a reference would also be appreciated.
    observerms

  • @theawesomer
    @theawesomer 7 ปีที่แล้ว +1

    Cool build! Sharing on The Awesomer.

  • @MathewPendleton
    @MathewPendleton 7 ปีที่แล้ว

    i love the sound it makes

  • @Ferelmakina
    @Ferelmakina 7 ปีที่แล้ว +1

    yeah! this is awesome! I wanna build it

  • @SouthernOregonCoast
    @SouthernOregonCoast 7 ปีที่แล้ว

    Wow, You are high on my inspiration list.
    Looking forward to seeing projects!
    I am converting your YABR PDF to a SVG for my CNC and looking forward to a build.
    I see that you are using a water bath for cutting carbon fiber with your CNC. Have you tried it with plastics to cut down on dust in the belts and gears?
    When you start milling your PCB's the water bath could be an auto leveler?
    Your breadboard construction is very well done, nice attention to detail.
    Thank You for sharing. I like your donation ethics too!

    • @Joop_Brokking
      @Joop_Brokking  7 ปีที่แล้ว

      I never tried to cut plastic. So I have no experience with it. But it reduces carbon fiber dust so my best guess is that it will also work on plastic.

  • @modsley
    @modsley 6 ปีที่แล้ว +1

    Thank you for the great project! One question.. Can I use this platform to make autonomous robot with ultrasonic censor? Or it's impossible because of 4 milliseconds main loop limit? Thank you.

  • @richardfirthucsb
    @richardfirthucsb 7 ปีที่แล้ว +1

    You are awesome! thanks for posting this!

  • @Gabrozzooooo
    @Gabrozzooooo 5 ปีที่แล้ว +1

    I built it, but I have a problem. I NEED YOUR HELP!!
    When I start it, i wait for the end of the blinking, but moving the robot, the motors do not move, they only take a small step when I move the robot from side to side, nothing more!
    I adjusted the drivers well, I tried with other engines, ...

    • @claudiop9691
      @claudiop9691 5 ปีที่แล้ว

      I've the same issue. No answer

  • @DevineIshaq107
    @DevineIshaq107 7 ปีที่แล้ว

    Nunchuck , is just a joystick module Or has some electronics , apart form arduino Or the arduino and the nrf wirelsss are the electronics

  • @bjarnekrog3433
    @bjarnekrog3433 6 ปีที่แล้ว

    Thank you very much for an interesting project. The build is finished apart from the Arduino UNO, WiFi and controller. So my question is; should the robot be able to balance without the WiFi units?? Mine will not balance and seems to have a very large angle between the steppers actuating. It seems that maybe the gyro are correcting the wrong way. I have checked and double checked the wiring and it is OK

  • @danielklassen9667
    @danielklassen9667 2 ปีที่แล้ว

    Hello, very educational video. But one question: What has to be changed if I want to power the robot with cable?

  • @daskasspatzle2396
    @daskasspatzle2396 7 ปีที่แล้ว

    Cool thing ;-)
    I like the sound of the stepper motors :-)

  • @he1i0s
    @he1i0s 7 ปีที่แล้ว

    I worry about battery safety: you just enable LED when voltage is low. Would it be better to cut off batteries in this case? I am going to use 4x18650 protected batteries to make robot more autonomous.

  • @marcio6498
    @marcio6498 5 ปีที่แล้ว +1

    Hello Mr. Joop Brokking, how are you, all right? I really admire your work, so I will make a YMFC drone just like yours. I don't know if I'll make it, but I'll try. I also intend to make a self-balancing robot, both for course work, but I have some doubts. If you can help me, I would be very grateful. I don't want to bother you, but I would like some questions. Mr. Could you tell me which Mini DC 7 ~ 28V to DC 5V converter you are using because I want to make a robot exactly like yours? I can't find an equal. I found the LM2596 e o MP1584, but I'm in doubt about the connections. Please my friend help me. A hug.

    • @Joop_Brokking
      @Joop_Brokking  5 ปีที่แล้ว

      You can use the one that I have listed on my website. The one that I used is more expensive.

  • @woodtv4481
    @woodtv4481 3 ปีที่แล้ว

    IS SIR JOOP OK? I KINDA MISS HIM FOR HIS WONDERFUL TUTORIALS... I HAVE LEARN SO MUCH FROM HIS CHANNEL. HOPE HE'LL BE MAKING MORE VIDEOS SOON.

  • @plamenpetkov6958
    @plamenpetkov6958 4 ปีที่แล้ว

    I had a weird problem with the remote. I used Pro Mini and both I ordered turned out to run at 1/4 of the prescribed baud rate. Same with delays.
    Apparently the vendor installed wrong crystal. Blink sketch runs at 1/4 speed too.

  • @___xyz___
    @___xyz___ 7 ปีที่แล้ว

    Oooh! I've been meaning to build something like this!

  • @ruke1ire
    @ruke1ire 7 ปีที่แล้ว

    Are there "performance loss with variable battery voltage" for brushless dc motors as well? or do brushless motors behave like stepper motors?
    Thank you for the awesome videos, it has always fueled my interest in control engineering.:D

  • @HeibertJ
    @HeibertJ 7 ปีที่แล้ว

    I made my own balancing robot with dc motors and it worked. but it is a good idea to use stepper motors. thanks.

    • @plamenpetkov7132
      @plamenpetkov7132 4 ปีที่แล้ว

      I did too and the stepper version worked better. There is a reason. Steppers are directly speed controlled and left and right are absolutely matched. DC motors are duty cycle controlled (alas that is rather power than speed control). Also they have dead zone i.e. do not move at all at low duty cycle and as it increases (overcoming the friction) respond with whip lash

  • @filamentnovice1846
    @filamentnovice1846 3 ปีที่แล้ว

    When I look at the photo of the prototyping PCB it looks like the FAULT pin is connected to the + 5V. Is this correct? I don't see in the schematic that pins 9 to 16 are all connected as it appears on the PCB. My fuses blow every time I plug in a DRV8825. With or without a stepper motor connected.
    @Joop, for information, the schematic in pdf on the website, the FAULT pin is not connected. I started from this schematic purely and alone. After watching the video again, it appears that the schematic in this video used has been drawn correctly.

  • @zx10rheinzi
    @zx10rheinzi 5 ปีที่แล้ว

    In the lowest connection line of the stepper-driver you have in the "Build image 09" ALL eight pins connected, but in the "yabr-schematic-robot" you did connect only 7 pins ! I followed all your instructions, and i made only one difference (NEMA17-Steppers instead of NEMA14), but the motors won't move.......after checking all connections I noticed the difference between the wiring schematic and "Build Image 09" Is that missing connection(5Volt on fault-pin of the stepper-driver) the reason ???

    • @Joop_Brokking
      @Joop_Brokking  5 ปีที่แล้ว

      Make sure to use the schematic and not the pictures. If you use the same components the schematic will work.

  • @darrenwilton4260
    @darrenwilton4260 2 ปีที่แล้ว

    Can the serial module be replaced by a HC-05 blue tooth module without altering the software

  • @easttimes8172
    @easttimes8172 3 ปีที่แล้ว

    Excellent design!!
    can i use Li-ion battery?

  • @dave-j-k
    @dave-j-k 3 ปีที่แล้ว

    Great project and great video - very open and easy to follow, thanks. How easy would you feel it is for a beginner to port this to MicroPython on a Pi Pico?

  • @brandyplays6134
    @brandyplays6134 4 ปีที่แล้ว

    can i use bread board instead of pcb?

  • @ryangill9518
    @ryangill9518 7 ปีที่แล้ว +1

    Great work! Thanks for sharing.

  • @mariov57
    @mariov57 2 ปีที่แล้ว

    the 2.4G Wireless Serial Transparent Transceiver Module is discontinued, any replacement recommendation?

  • @muneebaa877
    @muneebaa877 2 ปีที่แล้ว

    Hi Joop! Thank you for your video. Why did you use 1/4 step mode instead of 1/16? Was it because of torque or to increase the time step?

  • @Rekomeister
    @Rekomeister 7 ปีที่แล้ว

    Can I use an Arduino Pro Mini instead of the Arduino UNO in the remote control ?. There should be no modifications in the code for the remote except for the type of board used . The remote is using only I2C to talk to the nunchuck and serial to talk to the RF module

  • @vladimirsoaresbarros1782
    @vladimirsoaresbarros1782 7 ปีที่แล้ว

    Cool project! Thanks for sharing!

  • @seanocansey2956
    @seanocansey2956 6 ปีที่แล้ว +1

    I'm so happy I subscribed to you 🙂