Recently, I am working on ECU of CNG Auto Rickshaw having 4 Stroke Engine.
Here, Image shows the Engine of Auto Rickshaw.
I have already taken reading of MAP, TPS and RPM. And now I am working on Injection Timing. For that, I am taking signals from RPM socket(As I don't know which sensor it is).
Here, In Image there is RPM Socket from which I am taking Signals by connecting probe of Oscilloscope to Yellow Wire.
And I am getting Signal like given in this Image,
Now, I want signals as showed in below Image,
I have tried getting this signal using LOW PASS FILTER followed by SCHMITT TRIGGER and getting this kind of result,
So, I need help in getting proper square wave signal.....
Circuit that I have implemented....
1) Schmitt Trigger