Go to Post Being the GDC is not an easy job, anything can happen. Lunacy happened ::rtm:: - Conor Ryan [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

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 10-10-2016, 20:26
koreamaniac101's Avatar
koreamaniac101 koreamaniac101 is offline
Founder and Team Leader
AKA: Soohan Kim
FRC #5938 (Razor Steel Robotics 4-H Club)
Team Role: Leadership
 
Join Date: Feb 2015
Rookie Year: 2016
Location: Dover, Delaware
Posts: 20
koreamaniac101 is an unknown quantity at this point
VersaPlanetary Integrated Encoder without Talon SRX?

So I am interested in using the VersaPlanetary Integrated Encoders next year to control some of the mechanisms on my team's robot.

However, my team only uses Victor SP's for our motor controllers. Is there any way to use the Encoders without the Talon SRX's? On VEXPro, the description says:
Quote:
The VersaPlanetary Integrated Encoder can be plugged directly into the Talon SRX by using the Talon SRX Data Cable, or you can solder on your own leads for plugging into the roboRIO.
What does soldering our own leads require? And where would they plug into the RoboRIO?
__________________
2016 MAR Hatboro-Horsham District Event Rookie All-Star Award
2016 MAR Seneca District Event Rookie Inspiration Award
2016 MAR District Championships Rookie Inspiration Award
Reply With Quote
  #2   Spotlight this post!  
Unread 10-10-2016, 20:48
wsh32's Avatar
wsh32 wsh32 is offline
The Nerdiest of the Nerd Herd
AKA: Wesley Soo-Hoo
FRC #0687 (The Nerd Herd)
Team Role: Leadership
 
Join Date: Sep 2014
Rookie Year: 2014
Location: SoCal
Posts: 16
wsh32 is on a distinguished road
Re: VersaPlanetary Integrated Encoder without Talon SRX?

We didn't use these on 687 but I believe these breakout boards work: http://www.vexrobotics.com/217-4398.html
Reply With Quote
  #3   Spotlight this post!  
Unread 10-10-2016, 20:50
JR0405's Avatar
JR0405 JR0405 is offline
#StaySavage
AKA: Jack Ross
FRC #5822 (Wolfbyte)
Team Role: Driver
 
Join Date: Jan 2016
Rookie Year: 2011
Location: Chicago, IL
Posts: 95
JR0405 has a spectacular aura aboutJR0405 has a spectacular aura aboutJR0405 has a spectacular aura about
Re: VersaPlanetary Integrated Encoder without Talon SRX?

Quote:
Originally Posted by wsh32 View Post
We didn't use these on 687 but I believe these breakout boards work: http://www.vexrobotics.com/217-4398.html
These are for wiring an encoder to the talon srx.
__________________
Reply With Quote
  #4   Spotlight this post!  
Unread 10-10-2016, 20:52
Ben Wolsieffer Ben Wolsieffer is offline
Dartmouth 2020
AKA: lopsided98
FRC #2084 (Robots by the C)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Manchester, MA (Hanover, NH)
Posts: 520
Ben Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud of
Re: VersaPlanetary Integrated Encoder without Talon SRX?

Section 5.4 of the Magnetic Encoder User Guide describes some ways to do this.

You can solder you own wires to either of these breakouts:
Disclaimer: I have never used these breakouts, so make sure you have someone double check this advice.

The first one is designed to be used the other way around (attaching a non-standard encoder to a Talon SRX), but the manual states that it is okay to use it for your application. You would wire 5V and ground from the roboRIO to the appropriate labelled pads on the breakout, while the A and B pads should be connected to two digital inputs on the roboRIO. Then it can be used in code like any quadrature encoder.

If you use the second breakout, you can do pretty much the same thing, but you have to figure out which pads correspond to the A and B channels of the encoder.

Also, AFAIK, there is no way to use the absolute position mode of the encoder without connecting it to a Talon SRX.
__________________



2016 North Shore District - Semifinalists and Excellence in Engineering Award
2015 Northeastern University District - Semifinalists and Creativity Award
2014 Granite State District - Semifinalists and Innovation in Control Award
2012 Boston Regional - Finalists
Reply With Quote
  #5   Spotlight this post!  
Unread 10-10-2016, 23:45
RyanCahoon's Avatar
RyanCahoon RyanCahoon is offline
Disassembling my prior presumptions
FRC #0766 (M-A Bears)
Team Role: Engineer
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Mountain View
Posts: 689
RyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond repute
Re: VersaPlanetary Integrated Encoder without Talon SRX?

Quote:
Originally Posted by wsh32 View Post
We didn't use these on 687 but I believe these breakout boards work: http://www.vexrobotics.com/217-4398.html
Quote:
Originally Posted by Ben Wolsieffer View Post
Section 5.4 of the Magnetic Encoder User Guide describes some ways to do this.

You can solder you own wires to either of these breakouts:
Confirming that this works. My team used several VersaPlanetary Integrated Encoders wired this way this year.

---

I think you can get the absolute position signal by using http://www.vexrobotics.com/217-4401.html but I haven't tried it personally.
__________________
FRC 2046, 2007-2008, Student member
FRC 1708, 2009-2012, College mentor; 2013-2014, Mentor
FRC 766, 2015-, Mentor
Reply With Quote
  #6   Spotlight this post!  
Unread 11-10-2016, 00:51
Nbot's Avatar
Nbot Nbot is offline
Registered User
FRC #4488 (ShockWave)
Team Role: Electrical
 
Join Date: Jan 2016
Rookie Year: 2015
Location: Oregon
Posts: 11
Nbot is an unknown quantity at this point
Re: VersaPlanetary Integrated Encoder without Talon SRX?

Another option is to solder directly to the ribbon the cable. It saves you from having to buy the breakout board and allows you to connect two encoders per ribbon cable (you cut them in half in order to solder to them). A pin diagram for the ribbon cables can be found on page 5 of this document: https://content.vexrobotics.com/vexp...User-Guide.pdf .
When soldering these I highly recommend using flux and be sure to individually insulate each wire with electrical tape or heat shrink.
Reply With Quote
  #7   Spotlight this post!  
Unread 11-10-2016, 13:41
Ben Wolsieffer Ben Wolsieffer is offline
Dartmouth 2020
AKA: lopsided98
FRC #2084 (Robots by the C)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Manchester, MA (Hanover, NH)
Posts: 520
Ben Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud of
Re: VersaPlanetary Integrated Encoder without Talon SRX?

Quote:
Originally Posted by RyanCahoon View Post
I think you can get the absolute position signal by using http://www.vexrobotics.com/217-4401.html but I haven't tried it personally.
The absolute position mode uses a PWM signal rather than an analog signal, so I don't think that would work. You would have to find a way to decode the PWM signal on the roboRIO.
__________________



2016 North Shore District - Semifinalists and Excellence in Engineering Award
2015 Northeastern University District - Semifinalists and Creativity Award
2014 Granite State District - Semifinalists and Innovation in Control Award
2012 Boston Regional - Finalists
Reply With Quote
  #8   Spotlight this post!  
Unread 11-10-2016, 14:02
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,058
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: VersaPlanetary Integrated Encoder without Talon SRX?

Quote:
Originally Posted by Ben Wolsieffer View Post
The absolute position mode uses a PWM signal rather than an analog signal, so I don't think that would work. You would have to find a way to decode the PWM signal on the roboRIO.
read posts 5, 6, and 7 of this thread:

https://www.chiefdelphi.com/forums/s...d.php?t=143244


Reply With Quote
  #9   Spotlight this post!  
Unread 12-10-2016, 00:49
RyanCahoon's Avatar
RyanCahoon RyanCahoon is offline
Disassembling my prior presumptions
FRC #0766 (M-A Bears)
Team Role: Engineer
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Mountain View
Posts: 689
RyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond repute
Re: VersaPlanetary Integrated Encoder without Talon SRX?

Quote:
Originally Posted by RyanCahoon View Post
I think you can get the absolute position signal by using http://www.vexrobotics.com/217-4401.html but I haven't tried it personally.
^ This is wrong

Quote:
Originally Posted by Ben Wolsieffer View Post
The absolute position mode uses a PWM signal rather than an analog signal, so I don't think that would work. You would have to find a way to decode the PWM signal on the roboRIO.
Since the PWM signal goes from 0 to 100% duty cycle, I assumed they were just using a filtering circuit to smooth it into a signal readable as an analog voltage.

Comparing page 5 of https://content.vexrobotics.com/vexp...User-Guide.pdf and page 17 of https://content.vexrobotics.com/vexp...e-20150201.pdf shows that they actually use different pins. Interestingly, the PWM out actually gets wired to the pin labeled "Quadrature Index"
__________________
FRC 2046, 2007-2008, Student member
FRC 1708, 2009-2012, College mentor; 2013-2014, Mentor
FRC 766, 2015-, Mentor
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 00:18.

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