Can someone help me with reading the encoder value from QEA/QEB pin?
Really appreciate if someone can help me....
Regards,
DNC
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Thu Jan 13, 2005 2:00 pm
I looked at the data sheet for that PIC. Those two pins go
to the Quadrature Encoder inside the PIC. They're used
internally to give you velocity or position information.
In other words, you don't read those pins directly, instead
you read the Velocity registers or the Position Counter registers.
One appnote gives a formula for calculating the velocity, based
on the value of the Velocity registers.
To do this project, you need to read every appnote on this page:
http://www.microchip.com/stellent/idcplgidcplg?IdcService=SS_GET_PAGE&nodeId=1335&dDocName=en010268
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum