View Single Post
Old 03-16-2016, 11:52 AM   #2653 (permalink)
MPaulHolmes
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,832

Michael's Electric Beetle - '71 Volkswagen Superbeetle 500000
Thanks: 1,368
Thanked 1,202 Times in 765 Posts
Type the following in realterm (or whatever serial streaming software you are using):
stream-poscnt 1
data-stream-period 100

Then, make one complete revolution (turning the motor slowly by hand), noting the starting value for poscnt and the ending value for poscnt.

The difference between the 2 values for poscnt will be 4 times the resolution of your encoder.
__________________
kits and boards

Last edited by MPaulHolmes; 03-16-2016 at 12:05 PM..
  Reply With Quote