Comparator hysteresis – selection of elements.
Comparators can be dedicated IC with built-in hysteresis. But they can also be built from an op-amp. But then external hysteresis resistors should be added. In this article I will try to show you how to choose them.