I made a mistake yesterday with my level shifter.
The inputs must be swapped so that the reference voltage must be +3.75V on the (+) input of the opamp.
For the output to swing as high as +15V then the positive supply must be at least +17V so use +18V.
For the output to swing down to 0V then the negative supply must be -2V or more negative so use the existing -12V.
The output will be a level shifted input but it will be inverted.
The TL072 and almost every other opamp has difficulty driving a negative feedback resistor value as low as 1k so I used 10k.
The inputs must be swapped so that the reference voltage must be +3.75V on the (+) input of the opamp.
For the output to swing as high as +15V then the positive supply must be at least +17V so use +18V.
For the output to swing down to 0V then the negative supply must be -2V or more negative so use the existing -12V.
The output will be a level shifted input but it will be inverted.
The TL072 and almost every other opamp has difficulty driving a negative feedback resistor value as low as 1k so I used 10k.