3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Yet Another Simple Pot-controlled 555 PWM generator

Yet Another Simple Pot-controlled 555 PWM generator
Something that a project that I'm working on has me doing is using a serial to parallel IC (think 74HC595) to control leds. However, rather than drive the leds directly from the pins, I opted for the use of transistors. After testing this out, it became apparent to me that perhaps the leds might be too bright, so I went in search of a simple PWM generator.

Of course, there are a couple of instructables that already feature such a circuit, but I was unable to get them to work correctly for whatever reason. This being the case, I will now present the circuit that I came across and works very well.
 
Remove these adsRemove these ads by Signing Up
 

Step 1Yet another overview

Yet another overview
«
  • 2010-07-10 16.09.57.jpg
  • 2010-07-10 16.09.43.jpg
  • 2010-07-10 16.09.26.jpg
PWM stands for Pulse Width Modulation, which is a simple way of efficiently supplying varying amounts of power.

For example. Say that you wanted to control the brightness of an led (note: there are many ways to do this, but for the sakes of an example, I'll only note two). The first way would be to put a variable resistor in series with the led. This would alter the amount of current that went through the led, while holding the voltage constant. If you put the variable resistor at 40%, the led would be 40% as bright as it could be.

The second way would be to connect a led in series with a resistor and a power supply that could be turned on and off really quickly. Let's say that you were able to turn on and off the power supply quick enough to the point where 40% of the time it was on, and 60% of the time it was off. This would be reflected by the led being on full brightness, but only for 40% of the time, giving the illusion of being 40% as bright as it could be.

Two different methods, for the same result. What's the difference? About 60% of the energy gets burned off as heat in the resistor in the first circuit, while in the second circuit, almost all of the energy supplied is used.

This is why PWM is useful. It allows a signal to range from completely off to completely on. If a signal is turned on and off quick enough, given a certain ratio, a signal can appear to be that ratio, without suffering from much power loss at all.
« Previous StepDownload PDFView All StepsNext Step »
7 comments
Feb 25, 2011. 6:09 AMledfreak14 says:
Did you know you can play tetris on that oscilloscope?
Oct 15, 2010. 11:21 PMrcisneros says:
Thanks for the post.
I know it's my own ignorance, but there is not info here for me. The levels of the readers electronics knowledge varies greatly.
Like for me, I don't see how this even works since I can't find where to attach the power, where it comes out. I have to figure out ground, might be the (-). I know it's me, but help a guy out and label those things.
Keep in mind that the people that can read this cold, probably know how to do it already.

Thanks
Jul 11, 2010. 7:46 AMrimar2000 says:
Good work! Now, a question: can I use this PWM to vary the velocity of a desk fan? And a drill? In other words: how many potency can this circuit manage?
Jul 11, 2010. 2:34 PMrimar2000 says:
Thanks very much for your response. Electronic, as you can see, isn't one of my skills...
Jul 11, 2010. 1:13 AMomnibot says:
Nice one.

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
4
Followers
2
Author:ZeroTruths