Sorry for the short title, it was just to get around the title bug i read you're having
Im making a simple battery charger where the goal is to feed a constant voltage of 4.25 volts to the battery until the charging current reaches 1 mA. That is the battery resistance increases until this current is reached. But how do I measure the charging current? The voltage across the battery is of course kept constant, so I can't just measure that. I'm using a LM317 as a voltage source configured as in the picture. My R2 is fixed to 560 ohms and C2 wasn't needed.
Im making a simple battery charger where the goal is to feed a constant voltage of 4.25 volts to the battery until the charging current reaches 1 mA. That is the battery resistance increases until this current is reached. But how do I measure the charging current? The voltage across the battery is of course kept constant, so I can't just measure that. I'm using a LM317 as a voltage source configured as in the picture. My R2 is fixed to 560 ohms and C2 wasn't needed.