Go to Post award or no award, you're still smelly. :D - AndrewMorrison [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 08-02-2017, 13:17
onenerdyguy onenerdyguy is offline
Registered User
FRC #5929
 
Join Date: Jan 2016
Location: Lake Park, MN
Posts: 56
onenerdyguy is on a distinguished road
Use VexPro VersaPlanetary Encoders without Talon SRX?

I see it's possible use to the Versaplanetary integrated encoders without a Talon SRX for the motor controllers? We purchased 2 of them, without reading close enough, and are currently driving them with Victor SPs.

If it is possible, how does one go about getting it into the RIO so we can pull some values?

Thanks!
Reply With Quote
  #2   Spotlight this post!  
Unread 08-02-2017, 13:20
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,761
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: Use VexPro VersaPlanetary Encoders without Talon SRX?

The VP encoders are just SRX Magnetic encoders with extra hardware. See section 5.4.2:
SRX Magnetic Encoder Guide
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
Reply With Quote
  #3   Spotlight this post!  
Unread 08-02-2017, 13:24
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,770
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: Use VexPro VersaPlanetary Encoders without Talon SRX?

You wire your encoders to two of the DIO ports on the roboRIO. For wiring, the VCC, Gnd, and "A" signal wire to one DIO as usual, the "B" signal goes to the signal line on a second DIO port. As you're using an encoder designed for the SRX, you may want to get some Talon SRX breakouts and use them in reverse.

You should be able to search for examples of code. If you can't find anything, the first thing we would need to know is what language you're programming in.
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.
Reply With Quote
  #4   Spotlight this post!  
Unread 08-02-2017, 13:30
onenerdyguy onenerdyguy is offline
Registered User
FRC #5929
 
Join Date: Jan 2016
Location: Lake Park, MN
Posts: 56
onenerdyguy is on a distinguished road
Re: Use VexPro VersaPlanetary Encoders without Talon SRX?

Quote:
Originally Posted by GeeTwo View Post
You wire your encoders to two of the DIO ports on the roboRIO. For wiring, the VCC, Gnd, and "A" signal wire to one DIO as usual, the "B" signal goes to the signal line on a second DIO port. As you're using an encoder designed for the SRX, you may want to get some Talon SRX breakouts and use them in reverse.

You should be able to search for examples of code. If you can't find anything, the first thing we would need to know is what language you're programming in.
We're in Python, and that makes perfect sense reading it. It's our first time using any form of encoder, as we're in our second year, so I really thought we made an "oh crap" moment with these.

Without picking up the breakouts (if worse comes to worse), we can just solder onto the plates on top of those encoders and wire accordingly, correct?
Reply With Quote
  #5   Spotlight this post!  
Unread 08-02-2017, 13:39
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,770
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: Use VexPro VersaPlanetary Encoders without Talon SRX?

Quote:
Originally Posted by onenerdyguy View Post
We're in Python, and that makes perfect sense reading it. It's our first time using any form of encoder, as we're in our second year, so I really thought we made an "oh crap" moment with these.

Without picking up the breakouts (if worse comes to worse), we can just solder onto the plates on top of those encoders and wire accordingly, correct?
In theory, but that's tinier soldering than I would do, much less any of our students. At a minimum, I would recommend getting an SRX data cable, cutting it in half, and splicing into those wires.
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.
Reply With Quote
  #6   Spotlight this post!  
Unread 08-02-2017, 13:43
ozrien's Avatar
ozrien ozrien is online now
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 559
ozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond repute
Re: Use VexPro VersaPlanetary Encoders without Talon SRX?

You mean the solder pads? Those are limit switch inputs, not quadrature outputs. You have to use the ribbon cable interface. See Mag Encoder User's Guide for details.
Reply With Quote
  #7   Spotlight this post!  
Unread 08-02-2017, 13:44
onenerdyguy onenerdyguy is offline
Registered User
FRC #5929
 
Join Date: Jan 2016
Location: Lake Park, MN
Posts: 56
onenerdyguy is on a distinguished road
Re: Use VexPro VersaPlanetary Encoders without Talon SRX?

Quote:
Originally Posted by GeeTwo View Post
In theory, but that's tinier soldering than I would do, much less any of our students. At a minimum, I would recommend getting an SRX data cable, cutting it in half, and splicing into those wires.
Looking at it closer, I agree. Was just going off the drawings, but I went down and looked physically, and no thanks.

Ordered 2 TalonSRX's and the data cables. If we're gonna do it, lets do it right.

Thanks!
Reply With Quote
Reply


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 12:53.

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