How to make a battery charger?
So I was just wondering, what basic guid lines do you have to follow when making a battery charger for say a lithium-ion battery? How many volts do I need to supply to it? Do I need any protection diodes? How would I keep it from charging to fast, or trying to charge the charger?