In my earlier blog, we learned about the 74HC595 shift register. In that blog we learned to connect LEDs to all output pins of shift register. As we know that all those connected LEDs had full brightness. In this blog, we will learn how to control the brightness of those LEDs.
To control the brightness of those LEDs, we will use the Output Enable (OE) pin. As we know that OE is a negative switch, which means connecting it to the ground (LOW), will keep the shift register on, and and connecting it to the power (HIGH), will turn off the shift register.
So we can control the brightness of the LEDs by changing the voltage given to the OE pin. We will use a potentiameter for this purpose.
Please watch the video below for the explanation and the demo.