Hello again,
I posted here a couple of months ago regarding a frequency divider and you guys were a huge help, Emrys especially.
What I Have:
I further developed the circuit to accept sinusoidal wave inputs and square wave inputs. If a sinusoidal wave in being used, the signal will first go through a comparator op amp to turn it into a square wave, then schmitt trigger, then to the frequency divider. If a square wave is used as the input, the user switches a jumper, and the signal now bypasses the comparator and goes directly to the schmitt trigger then to the divider.
The Problem:
When using the square wave input with a square wave generator or a reed switch, the circuit works flawlessly - with the exception of a small delay.
When using the sinusoidal wave input with this magnetic sensor (Digikey PN: 480-3911-ND), the circuit does not work so well. I have N = 10 in both cases, yet on this input, the frequency is divided by 9 most of the time. I'm not sure what is causing this to happen?
Any insight would be helpful.
Thanks,
Gage