|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#2
|
||||||
|
||||||
|
At 60rpm, you can use just about anything as that's only 1 rps, meaning you could, in theory, sample down to 1/40th of a rotation.
As for programming, I'd recommend having a few lines of code to turn the input into a numeric identifier for the current position. Then, just compare that position to the one from the last loop to figure out how far you've rotated in the previous 26ms. The only non-trivial part is going to be dealing with loops (ie position was 4 last time, but now is 1--you need to recognize that in this case 1>4). |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| If set screws suck . . . | Madison | Technical Discussion | 17 | 22-12-2003 19:19 |
| Who used wheel encoders | CyberWolf_22 | Technical Discussion | 12 | 04-05-2003 15:37 |
| Where to get shaft encoders | D.Viddy | Programming | 12 | 17-01-2003 09:38 |
| Motor coupling | archiver | 2001 | 19 | 23-06-2002 23:35 |
| Need Help on Shaft Mounting... | archiver | 2001 | 3 | 23-06-2002 23:29 |