You can use tmr0 to count impulses from gear box, and some kind interupt to read impulese and reset timer. And you should use longer sampling time. So if you use interupt on evry 500ms, minimal speed is about 5KM/h.
you can use tmr2 with cristal to create interupt or some kind of pauses in progrm or something like that.
Bookmarks