garg29
Advanced Member level 1
Friends,
I am trying to use PIC16F1789 uC's internal Opamp as Differential amplifier. I want to measure 0 to 100 Ohms resistance. I have converted this resistance to 17.8mV to 33.9mV using simple wheatstone brdige. I have tried making differential amplifier using 1Mohm & 39Kohm resistors pair. Gain should be somewhat 25. FVR set to 4.096volt. but the result I am getting is 3.19 volt & 3.65 volts. which tells the gain is coming 107.6 & 179.2 . why the gain is changing & whether I can use the internal opamp as differential amplifier or not?
set OPA1CON = 0x80;
Any help would be helpful.
Hoping for a solution.
BEST REGARDS.
I am trying to use PIC16F1789 uC's internal Opamp as Differential amplifier. I want to measure 0 to 100 Ohms resistance. I have converted this resistance to 17.8mV to 33.9mV using simple wheatstone brdige. I have tried making differential amplifier using 1Mohm & 39Kohm resistors pair. Gain should be somewhat 25. FVR set to 4.096volt. but the result I am getting is 3.19 volt & 3.65 volts. which tells the gain is coming 107.6 & 179.2 . why the gain is changing & whether I can use the internal opamp as differential amplifier or not?
set OPA1CON = 0x80;
Any help would be helpful.
Hoping for a solution.
BEST REGARDS.