Physics — Circuit: Schmitt trigger
Positive feedback gives the comparator hysteresis.
Make it your own.
title "Schmitt trigger (op-amp)"
component V V1 Vin at (0,2) orient v
component OP U1 at (3,2)
component R R1 10k at (5,0) orient h
component R R2 10k at (3,4) orient h
component GND G1 at (3,5)
wire (0,2) (2,2)
wire (4,2) (6,2)
wire (6,2) (6,0)
wire (6,0) (5,0)
wire (4,0) (3,0)
wire (3,4) (3,5)