Hello Luke,
Is it possible you are trying to read more pulses than the PIC can keep up with? What is your OSC speed? The wheel I counted had 36 slots . . . 36 * 8,000 = 288,000. Maybe the pulse width is too narrow at high RPM? Also try keeping the sensor in the dark so ambiant light does not weaken your pulse and 60 HZ does not affect it. The 7414 hex inverter has schmitt trigger inputs, probably why they used it.
Last edited by Archangel; - 10th December 2007 at 01:57.
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
Bookmarks