Arduino Controlled ESC (Easy+ No Potentiometer!)

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

КОМЕНТАРІ •

  • @space5422
    @space5422 3 роки тому +12

    I'm new to ESC.
    This short video was perfect, clean, efficient , not too long, good sound.
    Congratulation.

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

      question if I have 45C 4500mah 11.1V lipo battery and a C2204 1200kv motor that draws 11 amps would it damage 30A Simonk ESC?

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

      @@rajaboy2293 No, as long as the ESC is rated for 3 cell and you hook it up the right way you will be fine.
      That battery is capable of supplying over 200 amps, (45c x 4.5AH) but it is the ESC/motor combo that determines how much will actually be drawn.
      As I said, hook it up right and it will be fine.

  • @Stambo59
    @Stambo59 3 роки тому +14

    So much misinformation here, the battery does NOT determine the current flow, the motor ESC combo does.
    The battery will only supply what it is asked to supply, the specs on the battery are it's potential.
    You can run a 10 amp esc on a 400 amp battery safely, as long as the voltage is right and the motor matches the ESC. A motor that draws anything less than 10 amps will work fine.
    It is the voltage (IE cell count) that is critical, you cant hook an ESC designed for a 2 cell 7.4v system up to a 3 cell or more battery. That is when you are more likely to get smoke. (Or when you hook it up backwards.)
    I test 30A RC speed controllers on car batteries without any problems.

  • @jackwody7774
    @jackwody7774 5 років тому +7

    the esc provides 5V power to the servo connector- you can use this to power the Arduino (it's 5V I'm guessing?)
    and not need an external supply.

    • @BlackFalconElectronics
      @BlackFalconElectronics  5 років тому +1

      The ESC only provides power to the battery itself. An external power supply is required for the arduino & all auxillary systems.

    • @jackwody7774
      @jackwody7774 5 років тому +13

      Unless I'm misunderstanding things; the LiPo battery powers the ESC which has a 3 phase brushless motor driver, and usually a 5V linear regulator to power the receiver and servos. The suggestion is to use that 5V to power the arduino and save a battery.

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

      @@jackwody7774 ua-cam.com/video/S8TSkGQ2EWY/v-deo.html

  • @bambarhan
    @bambarhan 4 роки тому +4

    Hello thanks for sharing and teaching others. I tried this code and my motor working not fine then i pushed my motor is working good. but stopped after 5 seconds automatically. How can i find the mistake i made. why motor is intermittent starting? thanks

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

    I can confirm this works with the Arduino Uno R3 with the Castle Creations MAMBA XLX2 with the 2028 800KV Motor - 4/1/2023. I've got a project I'm working on that it isn't going into any RC.

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

    every time I have trouble with my esc I look at this video lol
    Very Helpful!

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

    Hi everyone! I have a big question, the Arduino Library-GUI have the functionality of RPM in opposite direction? This mean, CCW 58 rpm, and CW 58 rpm for the same motor? Thanks!

  • @Slushee
    @Slushee 4 роки тому +2

    Thank you.
    I watched another tutorial but it didn't mention that the GND pin also had to be connected, so it didn't work.

  • @dmglakewood
    @dmglakewood 2 роки тому +2

    I'm not an expert...but I don't think the ESC amperage has anything to do with the battery itself, but the motors you use. If the motor you use has a max draw of 2 amps your ESC should support at least 2 amps (greater than 2 would be ideal though).

  • @PerilNotion
    @PerilNotion 2 місяці тому

    What about reverse

  • @karatugba
    @karatugba 4 роки тому +1

    Actualy I have a question for the adjusting 59 and 180 degrees for the speed of the BLDC ,how did you define them in the code,there is not any code about it.

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

    Can I do same thing with ESP 32 board

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

    please can you help me with control the esc with remotexy with two directions please 😢

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

    Can you demo this using port registry manipulation?

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

    hi i just saw your video, could you help me with a project i am making this is a water scooter, i wanted the brushless motor to turn on and off with a release button, can you help me with the code for arduino nano

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

    I managed to connect the 5V to Vin to power arduino nano. Seems to work fine.

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

    Is there a way to wire a potentiometer to a regular ESC in order to use it as a servo controller? I'm trying to build a large scale steering servo but don't know how to get the ESC to respond to potentiometer feedback

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

    How did Rowan work out? I'm making an ROV this year and looking to use an esc like this.

  • @__rajesh-vq3nm
    @__rajesh-vq3nm Рік тому

    which software?

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

    The motor only increases to the speed we entered momentarily, then turns slowly at a constant speed again. It repeats this in short periods. What would be the reason?

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

      This might be a late reply but open up the serial plotter and set it to "No Line Ending" so it holds the rpm you set.

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

    currently in the process of making a nerf gun with brushless motors, this was very helpful

  • @philjackson8205
    @philjackson8205 5 років тому +2

    My set up is basically the same as yours except I'm using a variable power supply as my power source and I'm using a 60 Amp ESC with a 770 Kv motor. I tried using your same code but whenever I don't enter anything into the serial monitor my PWM value automatically reverts to 0 which is not what I want. I want the thottle to stay constant as yours does, any ideas?

    • @BlackFalconElectronics
      @BlackFalconElectronics  5 років тому

      Post your code

    • @philjackson8205
      @philjackson8205 5 років тому +3

      @@BlackFalconElectronics Actually just got it to do what I wanted. I used this code:
      #include
      Servo ESC;
      int val;
      int globalval;
      void setup()
      {
      Serial.begin(9600);
      ESC.attach(9,1000,2000); //PWM Pin Connection Port on Arduino
      delay(1);
      ESC.write(0); //Activates ESC
      delay(1000); //Wait time before commanding throttle values
      }
      void loop()
      {
      while(Serial.available())
      /
      {
      val = Serial.parseInt(); //reads integer vals from serial monitor input
      Serial.println(val); //Print throttle value
      ESC.write(val); //Write throttle value to ESC
      if (val > 0){
      globalval = val;
      //Store throttle value
      }
      }

      if(!Serial.available())
      {
      Serial.println(globalval);
      //Print stored throttle value
      ESC.write(globalval);
      //Assign previously stored throttle value to ESC
      }
      }

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

      @@philjackson8205 I hope you found the answer. For anyone who might need it, one way you could do is to put the "myservo.write(val);" command in a for time loop, and the motor will run for that long.

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

      @@philjackson8205 thanks for posting the code it got my project up and running for the first time!

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

    what kind of connector did you use between the battery and esc?

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

    can he give us the schematics ?

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

    Subscribed + like full ❤ 👏👏👏👏👏

  • @N.g.Chanal
    @N.g.Chanal 2 роки тому

    why not input 10 ? Lessthan 50?

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

    good job , please post more ..

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

    thats was so cool ...❤

  • @zynsk
    @zynsk 4 роки тому

    Hello. I got it to work but the motor only powers on for one second before stopping. I don't have enough experience with Arduino coding to see if there is something wrong. This it the code I copied from your screen:
    #include
    Servo myservo;
    void setup()
    {
    Serial.begin(9600);
    myservo.attach(9);
    delay(1);
    myservo.write(10);
    delay(5000);
    }
    void loop()
    {
    while (Serial.available() > 0)
    {
    int val = Serial.parseInt();
    Serial.println(val);
    myservo.write(val);
    }
    }
    Have I missed anything?

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

      @gokhan yilmaz myservo.write(val);
      delay(5000); you need to add delay value after servo.write

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

      @@musleh711 thanks dude, it's worked

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

      @@musleh711 this worked for me also, but the motor then just runs for 5 seconds. Do you know how you can have it continue to run until a different value is input?

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

    Where can I find code

  • @nguyenbrandon12
    @nguyenbrandon12 5 років тому

    Hey! I have a flame 60A esc and I'm trying to run a 149Kv Turnigy Outrunner Motor. I followed all your steps and the esc becomes armed and ready to go but the motor doesn't run when I input any number on the serial monitor. Any suggestion?

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

    copied exactly your code but the motor is not even giving me a signal,
    i am using
    11.1V 30C battery
    A2212/6T 2200kv brushles motor
    30A esc
    please tell me whats the problem

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

      He has a different esc from majority.

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

      your starting point is 1500, you need to initialize the esc at 1500

  • @garygracias4229
    @garygracias4229 4 роки тому +2

    Can i use a 60v battery?

    • @BlackFalconElectronics
      @BlackFalconElectronics  4 роки тому +1

      I don't believe you would be able to, but that would depend on the battery rating compared to the ESC's. Thanks for commenting!!!

    • @garygracias4229
      @garygracias4229 4 роки тому

      @@BlackFalconElectronics what if i use a relay...

    • @BlackFalconElectronics
      @BlackFalconElectronics  4 роки тому +1

      @@garygracias4229 a relay would be good to use, but it would still depend on the battery & esc ratings. Otherwise you risk electrocution &/or frying all connected electronics.

    • @garygracias4229
      @garygracias4229 4 роки тому

      @@BlackFalconElectronics ill be using a 160kv motor and a 50 - 80a esc..

    • @BlackFalconElectronics
      @BlackFalconElectronics  4 роки тому

      @@garygracias4229 what is the battery rating?

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

    idk why but its keep typing its self 0 0 0 0 0 on the port screen

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

    Finnaly its exactly what i needed

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

    thank you so much

  • @mayurrana5200
    @mayurrana5200 5 років тому +1

    Make video to control bldc by smartphone

  • @XG4bro17TM
    @XG4bro17TM 4 роки тому

    why it doesn't work it doesn't even arm

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

      Same here. Some ESC work differently

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

      Bros, He has a programmable esc.
      The thing is most of the escs require a pulse between 1000 to 2000 us.
      This guy's esc works from 10 to (IDK) us.
      and you got yourself in problem....

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

      @@teklisbenzi why do I got myself in problem?

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

      @@sgpaterno9117 Umm....
      Just Skip this tutorial as it will not work for majority.

  • @nelsondarwinpaktech3954
    @nelsondarwinpaktech3954 4 роки тому +1

    good

  • @kirilneonov152
    @kirilneonov152 5 років тому

    Revers?

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

    Important to note that a lot of ESCs initialize with a PMW micro second of 1500, not 10. And a lot of speed control happens between 1000 and 2000. It all depends on what range your ESC is using. I've seen other numbers too. Have to check those data sheets... ESCs are a headache.

  • @jakeberry4238
    @jakeberry4238 4 роки тому +2

    #ghettoConnection lol. Thanks for the useful information!

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

    i saw this viedeo to late i fried myn toasty