Generate Pulse Width Modulation (PWM) Signal using 555 Timer IC


BySaddam 5

555 Timer PWM Generator Circuit

PWM (Pulse Width Modulation) is a important feature of today’s every microcontroller due to its requirement for controlling many devices in every field of Electronics almost. PWM is widely used for motor controlling, lighting controlling etc. Sometime we do not use microcontroller in our applications and if we need to generate PWM without microcontroller then we prefer some general purpose ICs like op-amp, timers, pulse generators etc. Here we are using a 555 timer IC for generating PWM. 555 Timer IC is a very useful and general purpose IC which can be used in many applications.


Required Components:

  1. 555 timer IC -1
  2. 10K pot -1
  3. 100ohm resistor -1
  4. 0.1uF capacitor -1
  5. 1k resistor -1 (optional)
  6. Bread board -1
  7. 9v Battery -1
  8. LED -1
  9. multimeter or CRO -1
  10. Jumper wire -
  11. Battery connector -1


What is a PWM Signal?

Pulse Width Modulation (PWM) is a digital signal which is most commonly used in control circuitry. This signal is set high (5v) and low (0v) in a predefined time and speed. The time during which the signal stays high is called the “on time” and the time during which the signal stays low is called the “off time”.  There are two important parameters for a PWM as discussed below:


Duty cycle of the PWM:

The percentage of time in which the PWM signal remains HIGH (on time) is called as duty cycle. If the signal is always ON it is in 100% duty cycle and if it is always off it is 0% duty cycle.

Duty Cycle =Turn ON time/ (Turn ON time + Turn OFF time)

pulse width modulation duty cycle


Frequency of a PWM:

The frequency of a PWM signal determines how fast a PWM completes one period. One Period is complete ON and OFF of a PWM signal as shown in the above figure. In our tutorial we will set a frequency of 5KHz.


We can notice if LED being OFF for half second and LED being ON for other half second. But if Frequency of ON and OFF times increased from ‘1 per second’ to ’50 per second’. The human eye cannot capture this frequency. For a normal eye the LED will be seen, as glowing with half of the brightness. So with further reduction of ON time the LED appears much lighter.

We have previously used PWM in many of our projects check them below:


555 Timer PWM Generator Circuit Diagram and Explanation:

PWM generation using 555 timer IC circuit diagram

In this PWM generater circuit, as we mentioned above we have used 555 Timer IC for generating PWM signal. Here we have controlled the output frequency of the PWM signal by selecting resistor RV1 and capacitor C1. We have used a variable resistor in place of fixed resistor for changing duty cycle of the output signal. Capacitor Charging through D1 diode and Discharge through D2 diode will generates PWM signal at 555 timer's output pin.


Below formula is used for deriving the frequency of the PWM signal:

F = 0.693*RV1*C1

The whole working and demonstration of PWM generation is given in the Video at the end, where you can find the PWM effect on LED and can check it on Multimeter.


Simulating PWM generation using 555 Timer IC:

Below are some Snapshots:

generating PWM using 555 Timer IC simulation

generating PWM using 555 Timer IC simulation

generating PWM using 555 Timer IC simulation

generating PWM using 555 Timer IC simulation

generating PWM using 555 Timer IC simulation


Get Our Weekly Newsletter!

Subscribe below to receive most popular news, articles and DIY projects from Circuit Digest


  • sagar's picture
    Apr 27, 2018

    Can i Generate 7mhz or 3.5mhz pwm signal on 50%duty cycle?
    i am not able to generate this much pwm signal to the arduino .
    and in your mind having some external ic is there to produced the 7mhz pwm signal then tell me.

  • CBMalloch's picture
    Sep 08, 2018

    But I think there are CMOS versions that might reach a few MHz

  • Efi's picture
    Sep 05, 2018

    It’s helpful thank you very much!

Log in or register to post Comment