Electronics > Projects, Designs, and Technical Stuff
Convert single input to multi output with enable/disable for each output
(1/1)
whiskeyjack:
I want to connect 8 LEDs to one GPIO. GPIO goes high LEDs turn ON, GPIO goes LOW LEDs turn OFF or opposite logic - both are acceptable. I want to have some sort of IC in between which allows me to select one or more LEDs to turn ON when my GPIO goes HIGH (or LOW). It will be convenient if I can do this selection using i2c. So, if I have LED1 ... LED8 and I have enabled 2, 5, 7 then I can do a PWM on my GPIO and only LED - 2, 5, 7 turn ON based on PWM. Rest (1,3,4,6,8) remain OFF.
I am looking at demultiplexer list on Digikey but haven't found the right IC yet. Can someone help me select a part number? The IC needs to generate a weak logic output only. I will a mosfet/transistor to drive the LED from this weak logic output.
ggchab:
An I/O expander like the MCP23017 ? Each of them could control 2 sets of 8 LEDs :)
Navigation
[0] Message Index
Go to full version