View Single Post
  #5   Spotlight this post!  
Unread 25-02-2004, 03:30
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
Yes, I also believe it's the IFI pull-up that's defeating you. It's high when the circuit is open and high when it's closed by the encoder.

You should be able to connect A/B to signal as you are doing and C to ground. Then the digital input will be high when there is no circuit and low when signal is passed through the encoder to ground.
Aha! I switched the C connector from the +5v pin to the ground pin, as you suggested, and it works properly now. Thanks.
__________________
Joel Johnson

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