How to make a Brushed Motor ESC with Arduino|| 180 motor || Unique Projects Tutorials. Episode-1

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024
  • PCB layout,circuit diagram,parts list are below:
    abidcg.wordpre...
    Contact me : abid.business01@gmail.com
    FT232RL USB to TTL : US : amzn.to/2lPCYgO
    Mini USB Nano V3.0: US : amzn.to/2II9fnE UK : amzn.to/2IS7lgb
    Nano I / O Expansion Sensor Shield: US : amzn.to/2NglTJf UK : amzn.to/2tLRieD
    5V 1 Channel Relay Module: US : amzn.to/2MIzyYD UK : amzn.to/2tNJ3yq
    HC-SR04 Sensor Module: US : amzn.to/2lMRhCA UK : amzn.to/2MI8Tv4
    PRO Mini Development Board: US : amzn.to/2Iow1B0 UK : amzn.to/2k2Bui5
    DHT22 Digital Sensor Module: US : amzn.to/2KGVYJf UK : amzn.to/2IIZpgD
    UNO R3 Development Board: US : amzn.to/2IlKPPQ UK : amzn.to/2LjdDGH
    PWM Dimming Controller: US : amzn.to/2svqPRM
    USA Amazon Store: amzn.to/2Kkpfsg
    Europe Amazon Store: amzn.to/2L5ink2

Комментарии • 141

  • @Allage
    @Allage 5 лет назад +3

    Man
    Thank you very much
    I'm setting up a drone with syma x8 DC engines, with APM 2.5, but I have no DC esc´s, only direct drive with mosfet.
    The APM does not accept direct drive.
    The engine automatic start.
    I used your code and replicated it for more 4 ports, so the APM outputs enter the 2,3,4,5 channels of the Arduino and exit through ports 6,7,8 and 9 to the direct drive.
    It worked perfectly, and better, without having to spend with 4 esc's.
    I do not understand much of arduino programming, so I just replicated the code, in a very amateurish way ....
    If anyone needs it, the code is this:
    //Conversor de PWM para direct drive
    // Canais:
    // IN - OUT
    // 2 = 6
    // 3 = 7
    // 4 = 8
    // 5 = 9
    //Define os pinos de entrada
    const int IN1=2;
    const int IN2=3;
    const int IN3=4;
    const int IN4=5;
    //Define os pinos de saída para o direct drive
    int mosfet=6;
    int mosfet1=7;
    int mosfet2=8;
    int mosfet3=9;
    void setup(){
    Serial.begin(9600);
    //Define os pinos como saída
    pinMode(mosfet,OUTPUT);
    pinMode(mosfet1,OUTPUT);
    pinMode(mosfet2,OUTPUT);
    pinMode(mosfet3,OUTPUT);
    //Inicializa as saídas
    analogWrite(mosfet,15);
    analogWrite(mosfet1,15);
    analogWrite(mosfet2,15);
    analogWrite(mosfet3,15);
    delay(5);
    analogWrite(mosfet,5);
    analogWrite(mosfet1,5);
    analogWrite(mosfet2,5);
    analogWrite(mosfet3,5);
    delay(5);
    }
    void loop(){
    //Lê os canais
    int val=pulseIn(IN1,HIGH,25000);
    int val1=pulseIn(IN2,HIGH,25000);
    int val2=pulseIn(IN3,HIGH,25000);
    int val3=pulseIn(IN4,HIGH,25000);
    //Mapeia os valores recebidos e define seu alcance
    int pwm=map(val,1105,1770,-5,256);
    int pwm1=map(val1,1105,1770,-5,256);
    int pwm2=map(val2,1105,1770,-5,256);
    int pwm3=map(val3,1105,1770,-5,256);
    //restringe o valor da saida 1 entre 0 e 255
    int out = constrain(pwm,0,255);
    int out1 = constrain(pwm1,0,255);
    int out2 = constrain(pwm2,0,255);
    int out3 = constrain(pwm3,0,255);
    //Grava cada saída
    analogWrite(mosfet,out);
    analogWrite(mosfet1,out1);
    analogWrite(mosfet2,out2);
    analogWrite(mosfet3,out3);
    delay(1);
    }

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

      Wow Great work! Nice to hear it helped you.

    • @addiction-69
      @addiction-69 5 лет назад

      Thanks a lot for sharing

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

      i will also play around with the code to make tricopter

  • @Project_Dragon
    @Project_Dragon 5 лет назад +3

    Your soldering can get better you just need a new soldering iron and to clean the iron before you solder and after also dont let it get too oxidized. Good luck I know you will get better. 👍

    • @ABID5
      @ABID5  5 лет назад +1

      Great Tips

  • @buvvisingh8573
    @buvvisingh8573 4 года назад +2

    This ESC can even work with coreless motors

  • @mahmoudking3127
    @mahmoudking3127 5 лет назад +1

    1. Is it possible to control 4x esc in 1x Arduino?
    2. Is it possible to use MOSFET IRLZ34N 55v..30A instead of MOSFET 70N03?

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

      yes.possible.

  • @Jaaylinu
    @Jaaylinu 5 лет назад +4

    I'm your 5.000th sub and i feel extremely proud

    • @ABID5
      @ABID5  5 лет назад +1

      What you want me to make?

    • @unknownff15690
      @unknownff15690 5 лет назад +2

      Pls make a 180 motor drone

    • @ABID5
      @ABID5  4 года назад +1

      @@unknownff15690
      someday I'll try to make one .

  • @enriquemadruga4082
    @enriquemadruga4082 5 лет назад +1

    GRACIAS !! Adaptado a un Digispark (Attiny85)
    Anda espectacular y usando el mismo 7805 que trae el módulo para alimentar el receptor y dos servos.

    • @ABID5
      @ABID5  5 лет назад +1

      great to hear that you modified it for attiny85 and it works.

  • @Trompam
    @Trompam 5 лет назад +2

    good mr, i want a question, for programming to pro mini, , please tutor

    • @ABID5
      @ABID5  5 лет назад +1

      ruclips.net/video/ewEne937YyQ/видео.html

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

      @@ABID5 but ia don't see your program for esc, please shere for program esc in this video,,

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

      the program, diagram,pcb layout parts list everything is in description Link.

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

    Lmfao Got me with that magic soldering hood

  • @nazmulhudasomit9238
    @nazmulhudasomit9238 5 лет назад +1

    Good Job.....
    Go ahade.....

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

    Does 7n60 and 45n03 will work

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

    Are the pwm signals from servo tester and the signals which the Arduino generates are different?

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

      yes.Different in duty cycle,peak voltage,time frame.

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

    We had made a 1s esc with nano and a very big thank to you but the problem was that the motor turns on even if the throttle is at low position. what may be the problem? Can you help me?

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

      you need to trim the transmitter or change the minimum throttle value ( in here it is 1100 something) make it less that 1100

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

      Thanks

  • @polashchandramondal79
    @polashchandramondal79 5 лет назад +1

    great work..

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

    Sir this esc is work for flight controller for drones

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

      No, it's just for single channel

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

    do you just use e brushless esc with ur arduino made one to make it wotk for brushed

    • @ABID5
      @ABID5  5 лет назад +1

      that will be complicated

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

    can I use any N channel mosfet?? plc help..

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

    My 7.4v battery burnt down. I am left with only 3.7v battery. Can I use it in this esc without having to remove the 5v regulator.

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

      just omit the regulator and direct connect 3.7v

  • @jexter6578
    @jexter6578 4 года назад +2

    Thanks for not adding some stupid BGM ...👍

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

    Hey...! I have 1 problem with My fs r6 reciver can u just help me out.

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

      What is the problem

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

    I'm anable to find 70n03, does 70n10 will work?

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

      Works.
      But to get more current it is required to use a driving transistor for gate to operate 9-12v range

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

      @@ABID5 any other replacement for 70n03 mosfet which can easily available in local markets

  • @Luca-pg5mj
    @Luca-pg5mj 4 года назад

    but in motors with brushed brushes brushed brushes do brushes wear out? That is, if the charcoal is consumed the engine is to be thrown away? 🙄

    • @ABID5
      @ABID5  3 года назад +1

      50% is gone after 1 year use, but it's enough use for us

  • @ritesh_hudda.
    @ritesh_hudda. 3 года назад

    Which diod did you use

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

      1N4007

  • @ShivamKumar-nh8cz
    @ShivamKumar-nh8cz 4 года назад

    Make a video dc180 can you open it and describe how it is made which copper is used and magnet

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

    Hello sir....
    I am planning to make a RC car with a 3ch transmitter and receiver....so I want to use A dc Motor with it of 12v so how can I use and do I need to program the Arduino....PLZ reply fast....I also have a brushless motor but I want to use dc motor as I know how to use the transmitter and receiver with brushless motor....**PLZ REPLY FAST AND HELP ME "*

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

      which transmitter?

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

      @@ABID5 3 ch RC transmitter and receiver

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

      @@ABID5 the transmitter which have a wheel to control the direction that one

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

      you need to spcify the model. So that we can understand the way to use it.

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

    Awesome stuff man! Now try to make a 2 way esc, with brake if possible! Keep it up!

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

      yes brother

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

    Will A 38N30 MOSFET work. I am unable to find 70N30 one

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

    1-) How do you turn it to reverse?
    2-) Does it have to be 70N03 or any type of N-channel MOSFET with the same pinout (like IRFZ44N) can work too?
    3-) Is the LiPo 7.4V battery is mandatory? Because we are making a rover and will use a 24V dry cell battery as the power source.

    • @ABID5
      @ABID5  3 года назад +1

      Similar mosfet Works also

    • @Flanker701
      @Flanker701 3 года назад +1

      @@ABID5 Sorry, I wasn't expect you to answer this fast so I edited with more questions 😅 Can you check them too?

    • @ABID5
      @ABID5  3 года назад +1

      1) Sadly it is one way only.
      2) Any N channel mosfet with low gate source voltage.
      3)Not Mandatory, if buck regulator is used (which has 36v input).
      Good luck for your project.

    • @Flanker701
      @Flanker701 3 года назад +1

      @@ABID5 thank you very much

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

    sir, what is the max output current and voltage of this esc? and does it allow to use the full power of the motor, coz i will be making a drone based on ur esc...so i need to know. and can u pllzzz measure the output voltage of the esc.

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

      yes full power and full speed.

    • @khageshroy7766
      @khageshroy7766 5 лет назад +1

      @@ABID5 ok thank you sir. 😄

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

      welcome

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

    How can I use this Motor + Arduino to build a drone ..... Is there an article explaining the project ?

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

      See all comments, somebody already tried it in a drone.

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

    Can I use 15N30 mosfet

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

      yes probably

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

    Can mosfet replacement 70N30 pieces work the same function?

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

      yes...

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

      Do you give me buy link cmu70N03 and motor 180 from aliexpress Or ebay?

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

    motor 180. How many volts?
    3.7v -12v or 6v ??

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

      can handle maximum 8volts

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

    Why is there a diode and a capacitor between positive and negative of the motor ?

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

      Diode to save the mosfet from reverse current by induced voltage on motor and capacitor to absorb the voltage spikes.

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

      @@ABID5 Thanks man .. Planning to build a mini quad with this. Your video is the only help to interface motors with arduino. Love it bro! Thanks a ton 😁

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

      welcome!!

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

    Is it Flysky transmitter

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

      CT-6B

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

    Can u use same connection and same code on arduino nano....? And mention the components size please

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

      same code works on uno,nano also.visit linked website for details.

  • @PraveenKumar-yf3jo
    @PraveenKumar-yf3jo 5 лет назад

    How to rotate dc motor in forward and backward direction with aeroplane transmitter & receiver which you use in your video...??
    Please reply.
    If possible make a video on it.. please.
    I mean an ESC which work similar as like an rc car ESC...but in simple way..

    • @ABID5
      @ABID5  5 лет назад +2

      1/There is no simple way simpler than using Arduino.
      2/Two direction means H-Bridge. Then the esc needs 4 mosfets (2N channel,2P channel)Which is complicated.
      3/Boats,Planes don't need motor to spin both direction So I used just one-direction (not One Direction band)
      :D Like the video please.

    • @PraveenKumar-yf3jo
      @PraveenKumar-yf3jo 5 лет назад

      Ok, for option 1 & 2.
      For option 3, i'm not talking about any boat and plane. I'm talking about brushless rc car ESC..and for option 2 their is any schematic please..give me the link..

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

      H bridge for arduino
      forum.arduino.cc/index.php?topic=16654.0
      Simple H bridge
      amrizalfile.blogspot.com/2013/04/prinsip-kerja-driver-motor-dc.html?m=1

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

    how much thrust can be aprox. (gram)
    plz help me

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

      I haven't measured, depends on prop size.

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

      @@ABID5 plz help me!
      according to you how much it generate thrust !

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

    Can we make a differential esc using the same method and code

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

      yes.then you need to use two mosfets and two input channels

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

      Thanks. But then how the code will change?

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

      Are you electronics engineer?

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

    Your work is awesome bro. Can I use this on my rc cars?

    • @ABID5
      @ABID5  4 года назад +1

      yes

    • @lipinghe4921
      @lipinghe4921 4 года назад +1

      ABID Inc. Fantastic bro, thank you!

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

    Hey bro where do we get that 70N30 MOSFET...?.. please help

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

      Order on ebay.Or any kind of n channel power mosfet will work.

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

      @@ABID5 I tried 45N60...and capacitor burnt and mosfets terminal looks melted

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

      @@ABID5 ..and my diode...IN4007 got burnt..

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

      That can happen only if you reverse connect something. Next time make sure right connection.

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

      @@ABID5 I connected 9v (7809) and it's not burning...but not working .. .. Arduino is lighting up...

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

    Can I put 2 engines in parallel?

  • @a.manan.s846
    @a.manan.s846 5 лет назад

    can i use this esc for 12v dc motor

    • @ABID5
      @ABID5  5 лет назад +1

      Yes you can.

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

    Can we keep two motors

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

    Waoo😄😄

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

    Is it possible to convert esc to 3.7V?

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

      yes.No need to use a voltage regulator than directly input 3.7v

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

      Lm317t??

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

      No regulator needed.

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

      What kind of regulator(number)?

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

      Sory 🤦‍♂️🤦‍♂️

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

    does it have reverse ?

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

      No It doesn't

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

      @@ABID5 is there any way to make brushed esc with reverse...please help me

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

      using h-bridge circuit will do.

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

      @@ABID5 i used L298N Motor driver...but motor is too slow...any substitute?

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

      L298,L293 are worst of kind, anything DIY build with mosfet is better. Follow a simple H-Bridge circuit with mosfet, that's better.

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

    That's not be able to reach the max throttle. Trust me

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

    I want to purchase it can you send this to me

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

      I have made and tried many, I can sell them to you

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

    plz ardino code plz

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

    Please open the motor

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

      it's like a normal motor