From 24V to 5V DC voltage regulator

2W - that's going to need a heatsink.