Smart battery discharger/tester

Hi bitcurrent

Heat is actually shared among the two components (transistor, shunt).
You can use a 5W resistor, not less.
Heat will change resistor value and decrease accuracy
Another option is to choose a 0.1 R shunt, 1W should be OK
Don't forget to modify the code