How to Design a Precise Inclinometer on a Custom PCB

How to Monitor Current with an Op-Amp, a BJT, and Three Resistors