I'm trying to design an voltage regulator on a motor control board. I want an output voltage of 5 VDC and the input voltage is 24 VDC. Because of heat production i was thinking about using a switching regulator like the L7983 followed by an L7805. Bu...