Current reading, how does it work

arduinocurrentdc motor

For a project I'm using an Arduino to drive a motor using a special pcb. In this board there is also a way to read the current drawn by the motor. Although I have the schematic I'm not 100% how this works and what the mechanism behind this is.

see the relevant part of the schematic:

Schematic

Can someone quickly explain how I can use the Imotor2 connection to read the current, and why this works (the physics behind).

Thanks

R.

Best Answer

R7 is the current sense resistor and it has a value of \$0.5 \Omega\$. By measuring the voltage across R7, you can use Ohm's law to determine the current through the resistor. The reason it has such a low value is so you have as small of a voltage drop as possible. This allows most of the voltage drop to be across the motor. R24 and C3 are there to act as a low pass filter to help smooth your current signal out.