Using a Schmitt Trigger to detect if a voltage is within a range

Thread Starter

FluffyMuffin

Joined Sep 25, 2023
3
Hi,
I am trying to simulate a circuit in LTSpice, in which a potentiometer varies a voltage between -9V and 9V. Using a Schmitt trigger with an LM741 the circuit then detects whether the voltage is within a range of -5V to 5V, if it is then a green led turns on (red off). If it is within the range of -9V to -5V or 5V to 9V then a red led is on (green off). The green led also has a 20-25s delay before turning on using a 555 timer. Please note a Schmitt trigger must be used and other than the potentiometer you only have positive voltages.

Any assistance would be appreciated. Thank you.
 

WBahn

Joined Mar 31, 2012
29,489
Hi,
I am trying to simulate a circuit in LTSpice, in which a potentiometer varies a voltage between -9V and 9V. Using a Schmitt trigger with an LM741 the circuit then detects whether the voltage is within a range of -5V to 5V, if it is then a green led turns on (red off). If it is within the range of -9V to -5V or 5V to 9V then a red led is on (green off). The green led also has a 20-25s delay before turning on using a 555 timer. Please note a Schmitt trigger must be used and other than the potentiometer you only have positive voltages.

Any assistance would be appreciated. Thank you.
Sounds like a homework assignment. Is it?
 

BobTPH

Joined Jun 5, 2013
8,075
Is it possible to make a Schmitt trigger with lower and upper trigger points of -5V and +5V? I suppose it could work, but perhaps not with a ‘741 powered with ±9V.
 

crutschow

Joined Mar 14, 2008
33,331
How are you supposed to detect negative voltages if you only have positive voltages (which I interpret to be supply voltages)?
Couple ways come to mind.

Bias the voltage to be positive with a voltage divider going to the plus voltage

Use a single-supply op amp inverter circuit to invert the voltage.
 

BobTPH

Joined Jun 5, 2013
8,075
Is it possible to make a Schmitt trigger with lower and upper trigger points of -5V and +5V? I suppose it could work, but perhaps not with a ‘741 powered with ±9V.
But then, even if it could, I don't see how it solves the problem.
 
Top