Go to Post If you build offensively, keep defense in mind always for defense will always keep you in mind. - Molten [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 06-15-2005, 01:58 PM
evileye917 evileye917 is offline
Registered User
no team
 
Join Date: Jan 2004
Location: Atlanta
Posts: 2
evileye917 is an unknown quantity at this point
Encoder Wiring Quesiton

OK... I was searching for how to hookup the Agilent quadrature encoder our team is using. I came across this site and searched but my questions weren't completely answered.

Our encoder has 4 wires: Phase A, B, Gnd, +5V. My question is how are they hooked on the RC? I get that the A and B are hooked separately. Are both hooked to the SIG slots? Secondly, are the Gnd and +5V inputs hooked to other Digital I/O pins or a set of the above?

Thanks for any help you can provide.
  #2   Spotlight this post!  
Unread 06-15-2005, 02:31 PM
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,697
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: Encoder Wiring Quesiton

Quote:
Originally Posted by evileye917
OK... I was searching for how to hookup the Agilent quadrature encoder our team is using. I came across this site and searched but my questions weren't completely answered.

Our encoder has 4 wires: Phase A, B, Gnd, +5V. My question is how are they hooked on the RC? I get that the A and B are hooked separately. Are both hooked to the SIG slots? Secondly, are the Gnd and +5V inputs hooked to other Digital I/O pins or a set of the above?

Thanks for any help you can provide.
The A & B lines connect to two different SIG (inside) pins, either interrupts (1-6) or simple digital inputs (7 and above).
Gnd connects to the ground or "black" (outside) digital pin
+5v connects to the center pin for your power.

Typically we connect the A, +5v, and Gnd to one of the digital input sets and the B line to another.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #3   Spotlight this post!  
Unread 06-15-2005, 03:14 PM
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,547
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Encoder Wiring Quesiton

Kevin Watson has an example program for encoders that also covers how to wire them. It's definetly worthwhile to check it out. http://kevin.org/frc/frc_encoder.zip. He has a bunch of other example programs at http://kevin.org/frc/.
Closed Thread


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
encoder vs. motor stephenthe1 Programming 55 01-06-2005 10:07 PM
Updated Encoder Code Available Kevin Watson Programming 2 01-04-2005 01:00 AM
Choosing an Encoder for the Drive-train MikeDubreuil Electrical 11 10-21-2004 12:50 AM
Wiring "3-pin" Shaft Encoder. Joel J Programming 7 02-27-2004 05:21 PM
how to add steps in the provided encoder program for the edu Zaramel2002 Programming 3 02-11-2004 08:35 AM


All times are GMT -5. The time now is 03:58 AM.

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