How Brushless Motor and ESC Work and How To Control them using Arduino

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

КОМЕНТАРІ • 606

  • @HowToMechatronics
    @HowToMechatronics  4 роки тому +30

    I hope you enjoyed this video and learned something new! If you'd like to support me making more content like this, please consider supporting me on Patreon: www.patreon.com/howtomechatronics

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

      Wonderful job

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

      Is there a reason you made this ESC video about 'brushless' motors? Do ESC's not generally work with brushed motors?

    • @m.shahabahmad6311
      @m.shahabahmad6311 3 роки тому

      hey,can i get proteus simulation of this project??

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

      How is possible that a video doesn't have automatic captions enabled...

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

      Can we put timer to when the motor rotate

  • @JulianMakes
    @JulianMakes 5 років тому +370

    This is the single best explanation on BLDC motors I’ve ever seen. I really honestly watched it twice it was so good. Learnt loads thank you

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

      excellent animations right!

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

      magnificent work...

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

      true that , this one had best animation coupled with excellent explaination .

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

      i want to know how brushless dc motors controller work

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

      ​@@herbertborogha3553If you understand some assembly language, the blheli_s source code is very accessible to read exactly how the commutation logic works.

  • @delinlo
    @delinlo 4 роки тому +13

    I’ve been watching videos on bldcs, escs and everything for a few years now. This is the single best video I’ve seen yet. It cleared up everything and it’s the first time I actually understand the coil wiring well enough to say I would be ready to rewire a motor myself. Thank you so much. Liked, subbed and commented! Keep on going!

  • @StrikerFin
    @StrikerFin 4 роки тому +24

    Dude, I have never seen someone explain something that made so much sense the first time. 👍

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

    Best BLDC video I’ve seen.

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

    I've been interested in several projects involving BLDC motors, and your video shed so much light and answered so many of my questions. Thanks a lot for making this video!

  • @swapnilgautam5252
    @swapnilgautam5252 6 років тому +3

    sir , i am studying mechatronics engineering right now and i love your channel , thank you

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

    Been searching for 2 weeks to find an explanation to this. And I’ve found it. Thank you so much!

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

    Thanks for posting this! I'm going to build an Outlaw Pinewood Derby car for our pack's race this month and I'm using a 50mm brushless ducted fan. This tutorial got me up and running so I know my gear is good, I still need to figure out how to incorporate a switch on the nose of the car so it knows when to switch from idle to wide open when the start gate drops but this gets me started! Thanks again!

  • @Sodabowski
    @Sodabowski 4 роки тому +8

    Around 8:30, the BEC actually means that when the battery voltage drops too low, the ESC cuts power to the motor to 1) avoid damage to the battery and 2) keep the rest of the controls working (receiver and servos), that feature was introduced to avoid RC plane loss of control and resulting crashes when the battery was too low.

    • @cachepilll286
      @cachepilll286 2 роки тому +3

      thats just low voltage detection, BEC is what he said it was

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

      @@cachepilll286 It's a bit of both. All Battery Eliminator Circuits will keep the controls alive longer than the motors.

  • @yukimaruzam
    @yukimaruzam 3 роки тому +2

    This is a fantastic explanation, and it lends itself to the point that a brushless DC motor effectively replicates a 3-phase ac motor except with a permanent magnet rotor. Complete with three 2-pole coils that are activated out of phase with one another. Great stuff!

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

    Thank you for your great and high quality video. It actually helped me correctly arm and setup my Brushless Motor after two days of searching the internet and watching many low quality youtube videos.

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

    You do such a great job of making your videos informative enough but not loaded down with too much information! Keep up the great work!

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

    iam doing an arduino project for my uni studies involing an rc boat and you helped me very much thank you man! Gonna watch the transmitter video too.

  • @aseemtiwari2466
    @aseemtiwari2466 6 років тому +4

    I am working on drone from past 1 week , what a timing man .....thanks for this amazing explanation......🙌🙌

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

    hands down the best video (or even lecture) about BLDC motors.
    One (possible) problem: arent the directions of the magnetic field wrong at 0:35 in the coil? If that image were right then there would be bi directional magnetic field inside the coil. If the N -S are right, then the open field lines are right, while the closed loop field lines are wrong.

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

    This is the BEST video I have ever seen. It will help A LOT in my graduation conclusion project. Thank you!

  • @TheGamecheater100
    @TheGamecheater100 5 років тому +8

    Best video about bldc!!!!! Nice work MAN!!!

  • @electrouino195
    @electrouino195 6 років тому +4

    I’ve been looking for a video like this for ages, thanks, this is so useful

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

    A very well made vid. Had to play 3 times because I got hung up on his accent. Very good explanations and a lot of information. Have a bit to catch up ! Thanks, Bob

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

    50 seconds in and i already learned something new!

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

    Hi bro i have a doubt,
    If i connected the ESC Red & Black wires to the 11.1V Li-ion Battery and signal pin is connected to the digital pin of Arduino can i connect the 5v & gnd pins to the Arduino, those pins give power or they take input from the arduino, means if they are input pins then i will connect them to Arduino's 5V & gnd pins and i will connect arduino to laptop usb.

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

    This video pretty much contains everything about bldc motors. Nice Video!

  • @Drone.Robotics
    @Drone.Robotics 5 років тому +4

    Your videos are so neat, clean, organized and understandable. You work is my inspiration and i will be producing same content as your in the near future INSHALLAH.

  • @ArshadAli-rp2cn
    @ArshadAli-rp2cn 3 роки тому +1

    9:19 Shouldn't you be connecting the 5v from esc to Vin pin of arduino, because you are providing 5v to arduino. Can you explain this ??

  • @Mohammad-kf1tg
    @Mohammad-kf1tg Рік тому +1

    Can I use 2200kv instead of 1000kv?

  • @MadEvo606
    @MadEvo606 6 років тому +11

    7:50 the S means how many cells are connected in series, thus increasing the voltage. The battery can have parallel cells too to increase capacity.

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

      *and max current due to the lower resistance of the whole pack.

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

    Best explanation of a DC Motor, nice job!

  • @CrazyCoupleDIY
    @CrazyCoupleDIY 6 років тому

    Very good explanation
    I don't know why some people downvoted this video

  • @houseofelectronics5869
    @houseofelectronics5869 6 років тому +1

    Wonderful video ! Very lucidly explained. I've to say that you are a great teacher and your explanation skills are just what beginners look for . This was so much easier to understand compared to the bldc video made by GreatScott who is another fantastic UA-camr .

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

    Wow, this really helped me out. I was trying to control a drone motor through Matlab and I needed the info that pulse widths are between 1 and 2 milliseconds. I'll try the calibration too at a later point. Thanks for the tutorial!

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

    Thank u,
    that was the best explanation that i have every heard
    That means the brushless motor is in fact a symchron ac motor

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

      that is NOT correct. there is NO AC. the output of an esc is three, sequential, DC pwm, signals !!!!!!!!!!!

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

    100 pts to this video. I'm an electronics engineer I can't find something wrong with it. Very good

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

    Good bit of explanation on how brushless motors work...
    but it's not so much "how to control a brushless motor with an arduino" as it is just how to use the ESC 30A motor controller using PWM as the input signal. From the title, I had expected there'd be a bit about HOW to measure the back EMF, how to keep track of things like electronic commutation, speed, position... but it seems the ESC 30A does that automatically

  • @MattExo-Dynamics
    @MattExo-Dynamics 3 роки тому

    2 years on, still a brilliant, helpful video. Thanks buddy👍

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

    This guys is so damn good. Diagrams are so easy to understand! Not just this one video... All of them! He should have 2 million subscriber.

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

    This is one video which actually gave any information.

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

    Thank you! I cannot explain how much I needed this video and how much it helped!

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

    Jesus thank you. Every other video on brushless motors stops after saying power this winding and then this one WITHOUT SAYING HOW.

  • @merikarim-z3l
    @merikarim-z3l 11 місяців тому

    Quality explanation dear professor. Haven't you programmed a tutorial on Switched reluctance motor (SRM) yet? Truly you are the best. Best regards

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

    I see there is a remote control at 12:22, is there any tutorial on how to make it?

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

    Very nice explanation. Can I make the same project using Arduino Nano board instead?

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

    These instructions are excellent, thank you for sharing. I was able to build and test my motors with a Nano 33 BLE.
    One issue I had was that the motor would stop when the throttle was full. Other than that it appeared to work ok

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

      Perhaps the driver has a resistor limiting the current to a value which is less than the current required to run your motor at max speed

  • @paulb8264
    @paulb8264 6 років тому

    Totally one of the best channels for this subject. The work you put into these videos is greatly appreciated

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

    Best explanation on bldc motors. You had cleared all my doubts. Thank you so much 🙏🏻

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

    5:05 Where did you connect the ground clips of the other two oscilloscope probes? Are they connected to each other, so that you only need to connect one ground clip?

  • @chandrakanthulwan1590
    @chandrakanthulwan1590 3 роки тому +2

    can i run this all stuff on proteus?

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

    Awesome tutorial, have you considered making one on controlling a BLDC motor with a BLHeli ESC using DShot digital communication instead of the pwm shown here?

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

    Great video, is the best I could find! Just a question:
    The ESC is conected to the "constant" voltage of the batery, and then it generates a signal with the required frequency to spin the motor at those rmp. However, what is the voltage of this signal? Is it always the one of the battery, or does the ESC also regulate voltage (via PWM I assume)?

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

    Excellent explaination. Can you explain the design of regenerative break used in ev.

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

    Finally, I can build a DIY mini centrifuge, exellent video

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

    Put you in a category.
    PRISONER. 🔥🔥

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

    Q:
    An ESC generates 3 phase AC current. And from what I understand the frequency of the AC waveform completely determines motor speed, and the amplitude (peak voltage minus trough voltage) of the waveform is more or less constant. To me this seems like voltage really has nothing to do with determining the speed of a brushless motor.
    A:
    The torque output of an electric motor is directly proportional to the motor current (not voltage!), and the current (I) is roughly equal to
    I=V−εR
    Where V is the motor supply voltage, R is the winding resistance and ε is the back-electromotive force (back EMF).
    KV and back EMF
    The back EMF is the voltage that would be present at the motor terminals as the motor spins without anything being connected to it. This voltage is produced by the motor acting as an alternator, if you will, and it is directly proportional to the rotation speed. The KV rating is nothing but another way to state the relationship between rotation speed and back EMF (KV ≈ RPM / ε). It limits the maximum motor speed at any given battery voltage, because at some KV-dependent speed the back-EMF will "cancel out" the battery voltage. This prevents any more current from flowing to the motor and thus reduces the torque to zero.
    When you first power your motor on, the speed is zero. This means that the back EMF is also zero, so the only things limiting the motor current are the winding resistance and the supply voltage. If the motor controller (ESC) was to output the full battery voltage to the motor at low speeds, the motor and/or ESC would just melt down.
    Sauce: electronics.stackexchange

  • @ahmedboukhetta4999
    @ahmedboukhetta4999 6 років тому

    مزيد من التالق مهندس وليد. وشكرا على هذه القناة التعليمية الرائعة

  • @andreac7a
    @andreac7a 5 років тому +4

    Interesting video. But this leaves me wondering: could an arduino be programmed to perform the function of an ESC ?

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

      You'd still need to have a driver for the motor.

  • @SolCunningham
    @SolCunningham 5 років тому +4

    Really nice ad placement. Really.

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

    How do you reverse the direction of the motor by software alone with Arduino?

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

    Amazing video! The animations are simply great. Thank you.

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

    actually, we are the manufactory for this motor:)

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

    In the motor you used, and most quadcopter motors, the magnets are outside the stator, not inside it as your diagram shows. The reason for this, when the magnets are arranged as a Halbach array, is that you get twice the magnetism applied to the stator in the center.

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

    A corrective remark. The Back-EMF voltage has its maximum not in the moment when a pole stands infront of the coil. It has its maximum when two pole extinct their flux. At this moment the flux changing speed is at its maximum and the highest voltage will be induced.

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

    This video is brilliant. I'd heard about 3 phase DC motors and I was like, WTF??? No.
    I see what is happening now. It's not three phase in the conventional sense but it's still three phase from a certain point of view.

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

    Nice video, just notice that the number of magnets needs to increase together with the number of coils, and the magnet count on the outrunner will also increase. For example, an inrunner motor with 12 coils will have 8 magnets on its rotor, and an outrunner with 6 coils will also have 8 magnets.

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

      You forget to match the magnet count in the 4:24 and 4:40 animation.

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

    best explaination.....you explain complex things in so easy way.

  • @kirkcreelman
    @kirkcreelman 6 років тому +1

    This was a great tutorial. I don't think you missed anything!
    Ok one thing. How do you set up for a reversible esc? Where the middle point is zero and low and high are reverse and forward.

    • @HowToMechatronics
      @HowToMechatronics  6 років тому

      Thank you! Yeah, I should have covered that topic...

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

    I'm working on a college project and combining some of the elements of these robotic tutorials -- I messaged you through Patreon and was hoping you could help me out with the supplies list. I'm getting the list to the lead professor so he can order the components for our build out!

  • @GBot2201
    @GBot2201 6 років тому

    lipo batteries are marked for example 3s1p which means 3 cells in series and 1 parallel so you add up the voltage, you can also have 3s2p so you have the same voltage as 3s1p but double the capacity

  • @jclowe1113
    @jclowe1113 6 років тому

    I must say that I like your fan blade used in the demonstration of how to power a bldc motor with an adrino.

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

    Excellent presentation, and very well narrated.

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

    Underrated channel

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

    Great video bro! Just what I was looking for.. Thanks

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

    The best explanation of bldc

  • @scottwilliams895
    @scottwilliams895 6 років тому +14

    I've slowly been learning about BLDC, and your video is really outstanding! I would have liked to hear a bit more about the advantages / disadvantages of outrunner & inrunner BLDCs. Thank you, and keep up the great work!
    Liked / Shared / Subscribed

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

      pls teach how to build brushless dc motor controller board

  • @JmonteroArg
    @JmonteroArg 6 років тому +3

    Very detailed explanation, thanks.
    I really like your channel, keep it up!

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

    You rock! best video on this subject! Keep up the good work

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

    Very comprehensive and very well explained

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

    I really like your videos. They contain some additional information. Keep working like this.

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

    does all ESC will work with different types of brushless motors?

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

      you should check how much A it has on it. I mean there are 20A escs 30a escs 40a escs ...
      you should find a combination that everything that fits to each other I mean the combination of
      Battery - esc - motor
      google it to find combinations also propellers are a factor too!

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

    Congratulations!
    What a clear and simple video explanation. It of, course, took a lot kf time to be done, but, believe-me, it is perfect!

  • @rudypieplenbosch6752
    @rudypieplenbosch6752 5 місяців тому

    Great explanation 👌, needed a reason to buy a scope, got one..

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

    Great Video!
    But one thing is confusing me:
    the esc converts the DC power to AC, right?
    why is the motor called BLDC and not BLAC MOTOR?

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

      Because you can apply DC power to the esc and have the motor move.

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

      an esc does NOT make AC. it outputs three, sequential, DC pwm, power signals !!!!!!!!

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

    Thank you for sharing, is this setup makes the same thing with a servo tester?

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

    Beautiful explanation, was really clear

  • @vedatveziroglu9436
    @vedatveziroglu9436 6 років тому +1

    Awesome timing, I was trying to build a rc plane with arduino, this and previous controller video helped a lot.

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

    I had to repair the vibrator of my mother, this video helped me a lot. Thanks man!

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

    Absolutely amazing but put me off on the project 🤣 was so in depth I now wanna get more into understanding Current and electricity. Where do I start??????

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

    Very very good presentation. Precise, concise.

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

    Well done. Most simple. Please can you tell how to connect to BLDC tester and calibrate?

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

    Thanks, how Arduino works? From where get power?

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

    subbed, amazing channel. Loving it so far

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

    Is this possible with an arduino uno?

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

    Does this code have the same effect for driving a CD ROM and/or HD Engine? Thanks

  • @TheBdd4
    @TheBdd4 6 років тому +1

    Thank you, well done and very helpful to me, a new Arduino user.

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

    A lot of good information here. I've subscribed!

  • @عبدالكريمراشد-ح1ف
    @عبدالكريمراشد-ح1ف 5 років тому +8

    the best explanation and very interesting, thanks so much.

  • @Nai-cq5yq
    @Nai-cq5yq 2 роки тому

    I have a question if I going to use two bldc and I want to operate it with one controller, do I just put the signal pins and gnd pins of 2 ESC in the same Arduino pin slot? That sounds right to me, just making sure.

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

    great tutorial! Is it possible to run the motor in reverse?

  • @daedalus5483
    @daedalus5483 6 років тому

    Is it possible to use a DC wall socket power supply instead of LiPos to power this kind of motors? Any additional electronics required to do so?

    • @HowToMechatronics
      @HowToMechatronics  6 років тому +2

      Well not really, these motors can draw a lot of current, like 20,30, 40 amps of current and more.

  • @dalek-dan-1
    @dalek-dan-1 4 роки тому

    What a very clear and precise explanation. Told me exactly everything I needed to know. excellent video thank you very much

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

    Deos the potentiometer and ESC's ground have to connected in the same pin of arduino??