true but this will also drop output voltage by Vf of the diodes (0.7V or so).Isolate the two sources (output of the 7812 and the raw source) with two diodes. That way, whichever has the higher output will supply the load.
by Aaron Carman
by Jake Hertz
by Jake Hertz