Go to Post FIRST describes this program as students working "side by side" with professional mentors. We describe our team as working "shoulder to shoulder." Maximum learning happens with maximum interaction between students and mentors, whenever and wherever that may be. - jspatz1 [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Spotlight this post!  
Unread 25-02-2004, 03:18
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,856
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Wiring "3-pin" Shaft Encoder.

Quote:
Originally Posted by Joel J.
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?
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.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with 5/8 in. shaft in this years kit echos Kit & Additional Hardware 5 14-01-2004 21:21
Need Help on Shaft Mounting... archiver 2001 3 23-06-2002 23:29


All times are GMT -5. The time now is 23:59.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi