I have an LM258 Dual channel Op-Amp. The Op-Amp supply voltage is 5V and is set up as non-inverting with a gain of 1.5 (Rin = 2kOhm, Rf = 1kOhm). With this gain, I am scaling a 0-3.3V signal to a 0-5V signal.
The Op-Amp scales appropriately till past 2.5V. after 2.5V the output is a constant 3.74V, it will not go to 5V.
Here is an image of the schematic.
EDIT: Just read a LM358 datasheet and noticed it states that the max output is VCC-1.5V. This could be the issue. However, I would like feedback and an alternative solution.