Go to Post When I mentor other people in programming... they either get pointers or they don't. - JamesTerm [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
  #3   Spotlight this post!  
Unread 28-01-2017, 20:56
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: 552
ozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond repute
Re: More Analog Inputs

Talon SRX has many sensor inputs that you can have the Talon react to directly, and/or process yourself in your robot application(fetch over CAN Bus). This includes the 3.3V analog input, a few digital inputs (limit switch for example), quadrature, pulse width, direct-communication with a Pigeon IMU.

5V signals should use an adapter board to translate to a Talon-compliant 3.3V signal, such as...
http://www.ctr-electronics.com/adapt...out-board.html

Most of this is explained in the Talon SRX Software Reference Manual, but basically use the web-based config (Section 2 in software reference manual) to set the device ID of the Talon, then specify the same ID when you construct the CANTalon object in java.

http://www.ctr-electronics.com/talon...ical_resources

Some useful sections...

2.4. Self Test - poll the sensor values on a given talon. This works even if there is no code in the RIO.

16.9. Why are there multiple ways to get the same sensor data?
GetEncoder() versus GetSensor()?

16.11. Why are there two feedback “analog” device types: Analog Encoder
and Analog Potentiometer?

16.18. How do I get the raw ADC value (or voltage) on the Analog Input pin

16.21. Analog Position seems to be stuck around ~100 units?
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 21:34.

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