I have a 24V power supply coming into my circuit and I need a 12V for a fan and 5V to run my logic. I have 12V and 5V linear regulators that I can use to get the desired voltages. Would it be better to run the 24V to both or the 24V to 12V and then take the 12V to the 5V? My reasoning for the 24V -> 12V -> 5V is that the 5V would need to dissipate less power (7V vs 19V), but I didn't know if it is a bad idea to have one regulator pull from another.
I appreciate any input you have,
Jeff