This question already has an answer here:
I have a Power Supply of 24 volts and 2.5A.
I need something like that:
I need a power supply of 24V and almost 1500mA and another of around 8 volts and 500mA (to suplpy an Arduino). It is possible with this connection? Or I nees something like http://www.amazon.com/LM2596-Converter-Module-Supply-1-23V-30V/dp/B008BHAOQO/
How much the resistors would be?