View Single Post
  #3   Spotlight this post!  
Unread 25-02-2004, 03:07
Joel J's Avatar
Joel J Joel J is offline
do you..
no team
 
Join Date: May 2001
Rookie Year: 2000
Location: San Jose, CA
Posts: 1,445
Joel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond repute
Re: Wiring "3-pin" Shaft Encoder.

Quote:
Originally Posted by Mark McLeod
Did you purchase the quadrature version rather than the BCD or Gray code versions?
It looks like it's a quadrature encoder with the quad signals on A & B, power on C. I'll have to verify with another electrician in the morning to see if he's had personal experience with this model before.
Yes. Thats how it is supposed to be setup. How do we go about porting that to the digital inputs? Should there be a ground connection somewhere? We connected A to the signal of one digital input and B to the signal of another digital input and C to the +5v on the digital input. We are getting a constant 1 as the input of the encoders no matter how many times the wheels rotate (it does not go through each state). I conclude that this is happening as a result of the pin pulling itself to high (since thats how IFI set things up), because its not getting any input, which hints at an improperly wired system. Is this the case?
__________________
Joel Johnson

Division By Zero (229) Alumni, 2003-2007
RAGE (173) Alumni, 1999-2003