I'm playing around with an op amp using a single +5V power source. I think I have it working, although I'm fairly sure the gain of 2 is causing the output sine wave to be clipped. I tried switching it to use an external +5V power source, but the output only comes out as a fixed +5V. I'm not sure what I'm doing wrong, but I'll do more reading.
It's a TL082, I wonder if it only supports a single voltage supply.
What is the amplitude of your input signal ?
Why would you expect the output voltage to be higher than your supply voltage ?
Anything seems possible when you don't know what you're talking about.
I think flthe input is about 3.3V peak to peak (ESP32 limit I believe). Hmm, I wasn't trying to imply that I expect the output to be greater than the 5V supply, I may not have worded that correctly. I expect it to be clipped.
I'm trying to understand why the output is fixed at 5V (as far as I can tell) when using a split supply. I know I'm doing something wrong!
You are providing insufficient information for a definitive answer.
Circuit diagram might help?
I decided not to try using a split power supply. Instead, I added a voltage divider on the input to reduce the input signal down to about 600mV peak to peak. Now the output signal is about 1.2V peak to peak, with plenty of headroom for the gain. I realised I was adding a complication with the split supply that I probably wasn't ready for yet. I ended up using this schematic: