[![enter image description here](https://i.stack.imgur.com/sm2XA.jpg)](https://i.stack.imgur.com/sm2XA.jpg)[![enter image description here](https://i.stack.imgur.com/6cE56.png)](https://i.stack.imgur.com/6cE56.png)I have a square wave from a hall effect sensor giving between UL 7.7v-8.7v to UH 11.3v to 12.7v from a 13V Supply. I need to pass this into a logic input on a controller which is nominally 24vdc but operates at <5V Logic0 and > 15V Logic 1.
My square wave has a frequency of 100Hz.
I am not an electronic engineer and people tell me I need to use a zener diode or maybe a Schmitt trigger but I am at a loss.
Can anyone help please
Many thanks
Lee