This circuit has been developed to add a USB charging port to a bicycle for charging a mobile phone. The input supply for the circuit is produced by a dynamo (6V, 3W dynamo) in the bicycle. The circuit uses few components, which help in keeping the size, weight and cost of the unit down. Circuit and working The circuit is based on LM2596-5.0 (IC1). Its configuration, with minor changes, generally reflects the recommendations included in Texas Instruments’ datasheet of LM2596-5.0. The IC provides all active functions for a step-down (buck) switching regulator, capable of driving a 3A load with excellent line and load regulation. The output of the regulator is 5V. It operates at a switching frequency of 150kHz, thus allowing smaller-sized filter components than what would be needed with traditional lower-frequency switching regulators. Fig. 1 shows the circuit diagram of the bicycle USB charger. Fig. 1: Circuit diagram of the bicycle USB charger The alternating voltage genera...