I have a couple of fun electronics projects I have designed, very simple, that require some logic (i.e. cascading 555 timers and doing different things with logical combinations of their outputs).
I would need to use some AND/OR/NAND/NOR gates as well as some inverters, but it's not obvious to me what people normally use to prototype these. I've seen where to buy ICs containing gates, but looks there's not a lot of single gates available, they normally come in ICs with a few of the same type, and many times I just need one or two, and would prefer to not "waste" an IC containing 8. Also there are some options for through-hole, but not that many. For example, I inverters seem hard to find to mount through-hole. I have also seen IC with multifunction gates or mixed types of gates. I wonder if this is what's useful to have a bunch of spares of.
As an extra question, many times the same simple logic that I refer above can be recreated with a mux/demux. In cases like this, is there a preferred way to do it (logic gates VS mux/demux)?
- Note: I know how to create logic gates from transistors, but that's not what I'm after.