Circuit USB DC Power Supply
The diagram shows the circuit of a versatile USB
power socket that safely converts the 12V battery voltage into stable 5V. This circuit makes it possible to power/recharge any USB power-operated device, using in-dash board cigar lighter socket of your car.
The DC supply available from the cigar lighter socket is fed to an adjustable, three-pin regulator LM317L (IC1). Capacitor C1 buffers any disorder in the input supply.
Resistors R1 and R2 regulate the output of IC1 to steady 5V, which is available at the ‘A’ type female USB socket. Red
LED1 indicates the output status and zener diode ZD1 acts as a protector against high voltage.