Thanks for the help guys !
I had fine success using Crutschow's ckt
For some reason, using the input cap, i got a nice triangle wave output.
Deleting the cap gave me a decent square useable for my purposes.
Sorry i did not give enough detail.
This is pretty non-critical. The encoders are sine output, so i just wanted to square up the edges a bit to give the uC a nice edge to count. This ckt makes the count alot more reliable at the low frequencies i am using.
The project is for telescope position sensing, so nothing is moving all that fast.
Cheers
Bob
Here is the result:
View attachment 141062