Go to Post I didn't say this! - Max Lobovsky [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: 2 votes, 5.00 average. Display Modes
  #31   Spotlight this post!  
Unread 13-01-2015, 08:24
ozrien's Avatar
ozrien ozrien is offline
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 521
ozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant future
Re: Encoders for 2015 Season

Quote:
Originally Posted by marshall View Post
Word of caution about absolute encoders with the Talon SRX... most of them that provide analog output seem to require 5v power instead of 3.3v power which the Talon SRX must have for analog input. DO NOT connect 5v to the Talon's analog in. It might not end well.

CTRE is releasing a converter board and we are making some custom ones. We have a student working on a write-up of how we created ours along with details.

It might be neat to see the Talon SRX controllers support gray code in the future in addition to analog output for absolute encoders but that would likely require a firmware update and some serious coding witchcraft for the Talons.
Breakouts are available at andymark and vex. Search for analog breakout for 5v analog signals.

Why greycode ? CANBus has strong error detection.
  #32   Spotlight this post!  
Unread 13-01-2015, 10:07
Sh1ine Sh1ine is offline
Registered User
FRC #2791
Team Role: Leadership
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Albany NY
Posts: 96
Sh1ine is on a distinguished road
Re: Encoders for 2015 Season

Quote:
Originally Posted by Qbot2640 View Post
Excuse my lack of experience - we have never used encoders, and I desperately want to this year. The Grayhill models referenced above look like potentiometers, for lack of a better description...How are they installed? Do you just couple the shaft to the gearbox shaft?

I understand how the US Digital one's install - in fact, we installed a pair on our robot this fall for the off-season, but never figured out how to wire them up or program them.
We use Grayhill Encoder 63R128 (http://www.digikey.com/product-detai...3069-ND/304478) They are terrific encoder, and Digi key sells them at a good price. We use 128 count encoders for our drive train, and since we have them laying around, they get used for other systems frequently as well. In order to to attach our encoder to our output shaft we use 1/4 OD and 3/16 ID surgical tubing. It sounds sketchy, but works great, it also helps absorb some slight misalignment issues that you might have. Simply slip the tubing over the .250 part of a AM output shaft and the other side slips onto the encoder. Create a bracket to hold it in place and you are good to go.

Here is an image:

https://drive.google.com/file/d/0B02...ew?usp=sharing

Hope this helps!
  #33   Spotlight this post!  
Unread 13-01-2015, 10:35
marshall's Avatar
marshall marshall is offline
My pants are louder than yours.
FRC #0900 (The Zebracorns)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2003
Location: North Carolina
Posts: 1,259
marshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond repute
Re: Encoders for 2015 Season

Quote:
Originally Posted by ozrien View Post
Breakouts are available at andymark and vex. Search for analog breakout for 5v analog signals.

Why greycode ? CANBus has strong error detection.
Mainly because we could then get 3.3v absolute encoders. It's hard to find those things other than 5v. Most of the ones I saw that supported 3.3v were using gray code as output instead of analog. I just want to be able to interface the encoder without peripheral circuitry.

EDIT:

Links to the CTRE breakouts from Vex. I could not find them at AndyMark:

http://www.vexrobotics.com/217-4398.html
http://www.vexrobotics.com/217-4401.html

Last edited by marshall : 13-01-2015 at 10:42.
  #34   Spotlight this post!  
Unread 13-01-2015, 11:43
The_Drive_DR The_Drive_DR is offline
Registered User
FRC #2036
 
Join Date: Jan 2014
Location: Boulder Colorado
Posts: 6
The_Drive_DR is an unknown quantity at this point
Re: Encoders for 2015 Season

We are using the CUI encoders (http://www.cui.com/product/component...ar/amt10-v-kit) and they work great!
  #35   Spotlight this post!  
Unread 13-01-2015, 11:51
Bruceb's Avatar
Bruceb Bruceb is offline
Registered User
FRC #0706 (Cyberhawks)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2004
Location: Merton, wi
Posts: 594
Bruceb is a splendid one to beholdBruceb is a splendid one to beholdBruceb is a splendid one to beholdBruceb is a splendid one to beholdBruceb is a splendid one to beholdBruceb is a splendid one to beholdBruceb is a splendid one to behold
Re: Encoders for 2015 Season

with the Grayhill encoders, how do you wire them? Do you use the same connector as the AM USDigital encoders?
May seem like a dumb question but I am not an electronics guy.
Thanks
__________________
Mentor Team 706 The CyberHawks
2010 Wisconsin Regional Rockwell Automation Innovation in Control Award
2010 Wisconsin Regional Finalist
2013 Buckeye Regional Finalist
2014 Superior Regional Industrial Design Award
2014 Superior Regional Finalist
2014 Wisconsin Regional Finalist
2014 Wisconsin Motorola Quality Award
2015 Wisconsin Regional Motorola Quality Award
2015 Queen City Creativity Award
2016 Buckeye Regional Finalist
2016 Wisconsin Regional Finalist
2016 Wisconsin Regional Industrial Safety Award
2016 Wisconsin Regional Excellence in Engineering Award

https://www.youtube.com/user/Cyberhawks706
  #36   Spotlight this post!  
Unread 13-01-2015, 12:09
ozrien's Avatar
ozrien ozrien is offline
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 521
ozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant future
Re: Encoders for 2015 Season

Quote:
Originally Posted by marshall View Post
Mainly because we could then get 3.3v absolute encoders. It's hard to find those things other than 5v. Most of the ones I saw that supported 3.3v were using gray code as output instead of analog. I just want to be able to interface the encoder without peripheral circuitry.

EDIT:

Links to the CTRE breakouts from Vex. I could not find them at AndyMark:

http://www.vexrobotics.com/217-4398.html
http://www.vexrobotics.com/217-4401.html
Yeah but 2bit grey code is the same as quadrature, unless I'm missing something.
I'm always interested in new sensors, send me a data sheet if you can.
  #37   Spotlight this post!  
Unread 13-01-2015, 12:35
wmarshall11 wmarshall11 is offline
Registered User
FRC #2399
Team Role: Mentor
 
Join Date: May 2013
Rookie Year: 2011
Location: Cleveland, OH
Posts: 34
wmarshall11 is a splendid one to beholdwmarshall11 is a splendid one to beholdwmarshall11 is a splendid one to beholdwmarshall11 is a splendid one to beholdwmarshall11 is a splendid one to beholdwmarshall11 is a splendid one to beholdwmarshall11 is a splendid one to beholdwmarshall11 is a splendid one to behold
Re: Encoders for 2015 Season

Quote:
Originally Posted by Bruceb View Post
with the Grayhill encoders, how do you wire them? Do you use the same connector as the AM USDigital encoders?
May seem like a dumb question but I am not an electronics guy.
Thanks
You can get them with wires attached or with .1in pins. Getting the pins tends to be more feasible. You can either solder to them or attach standard .1 female connectors (same as pwm) and run cable back to your control board.
  #38   Spotlight this post!  
Unread 13-01-2015, 12:57
Bruceb's Avatar
Bruceb Bruceb is offline
Registered User
FRC #0706 (Cyberhawks)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2004
Location: Merton, wi
Posts: 594
Bruceb is a splendid one to beholdBruceb is a splendid one to beholdBruceb is a splendid one to beholdBruceb is a splendid one to beholdBruceb is a splendid one to beholdBruceb is a splendid one to beholdBruceb is a splendid one to behold
Re: Encoders for 2015 Season

Quote:
Originally Posted by wmarshall11 View Post
You can get them with wires attached or with .1in pins. Getting the pins tends to be more feasible. You can either solder to them or attach standard .1 female connectors (same as pwm) and run cable back to your control board.
With the USdigital encoders there were 4 wires, with these I see 5 pins.
What do they get wired to?
Thanks
__________________
Mentor Team 706 The CyberHawks
2010 Wisconsin Regional Rockwell Automation Innovation in Control Award
2010 Wisconsin Regional Finalist
2013 Buckeye Regional Finalist
2014 Superior Regional Industrial Design Award
2014 Superior Regional Finalist
2014 Wisconsin Regional Finalist
2014 Wisconsin Motorola Quality Award
2015 Wisconsin Regional Motorola Quality Award
2015 Queen City Creativity Award
2016 Buckeye Regional Finalist
2016 Wisconsin Regional Finalist
2016 Wisconsin Regional Industrial Safety Award
2016 Wisconsin Regional Excellence in Engineering Award

https://www.youtube.com/user/Cyberhawks706
  #39   Spotlight this post!  
Unread 13-01-2015, 13:14
marshall's Avatar
marshall marshall is offline
My pants are louder than yours.
FRC #0900 (The Zebracorns)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2003
Location: North Carolina
Posts: 1,259
marshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond repute
Re: Encoders for 2015 Season

Quote:
Originally Posted by ozrien View Post
Yeah but 2bit grey code is the same as quadrature, unless I'm missing something.
I'm always interested in new sensors, send me a data sheet if you can.
Is it?!?! I didn't know that. I will find some spec sheets and send them your way for the ones we were looking at. There is also a CAN based sensor from a BMW steering wheel that looked promising...
  #40   Spotlight this post!  
Unread 13-01-2015, 13:18
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Encoders for 2015 Season

Quote:
Originally Posted by Bruceb View Post
With the USdigital encoders there were 4 wires, with these I see 5 pins.
What do they get wired to?
The data sheet shows the pinout. Pin 4 is not connected.
  #41   Spotlight this post!  
Unread 13-01-2015, 13:19
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Encoders for 2015 Season

Quote:
Originally Posted by ozrien View Post
Yeah but 2bit grey code is the same as quadrature, unless I'm missing something.
Marshall wants absolute sensors.
  #42   Spotlight this post!  
Unread 13-01-2015, 13:24
marshall's Avatar
marshall marshall is offline
My pants are louder than yours.
FRC #0900 (The Zebracorns)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2003
Location: North Carolina
Posts: 1,259
marshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond repute
Re: Encoders for 2015 Season

Quote:
Originally Posted by Alan Anderson View Post
Marshall wants absolute sensors.
It's true. I also want a pony.... perhaps even a striped one with a horn on it.
  #43   Spotlight this post!  
Unread 13-01-2015, 14:38
juchong's Avatar
juchong juchong is offline
Electrical Engineer
AKA: Juan Chong
FRC #2655 (Flying Platypi)
Team Role: Engineer
 
Join Date: Aug 2008
Rookie Year: 2008
Location: Greensboro, NC
Posts: 105
juchong is a jewel in the roughjuchong is a jewel in the roughjuchong is a jewel in the rough
Re: Encoders for 2015 Season

Quote:
Originally Posted by marshall View Post
It's true. I also want a pony.... perhaps even a striped one with a horn on it.
YAY PONIES!

Every time that we've used encoders for swerve drive, we've coupled them with a 360 degree potentiometer for initial calibration. This way, you (almost) always know where your wheels are pointing and how much you're slipping.

If you throw a well-calibrated Gyro into the mix then you've got field-oriented drive + drift compensation!

We've also had great results using the US Robotics encoders included in previous KOPs. One for steering, and one for drive.
__________________
Teams I've worked with:My Website: http://www.juanjchong.com/
What I do: Analog Devices iSensor Product Engineer
  #44   Spotlight this post!  
Unread 13-01-2015, 15:08
ozrien's Avatar
ozrien ozrien is offline
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 521
ozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant future
Re: Encoders for 2015 Season

That's an interesting idea.

With a custom breakout/cable you could wire out both the potentiometer and quadrature encoder for each wheel for each Talon SRX (since SRX decodes both at the same time and puts both on CAN bus).

Quote:
Originally Posted by juchong View Post
YAY PONIES!

Every time that we've used encoders for swerve drive, we've coupled them with a 360 degree potentiometer for initial calibration. This way, you (almost) always know where your wheels are pointing and how much you're slipping.

If you throw a well-calibrated Gyro into the mix then you've got field-oriented drive + drift compensation!

We've also had great results using the US Robotics encoders included in previous KOPs. One for steering, and one for drive.
  #45   Spotlight this post!  
Unread 13-01-2015, 15:45
marshall's Avatar
marshall marshall is offline
My pants are louder than yours.
FRC #0900 (The Zebracorns)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2003
Location: North Carolina
Posts: 1,259
marshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond repute
Re: Encoders for 2015 Season

Quote:
Originally Posted by ozrien View Post
That's an interesting idea.

With a custom breakout/cable you could wire out both the potentiometer and quadrature encoder for each wheel for each Talon SRX (since SRX decodes both at the same time and puts both on CAN bus).
That's a complicated mess though. Mounting one of these widgets is bad enough. I really just want someone to start selling 3.3v absolute encoders instead of 5v ones.

We are already building a custom breakout to do the conversion... it's just extra circuitry that I'd love to get rid of.
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 17:02.

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