Go to Post The best way to deal with an opponent who is going to hang is to go and hang yourself. - dtengineering [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 Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 21-01-2015, 03:12
JackOfAllTrade5's Avatar
JackOfAllTrade5 JackOfAllTrade5 is offline
Captain
AKA: Austin
FRC #3673 (C.Y.B.O.R.G. SEAGULLS)
Team Role: Engineer
 
Join Date: Apr 2014
Rookie Year: 2013
Location: United States
Posts: 8
JackOfAllTrade5 is an unknown quantity at this point
Lightbulb WIRING AN ENCODER TO ROBORIO

My team has never used an encoder before but we want to use the planetary gear box motor that came in this years KOP and it has a built in encoder. We found an encoder wire from years past but the plug doesn't fit into the encoder on the motor. Any help would be greatly appreciated!
  #2   Spotlight this post!  
Unread 21-01-2015, 06:15
timytamy's Avatar
timytamy timytamy is offline
Registered User
AKA: Tim
FRC #3132 (The Thunder Down Under)
Team Role: Electrical
 
Join Date: Nov 2009
Rookie Year: 2010
Location: Australia
Posts: 293
timytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant future
Re: WIRING AN ENCODER TO ROBORIO

As per AndyMark's page on the encoder, you'll need this cable.
__________________
Tim W
FIRST® Team 3132 - The Thunder Down Under
Sydney, Australia
Website | Facebook | Youtube
  #3   Spotlight this post!  
Unread 21-01-2015, 16:10
JackOfAllTrade5's Avatar
JackOfAllTrade5 JackOfAllTrade5 is offline
Captain
AKA: Austin
FRC #3673 (C.Y.B.O.R.G. SEAGULLS)
Team Role: Engineer
 
Join Date: Apr 2014
Rookie Year: 2013
Location: United States
Posts: 8
JackOfAllTrade5 is an unknown quantity at this point
Re: WIRING AN ENCODER TO ROBORIO

Quote:
Originally Posted by timytamy View Post
As per AndyMark's page on the encoder, you'll need this cable.
I see that I need that cable but I need to know how to plug it into the Roborio, that is my problem.
  #4   Spotlight this post!  
Unread 21-01-2015, 17:48
timytamy's Avatar
timytamy timytamy is offline
Registered User
AKA: Tim
FRC #3132 (The Thunder Down Under)
Team Role: Electrical
 
Join Date: Nov 2009
Rookie Year: 2010
Location: Australia
Posts: 293
timytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant future
Re: WIRING AN ENCODER TO ROBORIO

It plugs into the DIO ports.

the red and black cables are +5V and GND respectively, while the green and red are your two signal wires (so go to one sig channel each)
__________________
Tim W
FIRST® Team 3132 - The Thunder Down Under
Sydney, Australia
Website | Facebook | Youtube
  #5   Spotlight this post!  
Unread 21-01-2015, 18:54
Kellen Hill's Avatar
Kellen Hill Kellen Hill is offline
Strategist
AKA: The user formerly known as 'hill'
FRC #1746 (OTTO)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Cumming, GA
Posts: 483
Kellen Hill has a reputation beyond reputeKellen Hill has a reputation beyond reputeKellen Hill has a reputation beyond reputeKellen Hill has a reputation beyond reputeKellen Hill has a reputation beyond reputeKellen Hill has a reputation beyond reputeKellen Hill has a reputation beyond reputeKellen Hill has a reputation beyond reputeKellen Hill has a reputation beyond reputeKellen Hill has a reputation beyond reputeKellen Hill has a reputation beyond repute
Re: WIRING AN ENCODER TO ROBORIO

I've done a bit of searching on this myself as someone who is using encoders for the first time on a robot.

What doesn't seem to be mentioned very often is that each encoder requires 2 DIO ports on the RoboRio. If I'm correct, I don't believe it matters which port of the 2 ports the ground and the +5v go into, but the two signal wires then go onto the signal pins for the 2 dedicated ports for that encoder.

Make sense? Feel free to correct me if you have a better idea on the subject. This is just what I've managed to dig up.
__________________
1625 Winnovation Member: 2005-07
1625 College Mentor: 2007-11
525 Swartdogs Mentor: 2011-12
1746 OTTO Lead Mentor: 2013-Present
  #6   Spotlight this post!  
Unread 23-01-2015, 21:00
Dexterium's Avatar
Dexterium Dexterium is offline
Registered User
AKA: Adam Poindexter
FRC #1208 (Metool Brigade)
Team Role: Programmer
 
Join Date: Sep 2012
Rookie Year: 2011
Location: United States
Posts: 24
Dexterium is an unknown quantity at this point
Re: WIRING AN ENCODER TO ROBORIO




Useful diagram found in LabVIEW encoder example

Last edited by Dexterium : 23-01-2015 at 21:03.
  #7   Spotlight this post!  
Unread 23-01-2015, 22:11
JackOfAllTrade5's Avatar
JackOfAllTrade5 JackOfAllTrade5 is offline
Captain
AKA: Austin
FRC #3673 (C.Y.B.O.R.G. SEAGULLS)
Team Role: Engineer
 
Join Date: Apr 2014
Rookie Year: 2013
Location: United States
Posts: 8
JackOfAllTrade5 is an unknown quantity at this point
I figured it out! Well actually our coding mentor did, your guys' input was valued. It was basically what Dexterium said so thanks guys!
  #8   Spotlight this post!  
Unread 30-01-2015, 15:06
smcmahon's Avatar
smcmahon smcmahon is offline
The Architect
AKA: Sean McMahon
FRC #2656 (QUASICS)
Team Role: Coach
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Pittsburgh, PA
Posts: 197
smcmahon is an unknown quantity at this point
Question Re: WIRING AN ENCODER TO ROBORIO

What did you put on the unterminated ends of the wires to get them to plug into the pins on the RoboRIO? I think we need single-pin female jumpers that we can put the wires into. What are people using?
__________________
FRC 2656 | FTC 5526 | VEX 9656
  #9   Spotlight this post!  
Unread 30-01-2015, 19:50
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,600
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: WIRING AN ENCODER TO ROBORIO

Quote:
Originally Posted by smcmahon View Post
What did you put on the unterminated ends of the wires to get them to plug into the pins on the RoboRIO? I think we need single-pin female jumpers that we can put the wires into. What are people using?
We use the female end of two PWM cables.
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


All times are GMT -5. The time now is 20:32.

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