I built this DC-to-DC converter for my 48V electric bike because I wanted to be able to plug-in some common 12V accessories, e.g. my cell-phone charger, or a GPS unit.
Step 1: Schematic
Here's the schematic. The cap values are somewhat flexible depending on how much ripple you can tolerate. Be sure to observe the correct polarity for the electrolytic caps. I do not have a list of Digikey part numbers because I found many of the parts I needed at a local electronics surplus store. But all these parts (or something close) are available from Digikey.