Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Encoder Counting Problems (http://www.chiefdelphi.com/forums/showthread.php?t=54147)

RyanW 14-02-2007 14:57

Encoder Counting Problems
 
In order to keep track of the height of our manipulator, my team is using a BaneBots 36mm Gearbox Mount encoder attached to their 64:1, 36mm Planetary Gearmotor, RS-540 Motor. As we move the manipulator up, the encoder starts to count up, but then quickly goes down. Moving the manipulator down makes the encoder count down more slowly.

I have tried the encoder with two sets of code - the interrupts from the Quadratuer Encoders white paper and Kevin's encoder code. In both cases, I am having the same problem. I am getting the encoder values by printing out the number every 26 loops.

Does anyone know what might be wrong with the encoder?

Joe Ross 14-02-2007 15:17

Re: Encoder Counting Problems
 
did you calibrate the encoder per the directions?


All times are GMT -5. The time now is 21:50.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi