I am starting a project where I want to make a simple, Arduino-controlled NiMH battery charger. I imagine several iterations, but the first one will be really simple. It will charge at a constant current of around 0.1C (where C is the battery capacity) and will monitor the voltage and charging current. For the constant current, I will be using a 7805 regulator in constant-current mode (i.e. with PIN 2+3 connected with a resistor and the battery itself connected to PIN 3 and GND), figure 4 here:
https://www.sparkfun.com/datasheets/Components/LM7805.pdf
For the voltage measurement, I want to charge the battery in cycles of 1 seconds, where after each second I stop the charge for some milliseconds to measure the voltage. The question is how to stop the charge. My thoughts are to use a power MOSFET (n-channel, enhancement mode). I have the following and it appears it should to the job.
http://www.vishay.com/docs/91291/91291.pdf
The gate of the MOSFET will be controlled by the Arduino. The question is then: Should the MOSFET come "before" the 7805 regulator i.e. so that the regulator would get switched on-off also during the cycle? Or should I put the MOSFET after the regulator, so it is only the power to the battery that gets cycled? Or doesn't it really matter?
Can the 7805 get "worn out" from being cycled so many times as would happen in this application (if the MOSFET is before the 7805)? It would be cycled once every second.