Changes by last author:
Added:
* (fphil) I had a noise issue on the sec. trig. I solve it with a capacitance in //. The value of it depends on how many primary teeth you got and the rpm range where to filter. By chance the VR signal gets stronger with the speed. For a cut frequency of 10kHz and a sensor resistance of 180ohm I get about 0.1uF. Better to experiment with a set of capacitance going by a 10 factor |