Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Electrical (http://www.chiefdelphi.com/forums/forumdisplay.php?f=53)
-   -   WIRING AN ENCODER TO ROBORIO (http://www.chiefdelphi.com/forums/showthread.php?t=133263)

JackOfAllTrade5 21-01-2015 03:12

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!

timytamy 21-01-2015 06:15

Re: WIRING AN ENCODER TO ROBORIO
 
As per AndyMark's page on the encoder, you'll need this cable.

JackOfAllTrade5 21-01-2015 16:10

Re: WIRING AN ENCODER TO ROBORIO
 
Quote:

Originally Posted by timytamy (Post 1431401)
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.

timytamy 21-01-2015 17:48

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)

Kellen Hill 21-01-2015 18:54

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.

Dexterium 23-01-2015 21:00

Re: WIRING AN ENCODER TO ROBORIO
 



Useful diagram found in LabVIEW encoder example

JackOfAllTrade5 23-01-2015 22:11

I figured it out! Well actually our coding mentor did, your guys' input was valued. It was basically what Dexterium said so thanks guys!

smcmahon 30-01-2015 15:06

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?

Joe Ross 30-01-2015 19:50

Re: WIRING AN ENCODER TO ROBORIO
 
Quote:

Originally Posted by smcmahon (Post 1436211)
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.


All times are GMT -5. The time now is 11:33.

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