Go to Post Clearly and clearly, the go-to place is Chief Delphi. It connects all the dots. - JaneYoung [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 14-01-2017, 02:34
dardeshna's Avatar
dardeshna dardeshna is offline
Build Captain
AKA: Devin Ardeshna
FRC #0008 (Paly Robotics | Team 8)
Team Role: Mechanical
 
Join Date: Dec 2015
Rookie Year: 2015
Location: Palo Alto
Posts: 35
dardeshna is an unknown quantity at this point
Using CIMCoders with Talon SRXs

When wiring CIMCoders to talons using breakout boards we've been getting inconsistent readings. Moving the drivetrain one direction makes the encoder values increase significantly more than moving it the same distance in the other direction (factor of 4 to 10). We don't have this issue when plugging into the RoboRio directly. A spare grayhill we had also worked fine.

We tried adding 10K ohm pull up resistors which seemed to work for a little while before we began to get inconsistent values again.

Has anyone else had this issue before and are pull up resistors the proper solution?
Reply With Quote
  #2   Spotlight this post!  
Unread 14-01-2017, 08:22
MrNick's Avatar
MrNick MrNick is offline
Registered User
FRC #0088 (TJ^2)
Team Role: Mentor
 
Join Date: Apr 2015
Rookie Year: 2014
Location: Bridgewater, MA
Posts: 13
MrNick is an unknown quantity at this point
Re: Using CIMCoders with Talon SRXs

I do believe a pull up resistor is needed, but I think you aren't using the correct resistance. See the graph here: http://www.robotshop.com/media/files...et_1-27-16.pdf. You need a different resistance depending on whether you are using 5v or 3.3v with the talon.
__________________




2016 Granite State District Event Winner
Reply With Quote
  #3   Spotlight this post!  
Unread 14-01-2017, 10:39
frodobaggins05's Avatar
frodobaggins05 frodobaggins05 is offline
Registered User
AKA: Wiring Specialist
FRC #2783
Team Role: Electrical
 
Join Date: Oct 2016
Rookie Year: 2016
Location: Louisville KY
Posts: 37
frodobaggins05 is infamous around these partsfrodobaggins05 is infamous around these partsfrodobaggins05 is infamous around these parts
Re: Using CIMCoders with Talon SRXs

Quote:
Originally Posted by dardeshna View Post
When wiring CIMCoders to talons using breakout boards we've been getting inconsistent readings. Moving the drivetrain one direction makes the encoder values increase significantly more than moving it the same distance in the other direction (factor of 4 to 10). We don't have this issue when plugging into the RoboRio directly. A spare grayhill we had also worked fine.

We tried adding 10K ohm pull up resistors which seemed to work for a little while before we began to get inconsistent values again.

Has anyone else had this issue before and are pull up resistors the proper solution?
Are your readings only inconsistent while running the robot?
Reply With Quote
  #4   Spotlight this post!  
Unread 14-01-2017, 16:48
dardeshna's Avatar
dardeshna dardeshna is offline
Build Captain
AKA: Devin Ardeshna
FRC #0008 (Paly Robotics | Team 8)
Team Role: Mechanical
 
Join Date: Dec 2015
Rookie Year: 2015
Location: Palo Alto
Posts: 35
dardeshna is an unknown quantity at this point
Re: Using CIMCoders with Talon SRXs

Quote:
Originally Posted by frodobaggins05 View Post
Are your readings only inconsistent while running the robot?
Readings are inconsistent whether the wheels are hand spun or driven by the motors. We don't think it's a gearbox engagement issue or anything similar.
Reply With Quote
  #5   Spotlight this post!  
Unread 15-01-2017, 10:19
tr6scott's Avatar
tr6scott tr6scott is online now
Um, I smell Motor!
AKA: Scott McBride
FRC #2137 (TORC)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2005
Location: Oxford, MI
Posts: 535
tr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond repute
Re: Using CIMCoders with Talon SRXs

Seeing the Cimcoder is a 5V sensor we used a 4.7K Ohm resistor to Vdd.

If I remember right it was 10k at 12v, but the srx is 5v/3.3v.

We used the CTE breakout for these.

Added- the encoder is 20 cpr, the srx is 4x decode the signal, so you should see 80 native counts per rev in the srx webpage. *going from Memory*
__________________
The sooner we get behind schedule, the more time we have to catch up.


Last edited by tr6scott : 15-01-2017 at 10:39. Reason: Wrong data initially... then added the native.
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 15:33.

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