Three Opamp Differential
This is the best Instrumentation OpAmp, Great CMRR, ensure supply has no ripple and keep analog and digital grounds separate.The Input zeners and diodes form a protective clamp for all voltages above VCC-VDD. If supply is changed to +12 -12 change zeners to 12V zeners. Use similar Zeners at output to protect Output from being zapped by over-voltages or high energy - voltage*frequency transients. Add plastic capacitors across Rf for damping AC operation or ripple. Also avoid floating inputs by providing a bias.
Vout = (Vp - Vn) * (2Rf+Ri)/Ri

