Hi there,
So I'm a bit new to working with hardware, but I'm trying to find an elegant way to solve what seems like it'd be a common design problem, but most chips I've found aren't quite it. If it's an obvious one, pardon my ignorance.
I want to use the arduino to control 16 different output lines independently (these will go to FET's to switch on or off valves or solenoids for musical creation).
I'm imagining I'll need a decoder and a latch combination to do this (I want to be able to turn each line on or off independently of the rest.) But most of these decoder / latch combinations (like the MM74HC4514 for instance) let you turn lines on independently, but you can't turn them off without resetting the whole thing.
I know my inputs and outputs would look like the following, but I'm not sure what goes in the middle. What I'd like to do is select the output with the select lines, which would then forward the State line to chosen output, which would then remember that state. Then when I would choose another output and set its state, but the first one would stay where I left it until I selected it again and set it to something else.
Is there a single chip that does this, or an easy combination of a couple?
Any suggestions are greatly appreciated!
-Paul