1

I get minimum voltage output from my sensor as 2.2V and max voltage as 2.65V. I want to change this voltage to 0-5V range so that the controller ADC can calibrate input in a wider range.

How can I do that through a circuit? The microcontroller is a PIC 16F877A.

Can someone guide me, please?

JRE
  • 67,678
  • 8
  • 104
  • 179
Jai Vyas
  • 11
  • 1
  • 2
    As you tagged the question "operational amplifier" you already know the answer. –  Sep 17 '20 at 12:10
  • See https://electronics.stackexchange.com/questions/30719/analog-voltage-level-conversion-level-shift – ocrdu Sep 17 '20 at 17:07

1 Answers1

0

Presumably we don't want + - power supply for the amplifier. So it will work from 5V. Thus, however, its output can never reach two values. One is zero and the other is 5V. :) It approaches a couple of ten mV, but never reaches. To be accurate at the two extremes, the gain must be slightly reduced. This will also be good here because we can use 10x gain.erősítő

The average value of the input voltage is 2.425 V. We try to set this on the inverting input with resistors (14k, 14.953k). Then the gain with resistors R3 and R8. We get quite unusual values, so we use series resistors. Thus, the 2.2V input will be 240mV and the 2.65V input will be 4.74V.

erősítőkettő

You can already find a lot of amplifiers that meet these requirements. However, you should search among the RRO types. Of course, it is not necessary to select the type used in the model.

There is even a spare in case the supply voltage is not exactly 5V.

csabahu
  • 2,156
  • 4
  • 5