Hi all,
I want some ideas about IC's to drive the LED's.
i have 10 LED to operate but i have only 4 pins to drive using 89S52 Microcontroller. it it possible using some specific IC or some other way.
I need to switch the LED's ON and OFF as per my specifications and use.
The classic methods are to use a port expander or a shift register. Both essentially mean you send the 10 LED control signals one at a time and capture them in the expander before presenting them in parallel to the LEDs.
I2C can do it with two MCU pins, a shift register probably needs three, clock data and latch.
Look at the NXP web page.
They produce a complete series of I2C addressable multichannel LED drivers.
In addition to normal on/off, they feature PWM and blinking.
The classic methods are to use a port expander or a shift register. Both essentially mean you send the 10 LED control signals one at a time and capture them in the expander before presenting them in parallel to the LEDs.
I2C can do it with two MCU pins, a shift register probably needs three, clock data and latch.
Thanks a lot to all....
I found the things working perfect using 89S52 microcontroller and 74Hc595 IC where i can control about 8 Led's using only 3 pin.