• Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Timer as a counter problem

Not open for further replies.

Someone Electro

New Member
Im using a PIC18F2220 to read two optical encoders.The job of them is to sense the speed of a DC motor and regulate it. I conected two opto interrupters to the Timer 0 and Timer 1,3 clock pins of the PIC. The one on Timer 0 works like a charm, while the other one only counts very shot pulses and ignores long pulses. (used Timer1 and Timer3 on it and bouth worked the same)

Can anyone explain why the other timer would behave this way?
Not open for further replies.

Latest threads

EE World Online Articles