Home Community

Sine Wave to TTL converter

Author Topic: Sine Wave to TTL converter  (Read 786 times)

Holt

  • Newbie
  • *
  • Posts: 15
  • Gender: Male
    • View Profile
Sine Wave to TTL converter
« on: February 22, 2012, 02:53:58 PM »
Hello everyone
I am in the machine buisness, and have my own old lathe in my little hobby workshop, i scored a Heidenhain glass scale at work, i want to use for digital readout of position, i have a program on the PC, but it only handles 0-5V TTL signals, and the scale put out sine wave.
I have been searching the net, but only found out i should use a Schmitt trigger to avoid noise.
I am not able to develop schematics, but i can build it if someone have the schematics.
Here is a scan of the sine wave from the Heidenhain mounting instructions



And here is what the output should look like

Interested in classic MINIs?  http://www.efiminis.olicentral.com/

Electronics-Lab.com Community

Sine Wave to TTL converter
« on: February 22, 2012, 02:53:58 PM »

Hero999

  • Global Moderator
  • Electronics God
  • *****
  • Posts: 2585
    • View Profile
Re: Sine Wave to TTL converter
« Reply #1 on: February 22, 2012, 04:24:50 PM »
Yes, a Schmitt trigger will certainly work. If you use a comparator IC such as the LM311 or LM393 you can fine tune the hysteresis band to get the best results.
I do not answer private messages asking for help because no one else can: benefit from advice I may give or correct me if I'm wrong.

Please ask on the open forum if you have a question: if I know the answer, I'll be happy to help.

Electronics-Lab.com Community

Re: Sine Wave to TTL converter
« Reply #1 on: February 22, 2012, 04:24:50 PM »