I am trying to convert a sinusoidal input from a mag pickup sensor into a 0 to 5V ttl signal that matches the frequency of the input. The sinusoidal wave form varies from .5V p-to-p up to 30V p-to-p. I have tried using a LM311 chip but the square wave distorts at higher frequencies. Any help is greatly appreciated.
Thanks
Thanks