How to control a BLDC with an Arduino

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ก.พ. 2025
  • How to control a brushless motor BLDC motor with an Arduino
    Download Arduino code:👉 theengineering...
    👉 👉👉 FREE design software ➡️ www.altium.com...
    ⚡🛠️ TOOLS YOU NEED 🛠️⚡
    **************************************
    Get this electronics book ➡️ amzn.to/41cCJPk
    Professional Multimeter -➡️ amzn.to/3xu2Vaw
    Good multimeter -➡️ amzn.to/3xrbuTd
    Professional clamp meter ➡️ amzn.to/4140FnK
    Good Clamp meter ➡️ amzn.to/3xqt2is
    Outlet tester ➡️- amzn.to/3kavg2l
    Energy monitoring plug ➡️ amzn.to/3SkfPl7
    Battery tester -➡️ amzn.to/3S3fHWI
    Basic electronics kit ➡️ amzn.to/3xuLiqS
    MY FAVOURITE GEAR
    🎥 My camera - amzn.to/3YCZ7Q9
    🎤 My Microphone - amzn.to/3YYXsUC
    ⌨️ My Keyboard - amzn.to/3lBsl33
    🖥️ My monitor - amzn.to/415BGjW
    🎧 My headphones - amzn.to/3lN7R7u
    WATCH THESE
    Servo Motor:👉 • Servo Motors, how do t...
    Stepper motor:👉 • How Stepper Motors Wor...
    DC motor:👉 • How does an Electric M...
    AC motor:👉 • How Electric Motors Wo...
    Starter motor:👉 • Starter Motor Explaine...
    Alternator:👉 • How Alternators Work -...
    Build a motor:👉 • Electric Motor Build -...
    Motor speed control👉: • Motor speed controller...
    👋 SOCIALISE WITH US 👋
    *******************************
    👉FACEBOOK: / theengineeringmindset
    👉TWITTER: / theengmindset
    👉INSTAGRAM: / engineeringmindset
    👉WEBSITE: Http://TheEngineeringM...
    👀 Links - MUST WATCH!! 👀
    *******************************
    ⚡ELECTRICAL ENGINEERING⚡
    👉How electricity works: • How ELECTRICITY works ...
    👉Three Phase Electricity: • How Three Phase Electr...
    👉How Inverters work: • How Inverters Work - W...
    👉How TRANSFORMER works: • How does a Transformer...
    👉How 3 Phase electricity works: • How Three Phase Electr...
    👉How Induction motor works: • How does an Induction ...
    👉What is a KWH: • What is a kWh - kilowa...
    👉How induction motor works: • How does an Induction ...
    ❄️ CHILLER ENGINEERING ❄️
    👉Chiller Efficiency improvements: • Chiller Efficiency Imp...
    👉Chilled water schematics: • Chilled Water Schemati...
    👉Chiller crash course: • Essential Chiller Term...
    👉Chiller types: • Chiller Types and Appl...
    👉Chillers/AHU/RTU: • How Chiller, AHU, RTU ...
    👉Water cooled chiller Part1: • Chiller Basics - How t...
    👉Water cooled chiller Part2: • Chiller Basics - How t...
    👉Water cooled chiller advanced: • How Chiller works - De...
    👉Air cooled chiller: • Absorption Chiller, Ho...
    👉Absorption Chiller : • Air Cooled Chiller - ...
    👉Chiller/Cooling tower/AHU: • How a Chiller, Cooling...
    👉Chiller flow rate: • Chiller flow rate meas...
    👉Chiller fault troubleshooting: • Chiller faults - troub...
    👉Chiller COP calculation: • Chiller Efficiency CAL...
    👉Chiller cooling capacity calcs: • CALCULATE Chiller cool...
    👉Chiller compressors: • 🔧 Chiller - Compressor...
    👉Chiller expansion valve: • Chiller - Expansion Va...
    👉Chiller surge: • Chiller - Surge
    👉Chiller condenser: • 🔧Chillers - Condensers
    👉Chiller evaporator: • 🔧Chiller - Evaporators
    👉Chiller compressor centrifugal: • Centrifugal Compressor...
    👉Chiller cooling capacity: • Chiller - Cooling Capa...
    🌡️ HVAC ENGINEERING 🌡️
    👉HVAC Basics: • Fundamentals of HVAC -...
    👉Boilers/AHU/FCU: • How a boiler, fan coil...
    👉How Heat Pump works: • How A Heat Pump Works ...
    👉Heat pumps advanced: • How A Heat Pump Works ...
    👉Fan Coil Units: • Fan Coil Unit - FCU HVAC
    👉VAV Systems: • Variable Air Volume - ...
    👉CAV Systems: • Constant Air Volume - ...
    👉VRF Units: • Video
    👉Cooling load calculations: • Cooling Load Calculati...
    👉Pulley belt calculations: • Pulley Belt CALCULATIO...
    👉Pump calculations: • Pump CALCULATIONS, Flo...
    👉Fan and motor calculations: • Fan & motor CALCULATIO...
    👉HVAC Cooling coils: • HVAC - Cooling coil + ...
    👉Cooling towers: • How Cooling Towers Work
    ⚗️ REFRIGERATION SYSTEMS 🌡️
    👉How refrigerants work: • Refrigerants How they ...
    👉Thermal expansion valves: • How TXV works - Thermo...
    👉Refrigeration design software: • Refrigeration Design S...
    👉Design refrigeration system: • How to DESIGN and ANAL...
    👉Reversing valve: • Reversing valve - Heat...
    👉How A/C units work: • Basic Refrigeration cy...
    ⚗️ REFRIGERANTS ⚗️
    👉Refrierant retrofit guide: • Refrigerant Retrofit G...
    👉Refrigerant types, future: • Refrigerant Types, Iss...
    👉How refrigerants work: • Refrigerants How they ...
    🌊 HYDRONICS 🌊
    👉Primary & Secondary system: • HVAC Primary & seconda...
    👉Pumps: • Centrifugal Pump How D...
    👉Pump calculations: • Pump CALCULATIONS, Flo...
    🔥➡️❄️ HEAT EXCHANGERS 🔥➡️❄️
    👉Plate Heat Exchangers: • Plate Heat Exchanger, ...
    👉Micro plate heat exchanger: • Micro Plate Heat Excha...
    💻 DATA CENTERS 💻
    👉Data Center cooling: • Data Center HVAC - Coo...
    🔬 PHYSICS 🔬
    👉What is Density: • What is Density? - Den...

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

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

    *These videos take a long time to make* if you would like to buy Paul a coffee to say thanks, link below: ☕
    PayPal: www.paypal.me/TheEngineerinMindset
    Channel membership: th-cam.com/channels/k0fGHsCEzGig-rSzkfCjMw.htmljoin
    Patreon: www.patreon.com/theengineeringmindset

    • @okithdesilva129
      @okithdesilva129 2 ปีที่แล้ว +1

      Hi Paul!

    • @EngineeringMindset
      @EngineeringMindset  2 ปีที่แล้ว +1

      @@okithdesilva129 👋

    • @okithdesilva129
      @okithdesilva129 2 ปีที่แล้ว +1

      @@EngineeringMindset Paul your videos are amazing!

    • @manikandanperumal5782
      @manikandanperumal5782 2 ปีที่แล้ว +1

      Pls make how to learn programming language and programming

    • @okithdesilva129
      @okithdesilva129 2 ปีที่แล้ว +1

      @@EngineeringMindsetThank you so much for making videos about BLDC motors!

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

    I've been trying to make an Arduino drone for some time. I used brushed motors with a 9V battery, but they lacked thrust to lift the whole contraption off the ground. I knew I had to do a power and moter upgrade, and this tutorial is literally the thing I was looking for. Thank you very much!

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

      I tried so hard to get lift from a brushed motor and a 9v batter. I got so close, but it never had RPM

    • @raptorthegamer5524
      @raptorthegamer5524 2 ปีที่แล้ว +1

      Hope you have the money, since a diy drone can cost you upto 75 dollars

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

      What you need is a more powerful battery, because 9Vs will never provide enough current.
      I suggest looking into using a LiPo and buck converter, 3S sounds ideal for your voltage. Do note they take some care and equipment to use safely (read: without causing fires), but it's worth it.

  • @krizerator
    @krizerator 2 ปีที่แล้ว +21

    Depending on the ESC, it has to calibrate itself. So, if you hear several beeps, you should connect your motor with the potentiometer on its maximum position. Then, after a few beeps, you move the potentiometer to the lowest position. After a while it should be calibrated and you can start using it normally. Just in case this happens to you :)

    • @europeleeds
      @europeleeds ปีที่แล้ว

      I thought my ESC was defective when it only made sounds, but with your additional information the motor started fine. Thanks for your contribution.

    • @EngineeringMindset
      @EngineeringMindset  ปีที่แล้ว

      Seen our new Potentiometer Explained video? ➡️ th-cam.com/video/Xb-MZMoUtcQ/w-d-xo.html

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

    BLDC motors are amazing! These motors are powerful, efficient, light and reliable!

  • @eljuanman999
    @eljuanman999 2 ปีที่แล้ว +17

    I liked the video, but it would've been a lot more helpful to know how the speed controller that you used works. I don't have one, but since BLDC motors can't usually be controlled directly by PWM I was planning on rectifying the PWM signal to its average value via a low-pass filter. I've seen this as a potential solution on internet forums.

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

    I swear the last couple of your videos have been freakishly lining up with projects I'm working on. I just bought an arduino and was about to unbox it and start fiddling with it. Haha

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

    If you look in the servo-library you are not limited to using "angle". You get mutch better resolution with usin micro second directly.
    void write(int value); // if value is < 200 its treated as an angle, otherwise as pulse width in microseconds
    void writeMicroseconds(int value); // Write pulse width in microseconds

  • @sirthomas1001
    @sirthomas1001 ปีที่แล้ว

    Great video! There's still so much I don't know about Arduino programming using C++, but I found this video very helpful and useful.

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

    Paul thank you so much for this insane video!

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

    The code and the whole test, it works thanks.

  • @SC.243k
    @SC.243k 2 ปีที่แล้ว +1

    Fanstastic work 👏👌 thanks my friend👍👍👍

  • @104littleal6
    @104littleal6 2 ปีที่แล้ว

    Awesome! I've seen 3 or 4 of these, but this is the simplest of them all. Thank you.

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

      @10:4 littleAI Are the innards of this motor similar to a microwave turntable motor? That motor is so simple it looks like a single coil of wire, no winding, with a cylindrical rotor within the coil which the electrified coil spins. The gear centered within the rotor starts the gear train turning. It's so simple I've never seen it drawn or photographed or even described anywhere on the internet.

    • @104littleal6
      @104littleal6 2 ปีที่แล้ว

      @@johnstrawb3521 Huh!

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

    Good jobe ☝️✅✅✅✅✅✅✅✅✅✅

  • @13thravenpurple94
    @13thravenpurple94 2 ปีที่แล้ว

    Great Work 🥳🥳🥳 Thank you 💜💜💜

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

    Very well explained, again.

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

    Thank you.🙏🥰

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

    Can I use any other power supply in place of the hpb power 2200mah?

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

    I would love to buy this as a kit and learn how to do this.

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

    Is there a way to change the motor direction on the fly with out having to change the wiring configuration?

  • @Robonza
    @Robonza 2 ปีที่แล้ว +1

    Good video. Servo specs say you should only send pulses every 20ms but lucky your esc is playing nice and working with you. Really you should add Delay(20); in your loop.

  • @gmnryan
    @gmnryan ปีที่แล้ว

    Is the ESC module really necessary? Or i can just connect a PWM pin raw on the brushless motor middle pin and control it by myself?

  • @Malik-tn6cu
    @Malik-tn6cu 6 หลายเดือนก่อน

    How much current does the batterie in the video have?

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

    2:03 I think there's something wrong about those pulses, and their lengths.

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

    Can you make similar type of video for controlling D.C motor speed and direction using arduino

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

    You use a switch power supply?

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

    Can you please do accelerometers?

  • @Downloadekafarhan
    @Downloadekafarhan ปีที่แล้ว

    If input parameter speed can by keypad?

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

    Can you make a video on Induction Motors ? and nice video

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

      here you go th-cam.com/video/59HBoIXzX_c/w-d-xo.html

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

    What is that battery?

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

    Please you make a vedio inverter with 555 timer ic

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

    Hey but i needs 0-360 degree position control can I do this with servo

  • @Анатолийвдеревне
    @Анатолийвдеревне 2 ปีที่แล้ว

    Хорошо подробно обьяснил

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

    Why do you need arduino here if you buy speed controller anyways?

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

      How does the speed controller know what speed to go?

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

      I believe - because the motor has 3 connections, power in, power out, and a control signal. the motor speed is controlled by the control signal as long as the power supply is within a given range. changing the power to the motor with the potentiometer will only allow the motor to run at a fixed speed when its in that narrow range ( control signal presumed present and fixed).
      Could be wrong still learning myself.

    • @EngineeringMindset
      @EngineeringMindset  ปีที่แล้ว

      Seen our new Potentiometer Explained video? ➡️ th-cam.com/video/Xb-MZMoUtcQ/w-d-xo.html

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

    شكرا لكم

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

    i need help to get those

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

    Hi Paul..what Arduino board I need for testing blower motors for AC units

  • @forexsavants6179
    @forexsavants6179 ปีที่แล้ว

    How to reverse engine?

  • @firzt1
    @firzt1 ปีที่แล้ว

    when i hooked up my motor (FlashHobby D2826) it started beeping all of the possible error tones. it does multiple types of beeps and doesn’t stop. what did i do wrong?😑 ( update the motor works but it is spinning erratically in both directions)

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

    Which code language did u use

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

    I have 12 V Arduino motor board can I use PWM instead of using driver

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

      Same question for me, I have an 12v motor and ESC (speed controller).
      How do I control this with an Arduino

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

    well, not work for me, i don't know what's wrong, even i tried using servo tester but no luck

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

    Sir Semiconductor details explain series Video upload sir

  • @Bier123_Producer
    @Bier123_Producer ปีที่แล้ว

    I need a ESC for a 18V BLDC Motor from a Bosch Drill. Can someone help me find a ESC that fits?

  • @palashchoudhury5565
    @palashchoudhury5565 ปีที่แล้ว

    90Hz 2 Phase Half Wave DC

  • @BIG-MAD
    @BIG-MAD 2 ปีที่แล้ว

    This is how to control bldc motor with arduino just a bright idea, but spending 0.5$ on a servo tester is much easier to control BL motor

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

      A servo tester doesn't let you program the control tho, only allows manual Control

    • @BIG-MAD
      @BIG-MAD 2 ปีที่แล้ว

      @@EngineeringMindset I know dear sir which is exactly what arduino board is acting in this video

  • @okithdesilva129
    @okithdesilva129 2 ปีที่แล้ว +1

    1st view, comment and like

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

    DO NOT name variables with abbreviations! Proper variables naming which will give you instant and obvious idea of what's inside it is a required skill of a good programmer. Motor is the best name for a motor if it's the only motor in the program, isn't it?

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

    Pls make how to learn programming

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

    Arduino

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

    First

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

      2nd but by only 3 seconds, so close

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

      @@EngineeringMindset report the first one haha, love ur videos, much informations , simple and pro explaining 🥰♥️

  • @okithdesilva129
    @okithdesilva129 2 ปีที่แล้ว +1

    1st view, comment and like

  • @okithdesilva129
    @okithdesilva129 2 ปีที่แล้ว +1

    1st view, comment and like