The relay like you mentioned or a voltage converter (google them there are heaps available) would do the job.
I was looking at voltage converters last week to go from 12V to 5V and noticed that there were lots available with a wide range of voltage conversions. Jaycar, DSE etc seemed to have a few.
Bookmarks