Hi.
Here's one design based on the opamp you mentioned.
A transistor inverter at the opamp output helps to give digital logic levels(typical of comparator).
Also, if you want to experiment with different hysteresis at high side and low side use the two diodes(shown in fig.)
Hope this helps, and welcome comments,suggestions!