View Single Post
  #25   Spotlight this post!  
Unread 24-03-2015, 15:17
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,128
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: [Help] Problems with Encoders and PID Control

Quote:
Originally Posted by Hoover View Post
If none of this works on the roboRio, how do we test if we are getting output to the digital pins? Can that be done with a volt meter?
Yes.

If you have a cheap analog voltmeter use that instead of digital.

Just set the voltmeter for the 12 volt scale and measure the voltage between the A channel and ground. Turn the encoder shaft very slowly and you should see the needle go from zero to some positive value. Repeat for B channel.

PS it goes without saying (I hope) that the encoder must be powered.