8s lipo to led, and 12v

Hello, What is the best way to control 2 x 1w smd led(3.0 - 3.8V) from a 8s li-po battery (24v empty - 33.6v full) using arduino of course.. The arduino is powered by a DC/DC converter (40v max to 5V-5A regulated).

In the same project i need to control a 12v relay... so here is the same question.

Only thing coming to my mind is a voltage divider to bring voltage to the desired value, and then use a transistor to control the circuit.. but i am not so sure that this is the best way.... :roll_eyes:

Thanks for your time.. ;)

Get a LED driver board. These things are quite cheap and work just fine. And they don't start a fire.