How PWM works | Controlling a DC motor with a homemade circuit

Поделиться
HTML-код
  • Опубликовано: 7 фев 2025

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

  • @memirandawong
    @memirandawong Год назад +23

    I spent 30 years designing PCB's, beginning with hand taped boards on mylar sheets all the way up to sophisticate auto-routers. Still, It's amazing how far things have come. $2 boards, crazy!

  • @jlbleeker
    @jlbleeker 4 года назад +33

    It’s so enjoyable to finally see an really professional made tutorial. Not only that but also the video is top class. All the kudos to you Sir. Highly recommended.

  • @standforjustice8799
    @standforjustice8799 2 года назад +1

    I learned about pwm from this video and I hardly know anything about electronics. It's thanks to your very good demonstrations. Keep up the work please.

  • @Barryd57
    @Barryd57 Год назад +1

    I assembled my first pwm motor controller using assemblies from Amazon. It worked perfectly and allowed my old VW to have AC w/o fixing the defective computer. Thx!

  • @MamToCos
    @MamToCos 11 месяцев назад +1

    I am not an electronic/electrician guy, but your way of explaining is very good. Thanks for your effort 👌

  • @barneybarney3982
    @barneybarney3982 Год назад +2

    4:00 for led's we dont use pwm to decrease voltage, same goes for majority of usecases, pwm is mainly use for quick on/off while still having high voltage, just not nonstop, for led or dc motors you need to have high enough voltage to run them at all, so you use time, not voltage to control brightness or speed. Pwm is used for decreasing voltage only for variable voltage output and you need to have inductors and caps on the output, for example VRM for cpu/gpu in pc.

  • @mayacrafts27
    @mayacrafts27 4 года назад +14

    This video is very beautifully completed. Not only great explanation about PWM, but also how to create fully working circuit as well as smooth ads integration. Bonus that nice flow motion time-lapse 👏

  • @apfelsafteis
    @apfelsafteis 3 года назад +8

    Seeing the representation on the oscilloscope really helped me understand how PWM works. Thanks for the great demonstrations

  • @mumin.azraaq
    @mumin.azraaq 4 года назад +9

    First time seeing that $30 oscilloscope(Amazon diy oscilloscope) used. Now i'm ordering it. Thanks for using it, and making this video.

  • @andrewdavies7845
    @andrewdavies7845 4 года назад +20

    Thanks for making this video. I was looking for PWM tutorials mainly for sound processing but this was incredibly informative. Also I didn't realise that PCB's were so cheap to buy, I'll be using those a lot more in my circwits. Many thanks buddy

  • @hartmutbeil8508
    @hartmutbeil8508 2 месяца назад +1

    Thank you for the comprehensible explanation. So helpful. And the ad-hint is useful as well. love it.

  • @dyancatamaran4016
    @dyancatamaran4016 Год назад +1

    Good job informing, presenting, explaining and linking with sponsors. Thanks.

  • @logandekmarques8412
    @logandekmarques8412 Год назад +1

    I think the analysis in 3:30 is very important. Sometimes you have no option other than use a potenciometer, so sometimes when you work mainly with situations you can't use a PWM, you forget this aspect of the PWM when you have the opportunity to use it
    5:16

  • @genefogarty5395
    @genefogarty5395 Год назад +1

    From a novice, thank you so much for the tutorial.

  • @fomxgorl
    @fomxgorl 4 месяца назад +2

    so, i just tested the signal generator on my oscilloscope and measured it against a potentiometer. it doesn't change the duty cycle, but does change the amplitude of the pulses

  • @s71402san
    @s71402san Год назад +1

    Now that explains why electric multiple unit trains squeak while accelerating or stopping. It's a very primitive VFD. The PWM signal gets sent to the gate/base/control of the switch (transistor), the motor speeds by the average voltage but it in reality is the PWM fluctuations rather than the continuous voltage. Frequencies can be changed for faster speeds or better adjustment.

  • @MrArcheopteryx
    @MrArcheopteryx 3 года назад +5

    Very great teacher, you are, Master of the 555. No joke, I learned why we use Pulse Width Modulation with you here and what uses it has. It cleverly limits sordid power dissipation too! Perfect crash course on the 555. Thanks Master. Thanks a lot.

  • @SteveH-TN
    @SteveH-TN 2 месяца назад +2

    Thanks for sharing this video and explaining PWM

  • @TheOfficialDorianelevator
    @TheOfficialDorianelevator 9 месяцев назад +3

    i have a PWN controller in my house that i use to test DC motors, now i finally know how it works.

  • @srjit_
    @srjit_ Год назад +4

    Beautifully presented and very clearly explained. Thank you for taking the time and effort to create this video.

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

    Good because speed of words expelling is easy to understand by even non english mothertong peoples. Well planned explanation and good heading

  • @pavankumartidke6906
    @pavankumartidke6906 Год назад +1

    Thanks for teaching. Doing electronics is an ART.

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

    I like that you showed a website to design and build a pro grade board very nice.

  • @typxxilps
    @typxxilps 3 года назад +3

    pretty late - but I like the way you chose for the PWM explanation.
    and I like this oscilloscope which I think I will buy to see these pulses and check things like servos.
    Was not aware of PWM as servocontrol ...
    Therefore I will walk through the list of videos on your channel to find more explanations I might need later ...
    really great work this video to do it 3 times
    from breadbord
    to pin board
    to pcb

  • @TheMalerdaemon
    @TheMalerdaemon 3 года назад +3

    0:55 Just for clarification, the simplest circuit is a toss up between an open circuit and short circuit.

  • @srt4boss1
    @srt4boss1 2 года назад +1

    I love your channel i learned so ooooo much. I don't hot the like button a lot but i felt compelled to. You are honestly so smart and i look up to you because of videos like this.

  • @Danda4inaline
    @Danda4inaline 6 месяцев назад +1

    recommend making a timing drumband with the ESP8266 module for motorbikes, the content will definitely be busy,
    Good luck with the content👍🙏

  • @aminekhelifi837
    @aminekhelifi837 4 года назад +11

    You just make the thing enjoy itself. Amazing tutorial! keep this productivity.

  • @umargul5644
    @umargul5644 4 года назад +3

    Sir,you perfectly explained the pwm,thanks a lot.

  • @pariwalatanishq
    @pariwalatanishq 2 года назад +1

    Thanks for the video. Was looking for tutorials on PWM for some projects related to RC cars and in general controlling of Motors using PWM.

  • @SkibidiWaPaPaPaPa
    @SkibidiWaPaPaPaPa 4 года назад +17

    Seriously amazing video with a lot of great info. Thank you so much for making this video. I can't wait make this circuit for myself.

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

    You are talent, and thx for help in PWM Understanding, this practical explanation helps a lot. 🤩🤩

  • @albinsanthosh8697
    @albinsanthosh8697 2 года назад +1

    the presentation and explanations are very nice and clear, thanks for such an video.

  • @dalsbury1979
    @dalsbury1979 3 года назад +5

    Excellent video! Very informative, excellent production quality and to the point. Thanks!

  • @mktwatcher
    @mktwatcher 2 года назад +2

    Very helpful. Would you happen to know what the high and low voltages are on the PWM signals used in Volvos to control the AC Blower Motor?
    Say in a 2008 XC90 there are 2 small awg conductors that must be used for the PWM signals and there are 2 Heavier Wires each 10 Gauge Red and Black that provide power from hot to chasis ground controlled by the power transistor and PWM Duty Cycle Signals.
    Most literature still uses the term "Resistor Module' that controls AC fan motor speed but that is just from days of the old technology to control fan speeds. The fan control module must be a power transistor instead that is is controlled by the 2 small conductors Blue & Yellow coming from the climate control module.

  • @dewan_lama
    @dewan_lama Год назад +1

    Thank you so much for making such a wonderful informative content. I really appreciate your effort. Keep making such videos.

  • @mohanbm9617
    @mohanbm9617 4 года назад +5

    Really a good video, simple to understand and clean.
    Thank you for this tutorial.

  • @UNBEATABLE_GUY
    @UNBEATABLE_GUY 8 месяцев назад

    Sir please can you answer me a simple dc motor can move by using servo tester and MOSFET?😊

  • @tonycstech
    @tonycstech 2 года назад +2

    This video taught me new words:
    Mobulation
    Sirquit
    Axzilloscope
    Vinary
    Viaring
    Modar

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

      Lmao

    • @dharmaraja41
      @dharmaraja41 5 месяцев назад

      on the lighter side, certainly funny. But we all have accents, even native born! the way the brits make fun of Americans.. and Indians make fun of the Brits and the Americans..
      :)

  • @bnnm23
    @bnnm23 2 года назад +1

    Really great content with quality and knowledge. Thanks for sharing your knowledge and creativity.

  • @DDR3-RMC
    @DDR3-RMC 10 дней назад

    pwm works for peltier module? and something like full gauge control but inverter?

  • @utt.1384
    @utt.1384 4 месяца назад

    how about power consumption effeciency of pwm vs switching buck voltage control for motor speed controller?

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

    Doesn’t the mosfet in the schematic need a pull down resistor to drain gate capacitance? Otherwise the mosfet will be in saturation mode for a long time.

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

    Great video keep up the good work. Helped me understand PWM.

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

    But why we don't use power supply to change the voltage. Because of the amperage that can deliver ?

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

    Thank you it was a very good circuit. I have question what's the max voltage and amper ?

  • @JerryRecords
    @JerryRecords 4 года назад +4

    This was awesome and engaging! Keep them coming!

  • @sadunnakipoglu9471
    @sadunnakipoglu9471 8 месяцев назад

    أشكرك وأقدر مجهودك ، تحياتي لك من تركيا .

  • @BharatThakor-bu8pq
    @BharatThakor-bu8pq 4 месяца назад

    Plz give information of all components used in pwm with its specifications..

  • @WendellSilvaQuaternionsRocks
    @WendellSilvaQuaternionsRocks 4 месяца назад

    Thanks for this inspiring project!

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

    look proffesional, still i didn't understand what is pwm controller? is a main component around him circuit was built or an special circuit

  • @JaykeSapalaran-iq3qs
    @JaykeSapalaran-iq3qs Год назад

    Great video information 👍
    Thank you for sharing your knowledge ❤🇵🇭

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

    I don't understand why you used MOSFET while making a Cir-quit with arduino, can't we use a BJT
    Update:
    I saw the difference between a mosfet and a bjt. So you can contol the output current with the variable input voltage in a mofet, while in a bjt, you can control the output current using the variable input current. You can generate pwm output in an arduino which will deliver variable input voltage for mosfet and in turn the mosfet will control the current output to the motor or the bulb.
    Please correct me if I am wrong.
    I have a doubt: how do you increase the brightness of the led with the current output of the mosfet, I thought increasing the voltage does that.

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

    Do you lose torque with lower speed as much as you would if you were to use a simple potentiometer to lower the voltage?

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

    The outrun music is perfect.

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

    You deserve more than a like for this great work 👍

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

    Hi, is there a wiring diagram of the Arduino that you created near the end , I'm currently running a project , however, I have to show examples of each a mechatronic motor, a plc motor and a pmw, that one you placed at the end is perfect for what I need to do, many thanks, great video 👍

  • @andersjensen3805
    @andersjensen3805 3 месяца назад

    High class video, Thank you 👍

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

    Good job and a nice implementation. I'm gonna to fo Mosfet driver and I want a high frequency typically like 50khertz. Can the Arduino give me these values or I have to implement a timer 555 and deal with resistors and capacitors to have these frequencies

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

    nice work , how can I use PWM to make DC motor ( pump ) produce pulsatile flow to simulate the pulsation of a human for training purposes

  • @FelixSamulevich
    @FelixSamulevich 6 месяцев назад

    If transactor can keep such power too long ?

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

    Great content, make a video about I2C communication

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

    nice work on the circwits

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

    really hope for other electronic video like this

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

    Great video. This was extremely helpful!

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

    perfect explanation and excellent work

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

    Great video! Very informative and easy for a noob like me to comprehend :)

  • @Max-di3gw
    @Max-di3gw 6 месяцев назад

    Is there a complete circuit diagram? (from DC in to 12V 4pin PWM FAN connector)
    Thanks very much.

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

    Wow incredible video! Thank you so much for making this!

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

    Can a rc receiver send Pwm signal into your circuit to turn on/off led

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

    Great and very educative and entertaining.God bless you

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

    excellent video, thanks for your time

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

    thank you for the high quality content

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

    Noob question perhaps... but why is it simply assumed that voltage applied for less time AUTOMATICALLY equals lower voltage? Does it require a specific component to perform the averaging (e.g. capacitor?)? Or is it always true in any circuit (even more interesting why)? Does it perhaps require some component to not be there (RC filters come to mind)?

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

    Superb explanation and demonstration views, and animations. Congratulations!
    I think this is the best video in these regards. I will thumbs up, and subscribe.

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

    Amazing job, amazing teach, amazing video. Thanks to you man.

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

    Can I use a relay rather than a transistor?

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

    nice, im gonna be using this to control the speed of a motor in a smart incubator i´m building. Thanks!

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

    Can I use that board to control amperage on another brushless motor controller

  • @rciancia
    @rciancia 4 года назад +98

    Thats a good Cir-QUIT

  • @MarioGuy104
    @MarioGuy104 8 месяцев назад

    Is there a way you can make the circuit so that instead of using Variable Speed, you use 3 Speeds within the motor instead? For example instead of the potentiometer using the Variable Speed to control the motor using 3 Speeds within the motor shaft instead of customizing it from an Aesthetic Low Speed (very slow) to Full Blast/Super High Speed (very fast).

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

    Thank you sir very well explained so simple but great impact

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

    Hello I have unusual question wuld that circuet work with pick up coils found in distributors?
    I have for days problems finding corect circuet to interupt pick up coils going to ignition module .
    So any help please?
    Basicaly I need circuet that can control pick up coils phase shift them or controling pulse generators pulse duration

  • @sachindhanvanthri3251
    @sachindhanvanthri3251 6 месяцев назад

    Could someone tell me which software he's used to build the circuit

  • @BharatThakor-bu8pq
    @BharatThakor-bu8pq 4 месяца назад

    I understand working of pwm but not understand which component use in green colour

  • @sbird7251
    @sbird7251 5 месяцев назад

    If I have a geared motor that runs at 30RPM, then I add a PWM speed controller, will the max speed still be 30PWM?

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

    i feel that "36 hours of work" per video vibe lol

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

    Can I use 5V source to control the circuit?

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

    Very optimum and impressive making.

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

      Thank you very much!

  • @Iraqi1995-3
    @Iraqi1995-3 2 года назад

    Question how many volts PWM is allowed to enter only 12 v

  • @abusaeedashrafi8518
    @abusaeedashrafi8518 5 месяцев назад

    Sir,
    My bldc motor phase voltage uvw.
    How can I bldc motor run with two phase wire

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

    what was that info for using the arduino it went by too fast couldn't get all the info. thanks

  • @Mariz650
    @Mariz650 17 дней назад

    how would you control a dc motor as servo?

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

    if you change the cap to a higher range will it my output more choppy (like spin stop spin stop ).... basically need a choppy effect when the POT is turned down then when the pot is turned up it should speed up and smoothen out .Is it possible ?

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

    Excellent video!

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

    very helpful video to explain the concept in a visual way cheers

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

    Woooow amazing 👍🏻🤩

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

    The R1 heats up when motor is running slow . tried using a 1 watt 1k ohm but motor doesnt rotate at all. My input is 12v. Any ideas

  • @TheParivel
    @TheParivel 4 месяца назад

    Do you have a board design 110 V BLDC motor that has around 500 watts power ?

  • @marvelshorts2.o337
    @marvelshorts2.o337 Год назад

    thanks for making this video bro