Measuring current by a shunt resistor in Arduino using proteus simulation

Thread Starter

MKhalid0

Joined Apr 20, 2022
2
Hello Guys,

I need help with the following circuit.
I am required to measure the current through a load using a shunt resistor 75mV-300A.
I have made the following circuit in Proteus:
Screenshot 2022-04-20 173645.png

and the following code in Arduino IDE:
Screenshot 2022-04-20 173801.png

The current results are very weird and not even close to the real value.
Any help?
 
Top