------=_Part_37051_27899173.1212060143269 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi All, I'm hoping someone can give me some help understanding this circuit- i'm just a hobbyist with no training in electronics and i'm struggling with this one. I have a simple "wall wart" battery charger. It's designed to charge an 8-cell NiMH/NiCad battery, at 100mA. I've taken it apart and deduced the following circuit, which i'll describe because i'm not sure if you can attach pictures on the list. I've tried, maybe it'll work, maybe it won't. The secondary of the transformer: one leg is tied to the negative terminal of the battery. The other leg goes through a diode (can't see what it is, just a standard 1N4xxx series I presume, but i don't think that's important). then the diode connects to a 27 ohm resistor, and then the resistor connects to the positive battery terminal. Across the 27 ohm resistor there is a 680R in series with an LED - this is just a charge light and I think has negligible impact on the functionality of the circuit. So, we have a diode performing half wave rectification, and a 27 ohm current limiting resistor. I've measured some voltages whilst everything was connected: the secondary of the transformer is about 21 VAC. There is a drop of 2.96 VDC across the 27R, and a voltage of 10.5VDC across the battery. At the time, the current was 103 mA. I want to understand the math behind the circuit. I'm confused because I don't know how the voltage of the battery being charged comes into things. I'd like to know a formula for the current in terms of the input voltage and the value of the current limiting resistor. Any explanation would be very greatly received. Thanks Jon ------=_Part_37051_27899173.1212060143269 Content-Type: image/png; name=circuit.png Content-Transfer-Encoding: base64 X-Attachment-Id: f_fgt903750 Content-Disposition: attachment; filename=circuit.png iVBORw0KGgoAAAANSUhEUgAAAi0AAADBCAIAAACMkhf1AAAALHRFWHRDcmVhdGlvbiBUaW1lAFRo dSAyOSBNYXkgMjAwOCAxMjoxMjo1OCAtMDAwMOF61QoAAAAHdElNRQfYBR0LDQ2fYNnBAAAACXBI WXMAAA7DAAAOwwHHb6hkAAAABGdBTUEAALGPC/xhBQAADHdJREFUeNrt3Y2yojYABlDs9L3VJ791 ll3K8hMCJCaEc2bbURTlCuQjIYTHz89PBwCF/FN6AQC4NTkEQElyCICS5BAAJckhAEqSQwCUJIcA KEkOAVCSHAKgJDkEQElyCICS5BAAJckhAEqSQwCUJIcAK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n8pKdw70V 9n5FzDsjyaG6zNvi+inSCKq199aga3fpnMRVzAeePAlUyf1C5VBd+ryZpJEQgprdc1C4hJwfqs5a lQgg7BOEV8xCOZRAuCfCrq7bIgc47JNAlwuhTg6lshZFh68fmrTFySeo3xUzoAbODyVzfny5edh8 0kgCAW1zP9ZajPNm6K0wySEdFoD2aJerziRsxk/VjYD2yKEE3r+c+oRgwKgGAQ1zfiiB/iTQEEVn BjbdjBwjLACNkUPJDPGzN5BiWtt0WABapZ9CRn0ghdMo0A1hUvXRYQFokvpQRuP2us260Wa0qBIB TZJDGW0m0OFccZYIaIYcSi/+/NBQxYkMlb3vB6ifHErmWH+5vYkigYDGyKEEIs8AATCnv1y9Ho9H 9yq9EEBWr04hrD5UL1snNO/90gnWuD4AFCWHAChJDgFQkhwCoCQ5BEBJcgiAkuQQACXJIQBKkkMA lCSHAChJDgFQkhwCoCQ5BEBJ7vsAkF5/6+RU2r4BpvoQQGJpQyjHB1ZFDgEklrz60nZ9SLscQDGf ik7bGRNDfQiAkuQQACVplwNI7/1+D4+fz+fkpcmUyfTxvGsf0pJ/Sy8AQGsmSTMPnrUoGsxf3Zzl urTLAaQ0D4zP00kVZz5l04FZrkIOASSzVmtJUpVpNYrkEEABrYbKAXIIoAxR1NNPASCX+Wmh0ktU IzkEkMuk19ziGxruCBdJuxxASVrn5BBAMmuhkqTS02rNSQ4BpDSPopirVjerRK2GUOf8EEByk1yJ yY/JLPNYajWEOuPLAVCWdjkASpJDAJQkhwAoSQ4BUJIcAqAkOQRASXIIgJLkEAAlySEASpJDAJQk hwAoSQ4BUJIcAqAkOQRASXIIgJLkEAAlySEASpJDAJT0H7GbJJaTjQe9AAAAAElFTkSuQmCC ------=_Part_37051_27899173.1212060143269 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist ------=_Part_37051_27899173.1212060143269--