Hi all,
I'm fairly new to working with operational amplifiers and so I'm just messing around with a few basic circuits. Had a comparator working fine to switch an LED on/off based on some variable reference voltage, but now I'm trying to get a working voltage follower.
I have 2 different Op-Amps.
Texas Instruments TL072CP
Texas Instruments LM741
I'm connecting the Op-Amp as follows
+Vcc from 5V supply on an Arduino Uno
-Vcc connected to Arduino Uno GND
Non-inverting input connected to the middle pin of a 10K pot (with the other 2 pins connected to +Vcc & GND)
Output directly fed back to the inverting input (as per voltage follower)
I've then connected both inputs of the Op-Amp to pins A0 and A1 of the Arduino so I can read the voltage out of the pot and the output of the Op-Amp.
Obviously, in this configuration, we'd expect these 2 voltages to be pretty much the same through the Op-Amp supply range as I twist the pot. As I understand, the LM741 has some limitations (due to BJT?) which means it loses this behaviour towards the ends of the supply range, and this is what I've observed. All good.
When trying the TL072CP, if I start turning the pot from maximum output to decrease the IN+ voltage, the output decreases accordingly... until I hit ~1V. After this point, the output climbs rapidly up to +Vcc.
I've attached a portion of the serial log below.
I've given it a good think, and I've double-checked my connections but I can't quite work out what's going on here! If anyone has any idea, please let me know
Thanks!

I'm fairly new to working with operational amplifiers and so I'm just messing around with a few basic circuits. Had a comparator working fine to switch an LED on/off based on some variable reference voltage, but now I'm trying to get a working voltage follower.
I have 2 different Op-Amps.
Texas Instruments TL072CP
Texas Instruments LM741
I'm connecting the Op-Amp as follows
+Vcc from 5V supply on an Arduino Uno
-Vcc connected to Arduino Uno GND
Non-inverting input connected to the middle pin of a 10K pot (with the other 2 pins connected to +Vcc & GND)
Output directly fed back to the inverting input (as per voltage follower)
I've then connected both inputs of the Op-Amp to pins A0 and A1 of the Arduino so I can read the voltage out of the pot and the output of the Op-Amp.
Obviously, in this configuration, we'd expect these 2 voltages to be pretty much the same through the Op-Amp supply range as I twist the pot. As I understand, the LM741 has some limitations (due to BJT?) which means it loses this behaviour towards the ends of the supply range, and this is what I've observed. All good.
When trying the TL072CP, if I start turning the pot from maximum output to decrease the IN+ voltage, the output decreases accordingly... until I hit ~1V. After this point, the output climbs rapidly up to +Vcc.
I've attached a portion of the serial log below.
I've given it a good think, and I've double-checked my connections but I can't quite work out what's going on here! If anyone has any idea, please let me know
Thanks!
