Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

PWM Tutorial in HD

Loading...

Sign in or sign up now!
138,210
Loading...
Alert icon
Sign in or sign up now!
Alert icon
There is no Interactive Transcript.

Uploaded by on Nov 15, 2008

Afroman goes over the basics of PWM and shows you how to cheaply build a PWM circuit that can dim LEDs, control the speed of a motor, or control the power going to pretty much anything you want! Don't forget to vote 5!

Circuit diagrams at: http://afrotechmods.com/groovy/PWM_tutorial/PWM_tutorial.htm

Category:

Science & Technology

Tags:

License:

Standard YouTube License

Link to this comment:

Share to:

Uploader Comments (Afrotechmods)

  • Regardless of the duty cycle and though the average voltage will be lower than the input voltage, it still peaks at 12V (or whatever input voltage is used). For a 12V lightbulb this will not pose a problem but what if the device can ONLY run on 5V? The average voltage might be 5V but the 12V peak can be enough to kill the device. I still don't fully understand this part.

  • @busybjorn Well if it's a 5V device then the 12V peak would kill it. So don't feed it a 12V PWM wave.

  • Thank you!

    Would a 5v zener diode work? Would I need a current limiting resistor with it if it had say a 1 amp rating?

    Regards,

    Todd

  • @tjnlsn255 Huh? No. Zener diodes are very crappy voltage regulators. Avoid using them when 30 more cents gets you a proper regulator.

  • If my 24v dc motor power supply is two 12v batteries in series can I just use power from one of the 12v batteries to run the 555 circuit or should I use the 12v to run an LM317 and then run the circuit from the LM317?

    Thank you and great video!

  • @tjnlsn255 Both ways will work. But I would use the LM317 method because a stable voltage over time will mean the frequency and duty cycle won't drift as the batteries discharge.

Top Comments

  • @blacklust007 Excellent question. The LM317 is a linear voltage regulator which is inherently inefficient. It burns up excess voltage as heat to get the output voltage you want. Power loss will be (Vin - Vout) * Iout. PWM is switching between fully off and fully on, so it will be much more efficient and generate less heat.

see all

All Comments (132)

Sign In or Sign Up now to post a comment!
  • Q.Q ty

  • Does anyone have an EAGLE PCB Project for this and could share?

  • I actually did like to learn about PWM! :)

  • As custom you videos are very helpfull. Thanks a lot.

  • This is an awesome Tut. i have to use the same Technic like you for the motor. One thing is that i have to use a pic : 18f4550 Do you have a tut for that ? Because i'm very new to Pic programming.

  • @diaracing usb2.0 is only rated up to 500mA I have pushed them to just shy of 750mA what are you trying to run? IF it's just leds follow the wiring he made in the video otherwise you need to use your daq to signal a relay or logic circuit with an oscillator and another power supply. It takes a lot of current when using low voltages such as 5v from usb.

  • thank u sir. it was very helpful

  • Why not just use a potentiometer to adjust voltage? What is the benefit of making a squarewave and adjusting the PWM?

View all Comments »
Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more