One of the common issues I always run into are switching on power sources digitally. There are a few cases which I have issues, and I'm interested on insight on both (I know relays would work just fine, I'm looking for some solid state setup... and in particular something that would work with my parts bin (BJTs, diodes, and triacs)).
Current issue:
5v chips performing calculations which then need to be used later to switch on 12v line. This project runs off of a Molex connector on a computer PSU. The 12v and 5v rails are from the same source, and the ground is shared. Is there a way I can safely supply 12v given the state of the 5v chip? Basically it's as if a relay is used with a chip output to switch on a 12v line. Perhaps a single MOSFET would work here (sadly I only have BJTs... any fancy configuration work with them)?
Other common issue:
Same as above, but the 2 power sources differ. Like 5v input from computer, to switch on external 9v battery (once again, a relay would work, but I'm looking for something digital).
Right now everything is DC... I've got my triacs for my AC work of similar scenarios.
Sorry for the terrible descriptions... just about to head to bed.
-Brandon