Go to Post I've be addicted for 15 years. Tried to quit but failed. - Gdeaver [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 09-22-2016, 03:48 PM
rsync rsync is offline
Registered User
FRC #4913
 
Join Date: Sep 2016
Location: Anaheim, CA
Posts: 5
rsync is an unknown quantity at this point
Talon SRX Breakout Board with Hall Effect Encoders

We're trying to use the Talon SRX breakout board (http://www.andymark.com/product-p/am-3281.htm) with the Talon SRX controllers and the PG71 motor. The motor comes with hall effect encoder (am-2816a) attached to the back. We connected encoder pins on the breakout board to the encoder, but are unable to read any encoder values. When printing the values in SmartDashboard, they always stay 0. We're not sure if it's a wiring issue or programming issue.

Here's some pictures for how we're connecting:
https://goo.gl/photos/6gmekW3FFhZBhXi56 (pins on breakout board)
https://goo.gl/photos/XQJWmhJqSngsGHaw5 (encoder)

Wiring question:
The breakout board has 5 pins for encoder (Ch B, V+, Ch A, IDX, V-), whereas the encoder has 4 pins (Ch B, Ch A, VCC, GND). How should those be connected?
http://files.andymark.com/Images/am-..._InfoSheet.jpg

Programming question:
We wrote a simple program with 2 CANTalon objects, and one motor following the other. We didn't yet set the PID values, hoping to just test with the encoder values. But we were not getting any values from the encoder. The code is here: https://github.com/FRC4913/Chell/blo...robot/Arm.java

(x-posted to electrical)
Reply With Quote
 


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 08:23 AM.

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