hotrodhed120
Member
What would be the best way to use the signal from an automotive distributors magnetic pickup and interface it with a Pic 16f877a? The distributor is sitting on my desk and it won't be used on an engine. I have tried using the comparator module as a zero crossing detector but I get to many false trips. With the internal voltage reference at ~1.5v I still get too many false detections. I have tried hooking the two coil wires to the - and + sides of the comparator with a 10k resistor in series and a 1u cap. across the leads and also with one side of the coil and comparator tied to ground and the other wire to the + comp. input.