
This Light Intensity Controller Project describes how a simple circuit can be designed to control the intensity of a string of LEDs. The circuit is based on a common 555 timer IC that employs a pulse width modulation (PWM) technique to control the voltage. The 555 IC is driven in an astable mode. The same circuit can be used to control the speed of a DC motor as well.
The most important component in this Light Intensity Controller project is the 555 timer IC along with the MOSFET that works as a switch. The circuit works like a power electronics buck converter, which can be used to step down the DC voltage.

Designing a PWM LED controller using 555 timers is absolutely straightforward and requires only a few components. From the diagram shown in Fig. 1, it is clear that the whole circuit is built around the 555 IC as the PWM generator. Hence, we can control the switching frequency and therefore the brightness of the LEDs with the help of passive and active components connected to it.
The 555 timer is a commonly used 8-pin integrated circuit (IC) that is used for a variety of applications, including a pulse generator, oscillator, and timer. The operating voltage of the IC may vary from 4.5V to 16V. Fig. 2 shows different pins of the 555 IC.

PWM control using 555 IC
Before delving further into the circuit, let us understand the technique of PWM, which is also known as pulse duration modulation. It is a method of controlling the average power delivery by pulsating the DC current. In this circuit, the average power is controlled (reduced) by effectively chopping it up into discrete parts by connecting and disconnecting the power source in fast succession.
To achieve a PWM signal, the 555 timers is driven in an astable multivibrator mode. As the name suggests, the 555 timer has no stable state in this mode, but rather two quasi-stable states that change from high to low and low to high. In simpler words, in this mode, the 555 timer turns on and off at a very high speed, which can be considered as 0 and 1 in the binary context, thus producing a square wave signal, as shown in Fig. 3.

Connecting the 555 IC
- Pin 1 is the ground pin and is connected to the -ve rail.
- Pin 8 is the VCC pin and is connected to the +ve rail.
- Pin 2 and pin 6 are the trigger pin and threshold pin, respectively, which are connected with the ground through a 1nF capacitor timing capacitor.
- Pin 3 is the output pin, which emits the PWM signal and is connected to the gate of the MOSFET.
- Pin 4 is the reset pin, which can be used to reset the operation. But we are not using it, so connecting it permanently to the +ve rail.
- Pin 5 is the control voltage pin, which is connected to the ground with a 100nF capacitor. It keeps the output stable and provides immunity against electrical noises.
- Pin 7 is the discharge pin, which is connected to the +ve input with a 1k resistor and is also connected to the inverted diode setup and helps change the duty cycle.

IRFZ44N for high-speed switching
The 555 timer IC is capable of outputting a small amount of current as an output, which can be directly used only for a handful of LEDs. But in order to drive a long LED string, or control the speed of a motor, the current is not enough. To overcome this problem a MOSFET is used in the circuit whose gate is connected to the output of IC 555. The N-channel MOSFET used provides a negative switching control to the circuit.
For our circuit, we are using N-channel MOSFET IRFZ44N as a switch, which can be excited by the output of the 555 timers and is suitable for the voltage requirement of our load. It has the following specifications:
VDSS=55V
RDS(on)=17.5mΩ
ID=49A
Controlling the intensity of LED
As mentioned earlier, passive components in the resistor and capacitor (RC) network can be used to control the duty cycle and therefore the brightness of the LED.
Duty cycle (D)=PW/T
Here, D=Duty cycle, PW=Pulse Width (pulse active time), and T= Total period of the signal
The duty cycle represents the ratio of time when the load is connected to the power compared to the time load is not connected to the power. The higher duty cycle means that the load is connected to the power source for a longer duration compared to a lower duty cycle.
This technique can be used to control the intensity of LEDs or the speed of a motor, When the duty cycle is high, the LED glows brighter or the speed of the motor will be greater. To reduce the intensity of the LEDs, or to reduce the RPM of the motor, the duty cycle needs to be reduced.
Intensity of LEDs=(On time/ total time)×max illumination
Speed=(On time/total time)× max speed