I've been trying to get into using opamps... I have a bit of experience with digital electronics, but this is definitely new ground for me. I tried to set up an inverting amplifier like this:
When I measured the output, it seemed to be "clipping" in that it suddenly levels off at a consistent level: (these two graphs have equal scale)
I expected the output to go very close to 0 and 5V, perhaps with a slight margin, but in the range of millivolts.
To test this I removed the feedback resistor so the opamp would essentially attempt infinite gain, but the same problem occurs:
Notice how the output is still constrained.
Am I doing something wrong? Is there something I don't know about opamps?