|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Dart Linear Acuator
I completely forgot about this. In begin, place a Talon SRX Set Ref with feedback type wired as Analog POT and a Talon SRX Set POT Turns with the number of turns set to the right turn value and it should work.
|
|
#2
|
||||
|
||||
|
Re: Dart Linear Acuator
I am assuming this will be connected on the analog port on the Roborio right ?
|
|
#3
|
||||
|
||||
|
Re: Dart Linear Acuator
We are using Talon SRX as our motor controller, could i use the data port to connect the potentiometer wires?
|
|
#4
|
|||
|
|||
|
Re: Dart Linear Acuator
We are also using a Talon SRX to control our Dart, and we have both the potentiometer and the limit switches connected to the data port on the Talon. I'm sorry that I cannot help with the specifics of the code - I'm just a knuckle-dragging mechanical guy - but I do know that it is possible to wire it as such.
We've also found that by roughening the shaft of the lead screw and using red loctite on the shaft collars (between the collar and the shaft, not on the clamp screw of the shaft collar) we have been able to absorb several high-speed impacts against the hardstops without jamming the actuator. We are still using software to limit the speed of the actuator as we approach our limit switches, but it's good to know that a small glitch won't result in us doing a complete tear-down of the Dart. |
|
#5
|
|||
|
|||
|
Re: Dart Linear Acuator
My first Post was assuming that the POT was connected directly to a roboRIO Analog Channel.
This code is for the POT if it is connected directly to a Talon SRX DATA port. Last edited by Matt-T-FRC : 08-03-2016 at 09:22. |
|
#6
|
|||
|
|||
|
Re: Dart Linear Acuator
Are any of you using the Hall Effect sensors? If so would you mind posting a sample code to use? We are also using LabView. Thanks!
|
|
#7
|
|||
|
|||
|
Re: Dart Linear Acuator
These should work as examples for Hall Effect Sensors. Just remember to add the Registry names
|
|
#8
|
||||
|
||||
|
Re: Dart Linear Acuator
Thanks Matt, very new to LV... Our actuator is in the bag... so i really don't have access to it until Thursday night.
I do have a spare potentiometer i would like to use... I also have a very basic practice robot with talon SRX already set, could i connect the potentiometer to the Talon SRX and display the value read on the driver station? Sorry if my questions seem basic, i am totally new to this programming environment... this is a situation where i know what i want from past experience, but cannot seem to figure out how to make it happen... very frustrating... Any help is very much appreciated, thanks in advance. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|