Introduction: DIY USB Charger for Your Phone - LM2596
This article can also see here:
Step 1: Components
Step 2: Schematic
Schematic of USB charger.
Step 3: Soldering
At the beginning, set the voltage to 5V on LM2596 using a potentiometer.
Then connect the LM2596 to the USB port as shown in the picture.
After connecting the USB and setting the voltage, the charger is ready to use.