[ Specified attachment is not available ]I hadn't seen an op amp with a transistor in the feedback loop before. From reading up on this, it sounds like this is commonly done to create a logarithmic amplifier, to squash the dynamic range of a signal.
EDIT: I have updated the schematic because I had missed quite a bit in my first attempt. it looks like the idea here is that the microcontroller can turn the transistor in the feedback loop on and off.
It looks to me like the second transistor is being used as a switch. When the pin from the microcontroller is OFF, the switch is open, and the transistor in the op amp feedback loop gets V+ to it's base. When the microcontroller turns the pin ON, the base switch is closed and the base of the feedback transistor is grounded, and the op amp starts to work as a logarithmic amplifier.
Is that correct? What would the point of this be? From the code in the microcontroller, I can see that the pin is turned ON just before the analog-to-digital converter is read. What is the point of having the ability to turn it off? It looks like that would make the op amp behave more like a follower. But why is would there be a need to switch this behavior ?
[ Specified attachment is not available ]