Skip to main content
2 of 11
added 227 characters in body
EM Fields
  • 17.6k
  • 2
  • 20
  • 23

If your instructor expects you to use opamps, then use them as comparators.

Following is a circuit which uses comparators to do what what you want, but you could just as easily substitute opamps.

I'll post it now so you can study it, and I'll add a circuit description sometime later today if I can get to it.

in the meantime, here's an LTspice .asc file you can use to simulate the circuit if you want to play around with it

enter image description here

EM Fields
  • 17.6k
  • 2
  • 20
  • 23