Electronic Circuits and electronic circuits, electronic schematics plus an extensive resource for hobbyists, inventors and engineers

DiscoverCircuits.com has links to 45,000+ electronic circuits, cross-referenced
into 500+ categories.    We have searched the web to help you find quick design ideas.

HOME Schematics Hobby Corner Dave's Circuits Electronic Resources Contact Info
Imagineering Ezine    Discover Solar Energy Dave Johnson & Associates Faraday Touch Switches
Welcome to DiscoverCircuits.com - online since 2002

See Media Kit for
Advertising Opportunities

Attention Designers:  Please alert us by eMail if we have linked to sites
where your original material has been copied without your permission.
We will change to the LINK to your site.  
Thank you.


DiscoverCircuits.com -- Hobby Corner
Last Updated on: Tuesday, October 24, 2017 02:55 PM

Hobby Circuits List

The contents & graphics of Discovercircuits.com are copyright protected.
LINKING to Dave's circuits is permitted but DO NOT COPY any files to your WEB SITE server

More  PWMMotor Control CircuitsControl Circuits

Computer Controlled PWM Circuit


There are times when you wish to control a pulse width modulation (PWM) signal with a DC voltage, ranging from 0v to 5v. This voltage is often created by a computer interface.  The circuit below performs this voltage to PWM conversion. PWM signals are often used to control the speed of DC motors and can also be used to control LED lamp light intensity.

Two ICs are used for this converter.  A dual op Amp generates a 20KHz square wave signal.  A triangle shape waveform is produced as part of that generator. That signal is fed to the non-inverting side of a LM393 voltage comparator.  The 0v to 5v control input is level shifted and attenuated to match the triangle wave peak to peak voltage.  That DC voltage is fed to the inverting side of the LM393 comparator.  The comparator output is thus a TTL level signal, whose pulse width can be controlled by the input DC voltage. With a 0v input, the duty cycle of the PWM waveform is 0%.  With a voltage of +5v, the duty cycle shifts to 100%. With the component values selected, the PWM frequency is 20KHz but can easily be changed by changing the resistor value at the R4 position.

Click on Drawing Below to view PDF version of Schematic

More  PWMMotor Control Circuits Control Circuits

Hobby Circuits List
eMail David A. Johnson, P.E. about this circuit


Imagineering Ezine    Discover Solar Energy Dave Johnson & Associates Faraday Touch Switches

 About Us   |  Advertise on DiscoverCircuits.com   |   Report Broken Links  |    Link to DiscoverCircuits.com  |   
Privacy Policy

Discovercircuits.com endeavors to credit original designers.   Please alert us by eMail so we can
delete links to material that have been copied without your permission
.   Thank you.

© Copyright of all original material on this website is the property
of David A. Johnson, P.E. (Dave Johnson & Associates ) unless otherwise noted.  

Linking is ALLOWED but COPYING any content or graphics to your web site is EXPRESSLY PROHIBITED.
All material is provided "as is" without guarantees or warranty of any kind, either expressed or implied.