Go to Post Honestly, I'd volunteer my team to be on that alliance. It'd be an honor to touch bumpers with those bots. - ttldomination [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 26-01-2016, 19:08
FancyGerald FancyGerald is offline
Registered User
FRC #3098
 
Join Date: Feb 2015
Location: Mi
Posts: 6
FancyGerald is an unknown quantity at this point
Talon srx and breakout board with encoder doesnt work right

My setup is a talon srx connected via CAN with an andymark breakout board with an andymark cimcoder connected to the breakout board. My code is receiveing the encoder position from the CANTalon object in java. The encoder value counts upwards correctly and will not count correctly backwards.Both channel A and B work correctly because we have tryed to switch the channels on the breakout board and have also pluged them directly into the roborio. What am I missing, encoders work fine and the talon srx is working fine breakout board has no shorts and is wired correctly?

Last edited by FancyGerald : 26-01-2016 at 21:12.
Reply With Quote
  #2   Spotlight this post!  
Unread 27-01-2016, 13:05
MACH MACH is offline
Registered User
no team
 
Join Date: Jan 2016
Location: St. Louis
Posts: 1
MACH is an unknown quantity at this point
Re: Talon srx and breakout board with encoder doesnt work right

Assuming you're using the new TalonSRX Breakout boards (TSUB-2)?

The CIMCoder encoders require pull-up resistors for reliable operation. I'd bet that is the issue you're running into. If you have the means, solder some 10k resistors into R1 and R2 on the Talon Breakout and that should solve it.

The Rev2 Talon Breakouts don't come with these by default since US Digital and Bourns encoders don't require them, but Rev3 and up do. If you don't have the parts or the means to solder them, send an email to support@mach-engineering.com and they'll send you the parts. You can also toss the boards in a padded envelope and they'll make the change for you (email first).
Reply With Quote
  #3   Spotlight this post!  
Unread 27-01-2016, 15:28
nixiebunny nixiebunny is offline
Registered User
AKA: David Forbes
FRC #4183 (Bit Buckets)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2011
Location: Tucson
Posts: 163
nixiebunny has a reputation beyond reputenixiebunny has a reputation beyond reputenixiebunny has a reputation beyond reputenixiebunny has a reputation beyond reputenixiebunny has a reputation beyond reputenixiebunny has a reputation beyond reputenixiebunny has a reputation beyond reputenixiebunny has a reputation beyond reputenixiebunny has a reputation beyond reputenixiebunny has a reputation beyond reputenixiebunny has a reputation beyond repute
Re: Talon srx and breakout board with encoder doesnt work right

Those 10K pullup resistors should be stuffed in the breakout boards by default. They will make some encoders work that wouldn't work otherwise, and they won't break anything. Sheesh.

We used the Murata encoders that were available last year. No pullups needed, although there were fiddly bits that broke easily.
__________________
--David Forbes
Mentor, Bit Buckets team 4183. Assistant cat herder and dispenser of legendary tales.
Need a Nixie watch? Yes, you do. Ask me.
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 14:47.

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