I could... I'm trying to do this with minimum components, and minimum cost. Op amp is actually built into the MCU.Doing a high side current measurement is difficult due to common-mode errors.
There are ICs specifically designed to measure high side current which will save you a lot of grief.
Can you use something like one of these?
If I cant figure out the math I will just build it and measure... But that isn't right... The mock-up works well enough and I can calibrate in software, but I want to have a better starting point.




