I have a raspberry pi 3 and an Adafruit motor hat. The motor hat is powered from a 24v wall plug adapter while the pi is powered from a 5v one. I'd like to save a wall outlet and cleanup the wires (and save some energy?). Is here a simple way to use one wall outlet to power both boards?
I'm not looking for solutions like power strips or dual outlets, I'm asking about a single compact power supply with 5 and 24v outputs, or a circuit to convert 5v to 24v or 24v to 5v.