Unlike people that respondedFirst of all, it is good to spread out heat dissipation across multiple components. That's why for sure you should use some passive components for lowering voltage before your regulator. Lets take the further example:
First of all, I encourage you should know how to do thattreat voltage regulator from aspect of power consumption. IfNote that your deviceregulator is enclosed, dispositiontaking some of heat generation is pretty important. Heat will generate on resistorsyour input current, indeedso just for our current perspective, but if you put it a bit further from yourwe can take next model for voltage regulator:
So, you will split the heat more evenlycurrent for R1 and you will save a bit your active componentR5, wont be the same. Of course at least passive cooling is nice to have on your regulatorOne part of R1 current will go through the R6 (dependable on voltage/currentconsumption of regulator). You can find this current in datasheet of the regulator you are having)using. Keep
Now, if you know that you want to have 3.3V on mindoutput (thanks dimVout) of particular regulator, that partmeans that next equation will do:
R2*Iout = 3.3V
On the other side of regulator, you want to lower your currentVin voltage which will be spent in voltage divider:
Vin = V1 - R1*I1
Note also relations of current, where I1 = Iout + Iu, where Iu is load current of regulator (according to simplified model, current through R6 resistor). If
Now, when you are not readyknow V1, you need to pay that pricedecide what should your Iout be (dependable onconsult your circuit or usagedatasheet for available range). For example, sometimesyou want it canto be sufficient solution500mA:
R2*500mA = 3.3
V1 - R1*(500mA+Iu) = Vin
You would like Vin (in this case) to be something between 4 and 5V, so from two upper equations you can try with distributing dissipation on serialchoose your R1 resistor, as someone suggested (note that in that casepresumably you will tune voltage drop with value of that resistor). Anotherknow what your load (better and more expensiveR2) solution would be cascade regulatorsis.
@dim: Is this more suitable then my previous answer?