I am trying to figure out how to make a circuit that can regulate the current of a discharging battery. Right now I have a setup running where I monitor the amperage (with a shunt) and voltage (with a voltage divider) that uses a resistor and a fan. But as the battery voltage goes down so does the current (because the resistance is always the same). I’m trying to figure out a way to keep the current constant during the entire discharge. Alternatively, constant power during the discharge would work.
The discharge starts with the battery at 8.6V and stops at 5V. It has no problem putting out 100A but I want to regulate the current at 20A. At 20A, the test will last about 5 hours before the battery is discharged.
Does this sound like a project that the arduino can handle given the right components?