It's a little montage that serves me in many projects, the input voltage (Vin) accepts an industrial voltage 24V (max), the output is adjustable from 0 to Vin with the potentiometer R2.
Connector K1 is more useful to be installed in its bent 90 ° version, making this power supply not greedy on space. (vertical installation on a breadboard or soldered on a motherboard mounting)
The PCB is only 30 x 18 mm, and dimensions can be further improved, however, if it interested someone.
Another possible improvement is to use SMD components to further reduce the footprint of this circuit.
Just a small contribution to start, I hope it will serve the greatest number.
Enjoy !
The LM317T can also be wired as a 1.5A constant current supply.With a short circuit across the output, the resistance between OUT and ADJ should be approximately 750 milliohms, 2W or two 1.5 ohm, 1W resistors in parallel to limit the current to 1.5A. Higher resistance reduces available current.The LM317T can only dissipate 3W of power in air. If the voltage across it multiplied by the conducted current is higher, it will be necessary to install a heat sink.