Arc Robotics
Arc Robotics
  • Видео 14
  • Просмотров 122 206
SMD Component Din Rail Magazine Ease Change V2 v2
Revolutionize your PCB assembly with these newly enhanced SMD Component Magazines
Просмотров: 26

Видео

Arduino Balancing Bot Test Drive
Просмотров 6337 лет назад
Fun with my balancing Bot in the back yard
What is "Motor Minimums" in 60 seconds #PID #BalancingBot
Просмотров 5 тыс.7 лет назад
Detailed description of what Motor Minimum is and how to program it as mentioned in my first video ruclips.net/video/uyHdyF0_BFo/видео.html PWM = map(abs (PID), 0, PIDMax, MinPower , 255); PID is the output from the PID loop PIDMax is the max output the PID loop can generate MinPower is the PWM (Pulse Width Modulation) value where the motors just stop moving abs() is a C function that changes n...
Balancing Bot hops off curb!!! #BalanceBot
Просмотров 6 тыс.7 лет назад
Balancing Bot hops off curb!!! #BalanceBot
RC Controlled Balancing Bot Arduino + MPU6050
Просмотров 2,4 тыс.7 лет назад
RC Controlled Balancing Bot Arduino MPU6050
Balancing bot test 2
Просмотров 3507 лет назад
Balancing bot test 2
Balancing bot code Test for Arduino.cc user DbuKimo92
Просмотров 2967 лет назад
Testing code provided by DbuKimo92 forum.arduino.cc/index.php?topic=397918.0 Response to Post # 103 (Code)
How to Balance Robot PID tutorial in under 2 minutes! #BalanceBot
Просмотров 98 тыс.8 лет назад
Quickly adjust you robot to balance in under 2 minutes. If it doesn't start balancing you probably have other programming issues. I am using a Atmega328P MPU (Arduino Uno) with a MPU6050 Gyro I added this 60 second video to explain Motor Minimum better:ruclips.net/video/YLpCgv8KmTE/видео.html
Balancing Arduino Uno robot mpu6050 with automated turning and driving
Просмотров 2 тыс.8 лет назад
Program to turn every two seconds 90° while driving forward
Arduino balancing robot turning exactly 90° every five seconds
Просмотров 4,5 тыс.8 лет назад
This Arduino UNO balancing robot balances using a MPU6050 code allows it to rotate 90° every five seconds
Testing balancing Arduino bot
Просмотров 1558 лет назад
Testing balancing Arduino bot
Aggressive push to a balancing Arduino robot
Просмотров 6608 лет назад
Aggressive push to a balancing Arduino robot
Arduino uno & mpu6050 = Balancing bot
Просмотров 3888 лет назад
Arduino uno & mpu6050 = Balancing bot
Balancing Robot
Просмотров 1,4 тыс.10 лет назад
Johnny Lightning JLX RC Car Hacked to make a balancing robit See our Kickstarter page at kck.st/1p8OuPW

Комментарии

  • @queenidog1
    @queenidog1 Год назад

    very good video.

  • @nikiniki4237
    @nikiniki4237 2 года назад

    Ótimo 🇧🇷

  • @urielperezdelgado6732
    @urielperezdelgado6732 2 года назад

    Hello sir, I think so, the video is wonderful, I have a question regarding the scaling, PID and PID max, are they the same variable as the output it throws? or in this case if PID max is different how can I get it, I have implemented this algorithm but it starts at PWMmin and quickly goes up to 255 without grading apparently :(, sorry for my bad english

  • @almegdadkhalid5522
    @almegdadkhalid5522 2 года назад

    So amazing

  • @williamsokol0
    @williamsokol0 2 года назад

    i'm using the same TT motors, I was curious what you motor minimum was. I'm still struggling getting the robot to do small nudges and it seems to over move using just p in the pid loop.

  • @alimahmoud8708
    @alimahmoud8708 3 года назад

    how did you tune the PID gain to achieve a better outcome?

  • @budgetarms
    @budgetarms 3 года назад

    You have superpowers, how?

  • @a.sanusinazareth9213
    @a.sanusinazareth9213 3 года назад

    Very nice video - you demonstrate how Kp work in a real project. Bravo! (And, thanks, I enjoy your video tutorial)

  • @drlecteur7297
    @drlecteur7297 3 года назад

    What is the fonction of p and i and d

  • @JUSTICESKNYARKOJTC
    @JUSTICESKNYARKOJTC 3 года назад

    Well Done MAN , this is awesome. Keep it up

  • @sricharandonkada6611
    @sricharandonkada6611 3 года назад

    You did a great job man!

  • @anandprajapati6700
    @anandprajapati6700 3 года назад

    Can u help me

  • @anandprajapati6700
    @anandprajapati6700 3 года назад

    I want to.make same like this

  • @anandprajapati6700
    @anandprajapati6700 3 года назад

    Is it easy to balance??

  • @anandprajapati6700
    @anandprajapati6700 3 года назад

    Wow nice project

  • @showliricopopular4824
    @showliricopopular4824 3 года назад

    HI..Great work..! How did you configure microsteps ?

  • @greatgym2137
    @greatgym2137 4 года назад

    كود لم يشتغل معي افيدنا اخي لوسمحت

  • @saiprasad8700
    @saiprasad8700 5 лет назад

    I made this robot sir. wheels are rotating too fast and not balancing at all. It is moving too wild. how to set kp, ki, kd to balance it.

  • @sfsfsdfsdf9485
    @sfsfsdfsdf9485 5 лет назад

    hi sir ,how can you get the SP, setpoint of this bot ?

    • @arcrobotics5221
      @arcrobotics5221 4 года назад

      Set point is always zero. When the bought leans forward the error goes positive when the bot leans backwards the error goes negative.

  • @Fungineers
    @Fungineers 5 лет назад

    what kinda dance is this

  • @DebeshPradhan
    @DebeshPradhan 5 лет назад

    ruclips.net/video/Zh_zhLi9sU8/видео.html very simple balancing bot

  • @manishshinde6077
    @manishshinde6077 5 лет назад

    Can i get more details about this robot?

  • @nawinlifehacks9978
    @nawinlifehacks9978 6 лет назад

    Hello bro... please make PID based line follower robot with explain..

  • @shivamchauhan4949
    @shivamchauhan4949 6 лет назад

    If you don't mind I want some help to code line following bot with pid .

  • @donekeykong1
    @donekeykong1 6 лет назад

    I have problem wit setting PID value kp, kd, ki can u give some advise?

  • @ratontile
    @ratontile 6 лет назад

    Is it posible that in the video Ki and Kd are swaped? Because I'm doing a similar porject and I needed a guide like this to tune the PID. The thing is that for me it's more like the integral term is the more sensitive one and it needs to be multiplied by a Ki value between 0 and 1, whilst the derivative term needs a bigger constant to be noticeable. Also, I find my robot to behave much more like yours when I tune Kd and Ki in opposite order as you show in the secreen texts.

  • @patuansitorus4493
    @patuansitorus4493 6 лет назад

    can you provide the sketch?

  • @companymen42
    @companymen42 6 лет назад

    This helped be make a control system for a oscillator circuit. Its not even a robot hahahahha.

  • @AlePrince96
    @AlePrince96 6 лет назад

    Hi man, I'm trying to contact you on Arduino Forum. Could you please check your inbox? Thank you in advance

  • @johanelmander3787
    @johanelmander3787 6 лет назад

    Congrats.

  • @arcrobotics5221
    @arcrobotics5221 6 лет назад

    For Source code see this discussion about post #49 forum.arduino.cc/index.php?topic=397918.msg2786138#msg2786138

  • @cesarparra5862
    @cesarparra5862 6 лет назад

    Goodyear job

  • @abhishekpushkarna9378
    @abhishekpushkarna9378 6 лет назад

    Plz share the code

  • @dinggy8351
    @dinggy8351 6 лет назад

    Hello bro! i am working on similar project , the difference is my robot is not a balanced robot. Can i email u and ask for details pls? My email: akdinggg@gmail.com

  • @adykaaa
    @adykaaa 6 лет назад

    Hello Dear Sir ! Your video is great,i am also working on a project similar to this. Would you mind sending me the code ? I'm waiting for your response ! :)

  • @TutocarloCV
    @TutocarloCV 6 лет назад

    nice

  • @mohamedkhaled-qc7kb
    @mohamedkhaled-qc7kb 6 лет назад

    I wanna the code of that robot

  • @electromaniaworld3179
    @electromaniaworld3179 7 лет назад

    i have problem reading from mpu5060 , it gets stuck at Initializing DMP... any suggestions

  • @xiaolin8798
    @xiaolin8798 7 лет назад

    Can I know what is the program you use?

  • @mahmoudkortas
    @mahmoudkortas 7 лет назад

    please can you send me the code? here is my e-mail: kortas.mahmoud@gmail.com

  • @pnachtwey
    @pnachtwey 7 лет назад

    So what to the gain numbers mean? Without units it appears you are just guessing using trial and error. What is learned? NOTHING! What ever is done here is not applicable to another PID problem. To do this right a open loop transfer function is required. Then it is possible to CALCULATE controller gains to provide the response you want within the limits of the machine. Knowing how to calculate the open loop transfer function and controller gains should be the optimal goal.

    • @arcrobotics5221
      @arcrobotics5221 7 лет назад

      The Proportional gain can receive the number of degrees + or - from Zero (balanced) up to +-180° but I'm only using about +-20°. with my ideal Kp of 10 that provides an output of +-200 I'm sending to my motor controller. The PWM portion of the Arduino UNO can handle an input of 0 to 255. While my motors won't start till the PWM output reaches 30 that leaves me a total range of 0 to 225 (Shifted by 30) to be used to control the motors. Since we are not using integral to start with I will skip its explanation. Derivative is a time-based kicker. What I mean by Kicker is that it only alters the proportional output if change occurs. So, if over 1 second period the change 1 degree it will have a specific effect on the output 1 * Kd or 1 * .4 and .4 will be added to the output with the intent of dampening or enhancing the effect depending upon direction of travel towards setpoint. with my PID loop I divide the 1 second up by 100 and I do the same with the derivative so if there is a positive change I add to the proportional an opposite value added to the output nullifying the rate. And the change in degrees while trying to achieve balance is much higher than .4 degrees in a second. This could be somewhere in the hundreds of degrees in a second. So, .4 has a much higher influence on the output. Now remember when you are balanced you should have little to no rate of change and so derivative is at or near zero.

    • @pnachtwey
      @pnachtwey 7 лет назад

      The proportional gain should have units similar to output/degree error. The derivative gain should have units of output/rate of degree of error. The integrator should have units of output /(degrees of error * time ) The output seem have little resolution in your case which has a usable range of 30-255. The output units need to be converted to torque. There are plenty of documents on how to control a Segway two wheel robot. These documents will have formulas involving torque inertia and angular acceleration. Simply put torque/inertia=angular acceleration although the necessary formulas are much more complicated than that. For tuning look for pole placement.

    • @arcrobotics5221
      @arcrobotics5221 7 лет назад

      the arduino PWM receives a byte a number between 0 and 255 this in turn adjusts the PWM value sent to the H-Bridges which provide a pulsed signal directly to the motors below 30 the motors do nothing due to the resistance in the gearing of the bot. for most Arduino balancing bot programmers this causes the biggest issue in getting there little bots to balance. You are right there is allot more to PID than what I've showed or mentioned and you could get into much detail just not in 2 minutes. Thanks for your post

  • @seiko310
    @seiko310 7 лет назад

    So if abs is only giving you positive numbers, how do you get it to reverse?

    • @arcrobotics5221
      @arcrobotics5221 7 лет назад

      When the input from the gyro goes negative (based on setpoint) I reverse the H-Bridge then provide a positive value again to the Drive and the motors power up in reverse

  • @ashishjog8027
    @ashishjog8027 7 лет назад

    My very first question is how you able to set those values of Kp,Ki and Kd ; please explain!?

    • @mattat3847
      @mattat3847 7 лет назад

      Ashish Jog assuming that you know that the output is error+integral+derivative. Ki kp and kd are just Values multiplied by each term. Think of the as scale factors. The end equation is more like (kp*error)+(ki*proportional)+(kd*derivative)

  • @sanchohacker
    @sanchohacker 7 лет назад

    Hey, I'm having trouble when trying to find kP, I can not get it oscillate and balance long enough like you (just around 2 to 5 sec), the robot do oscillate when increasing the gain and then slamming on the floor real fast. Do you have any idea for that? P.S: Sorry my poor English. P.S2:You had an excellent work!!!

    • @arcrobotics5221
      @arcrobotics5221 7 лет назад

      Decrease your kp in half. And describe the results

    • @sanchohacker
      @sanchohacker 7 лет назад

      It has 2 phases while I change the kP. First, it has low respond when trying to balance, and second it supershaky and slam on the floor after the blink of the eye. :) I think it's because my PID program, here it is: int outMax = 255; int outMin = -255; float lastInput = 0; double ITerm =0; // PID constants double kp = 100; // Proportional value double ki = 0; // Integral value double kd = 0; // Derivative value double dInput; double Setpoint = 0; // Initial setpoint is 1.8 double output; // Calculates the PID output double Compute(double input) { double error = Setpoint - input; ITerm+= (ki * error); if(ITerm > outMax) { ITerm= outMax; } else if(ITerm < outMin) { ITerm= outMin; } dInput = (input - lastInput); // Compute PID Output output = kp * error + ITerm + kd * dInput; if(output > outMax) output = outMax; else if(output < outMin) output = outMin; // Remember some variables for next time lastInput = input; return output; } Thanks.

    • @sanchohacker
      @sanchohacker 7 лет назад

      hey, I got it balance :). It's due to my motorControl code. :))) Now i'm trying to control it by an bluetooth module. But I have a problem again when I change the Setpoint to move the robot forward and backwark, it overshoot real fast and fall down. Do you have any idea about that?

    • @taegongsill8699
      @taegongsill8699 6 лет назад

      yes I also use bluetooth, the same problem with you, is it not good to use bluetooth ??

    • @taegongsill8699
      @taegongsill8699 6 лет назад

      what's wrong with its control code???

  • @baskett98
    @baskett98 7 лет назад

    hi

  • @nicolasbug
    @nicolasbug 7 лет назад

    Excellent !

  • @PD3666
    @PD3666 7 лет назад

    Which motors are used? Torque RPM? Also how swiftly it turns it's amazing if you get time crate a small video explaining pseudo logic

    • @arcrobotics5221
      @arcrobotics5221 7 лет назад

      I found the RC Car at a thrift store for a couple bucks, It's a JLX Overdrive johnny lightning land water rc car. It was missing the controls and batteries. turned out to be perfect for a balancing bot. I'm not sure what motors it uses or the over gear ratios. I don't dare tear it apart to find out, I may not get it back together :)

  • @LongNguyen-nq2tq
    @LongNguyen-nq2tq 7 лет назад

    What is your code??

    • @arcrobotics5221
      @arcrobotics5221 7 лет назад

      I had a detailed discussion in the Arduino forum on balancing bots. I have the code at post #50 as attachments. I have made several improvements and changes that have come about and I will post the sketch somewhere when they are ready :) and I will comment of there location here on your post when I do. forum.arduino.cc/index.php?topic=397918.msg2829907#msg2829907

  • @hamzarana7194
    @hamzarana7194 7 лет назад

    can i get your code??

  • @hamzarana7194
    @hamzarana7194 7 лет назад

    can i get your code??

    • @arcrobotics5221
      @arcrobotics5221 7 лет назад

      I had a detailed discussion in the Arduino forum on balancing bots. I have the code at post #50 as attachments. I have made several improvements and changes that have come about and I will post the sketch somewhere when they are ready :) and I will comment of there location here on your post when I do. forum.arduino.cc/index.php?topic=397918.msg2829907#msg2829907

    • @hamzarana7194
      @hamzarana7194 7 лет назад

      i love and appreciate your work... but i just want to balance my robot with enocder... do not want to throttle it...as u done...