Analog comparator does such a job just fine (use a pot on the other input to set the actual desired switch over level). The main problem I see here is the lack of hysteresis.
Analog comparator does such a job just fine (use a pot on the other input to set the actual desired switch over level). The main problem I see here is the lack of hysteresis.