# Schmitt trigger help

I am designing a Schmitt trigger with a variable resistor. I used this online calculator to help discover my values.

I have placed it all into a circuit that appears as such and used LTSpice to model it.

My goal is to have it go high at 2.3V and low at 1.97V, but everytime I run it, it does no behave as I would believe.

Any help would be nice, thanks!

EDIT 1: I got rid of the op-amp and the resistor like was suggested. The circuit starts high and goes low when my resistor is at 2.235k and when my voltage is at 2.2V, which is not how I intended it.

[![enter image description here][3]][3]

• Don't say what it doesn't do, say what it does do. Oct 30, 2016 at 17:46
• Just a note: the first opamp (U2) and R7 seem redundant to me. You might eliminate them. Connect the output of your resistor divider directly to the (-)input of U3. Also, voltage supply B2 is redundant. You can connect the top of R3 to B1(+). Oct 30, 2016 at 17:56
• I made the changes and added the description. Thanks.
– Alex
Oct 30, 2016 at 18:05

## 1 Answer

Here is my simulation, which works:

simulate this circuit – Schematic created using CircuitLab

:

The upper-trip-point (VUTP) is 2.3 volts, what you wanted. But the lower-trip point (VLTP) is about 2.15 volts. You will need to adjust the resistor values. Do you need more help with that?

And the lesson here is, don't always trust online calculators!

• This is exactly what I was looking for. I am going to need to adjust the values, but this is a big help. Thanks!
– Alex
Oct 30, 2016 at 18:34
• If you could, could you point me in the direction of some good resources. My Hysteresis/Schmitt Trigger calculations are a bit off it seems. Thank!
– Alex
Oct 30, 2016 at 20:32