Go to Post 30 point hang is brutal. Those who say it is easy are not thinking it through or are way smarter than the rest of us ... - Paul Copioli [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 15-02-2015, 17:35
Mbudgery Mbudgery is offline
Registered User
FRC #2612
 
Join Date: Feb 2015
Location: Michigan
Posts: 3
Mbudgery is an unknown quantity at this point
Encoder Wiring with RoboRio

Hello,

I've searched the internet and some threads but I'm struggling to find a wiring diagram with the encoders and Roborio (pins on encoder vs pins in Roborio). Can someone please share this with us. If someone could reply quickly it would be appreciated. Sorry for asking such a simple question.... Thank you.

I accidentally posted this to another thread also - sorry.

Michael
  #2   Spotlight this post!  
Unread 15-02-2015, 17:46
Taylor Hawkins Taylor Hawkins is offline
2386 BCHS Trojans
FRC #2386 (Trojans)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Burlington Ontario Canada
Posts: 29
Taylor Hawkins is an unknown quantity at this point
Re: Encoder Wiring with RoboRio

Hello,

Can we get some more information, What encoders are you using? How many pins do you have on the encoders.

Generally speaking, depending on the encoder your going to have 4 wire, (Positive, Negative, Signal A, Signal B). Encoders are digital inputs for the Roborio to use. The positive and negative pins will go to the positive and negative pins on the roborio, The signal A, will go to the signal pin of the DIO slot. The same thing is true for the signal B however that wire will go to the signal pin of a different DIO slot.

Using the 2 signals that the encoder gives you, you can determine the direction that the encoder is rotating and the speed of rotation.

Taylor

Last edited by Taylor Hawkins : 15-02-2015 at 17:52.
  #3   Spotlight this post!  
Unread 15-02-2015, 18:11
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,125
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Encoder Wiring with RoboRio

Quote:
Originally Posted by Mbudgery View Post
I accidentally posted this to another thread also - sorry.
http://www.chiefdelphi.com/forums/sh...34#post1444634


  #4   Spotlight this post!  
Unread 15-02-2015, 19:04
Mbudgery Mbudgery is offline
Registered User
FRC #2612
 
Join Date: Feb 2015
Location: Michigan
Posts: 3
Mbudgery is an unknown quantity at this point
Re: Encoder Wiring with RoboRio

Thank you, we've got them working! Sorry for such the trivial question. Thank you.
  #5   Spotlight this post!  
Unread 16-02-2015, 10:27
one_each one_each is offline
Registered User
FRC #4057 (KB Bots)
Team Role: Mentor
 
Join Date: Jun 2012
Rookie Year: 2012
Location: Klamath Falls, Or
Posts: 25
one_each is an unknown quantity at this point
Re: Encoder Wiring with RoboRio

As a side note, one of our students thought of a nice way to make the connectors. For our encoders, we needed +5v, gnd and two signals. Instead of making two 3x1 connectors, they used a 4x2 (as I recall) and a 4x1 then used heat shrink tubing to make one connector that fits over two DIO ports.
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:30.

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