View Single Post
  #3   Spotlight this post!  
Unread 29-01-2013, 09:01
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,074
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Measuring motor speed

Quote:
Originally Posted by fovea1959 View Post
I'm struggling with a good way to measure motor speed for our shooter motors (probably Banebots, probably 10-20k rpm).
At those high speeds, you can get good results with a one-pulse-per-rev device by putting one mark or one piece of reflective tape on your wheel and detecting it with an optical sensor.

Then use the GetPeriod() method in the Counter class to get the elapsed seconds between pulses, and convert that to RPM:

RPM = 60/period