Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 4923

Quadrature encoder counting error 18F2431

$
0
0
Hi,
For some time I have had problems with the Quadrature encoder of an 18F2431. I'll point out that the opto disk is home made, and because of this thought it must be my fault. I've re-wired it with each output wired with a screened cable grounded only at the circuit end. The opto disk is set to 4x update mode, so 1/count for each change. The opto disk has 9Black/9clear segment, and geared 100:1 so 4x9x100 = 3600.

I've run it oscillating fast and slow, passing zero and not passing...

Quadrature encoder counting error 18F2431

Viewing all articles
Browse latest Browse all 4923