|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Talon SRX Motor Controller Problem
We have a problem connecting the motor controller to the PWM ports on the roboRIO. We believe to have correctly connected the motor controller to the roboRIO and the Power Distribution Module. When we connect the motor controller to the CAN port, the motor controller works. However, when we use the PWM ports, the motor controller doesn't work and just blinks red.
We took two photos of the system which are posted below. Thanks for any help! |
|
#2
|
||||
|
||||
|
Re: Talon SRX Motor Controller Problem
Quote:
|
|
#3
|
||||
|
||||
|
Re: Talon SRX Motor Controller Problem
That section explains that PWM CAL Mode and Limit Switches require the upgrade. General PWM drive does not require the update, however it is required to be FRC legal if the firmware is <0.28.
Your photo looks like the green wire is connected to the middle pin, which is not correct. Green should go to ground. See Section 1.3.3 of the Talon SRX User's Guide. |
|
#4
|
||||
|
||||
|
Re: Talon SRX Motor Controller Problem
Why are you attempting to run the SRXs from PWM anyway?
|
|
#5
|
|||
|
|||
|
Re: Talon SRX Motor Controller Problem
Neither of our wires are connected to the middle pin - the green is connected to ground. By our understanding, the problem with the CAN wires is that they employ series circuiting rather than parallel. So if one of the motor controllers goes out, then the others stop working. This is the reason we are trying to use PWM ports, but correct us if we wrong about this.
Thanks, Charging Champions |
|
#6
|
|||
|
|||
|
Re: Talon SRX Motor Controller Problem
Quote:
|
|
#7
|
||||
|
||||
|
Re: Talon SRX Motor Controller Problem
Quote:
For most teams that use Talon SRX's, the main reason is the built-in PID and active breaking software, which is only available via CAN. Obviously you already have these Talon SRX's, but in the future if you know you will only be using PWM you can buy cheaper motor controllers that do effectively the same thing. You can get SPARK motor controllers from REV Robotics for $45 (half the price of a Talon SRX). If you really need the small package, you can get Victor SP's ($60 IIRC). Of course this isn't to say that the Talon SRX's won't work with PWM, just that in the future there are cheaper alternatives. |
|
#8
|
|||
|
|||
|
Re: Talon SRX Motor Controller Problem
Quote:
Also, you should put some form of connector on your wires. It's possible you were shorting +5v to ground with your current setup. If you don't have the proper connectors and crimper, you can solder the wires to a preexisting PWM cable. Using connectors will also give you something good to attach the cables with if you decide to use CAN at some point, since I doubt you'll want to cut, restrip, and solder the wires every season, especially since the wires are permanently stuck to the controller. |
|
#9
|
|||
|
|||
|
Re: Talon SRX Motor Controller Problem
Thank you all for the replies. A couple of questions:
1. So if we used the CAN ports, which don't use parallel circuiting, would it be right to say that if one motor controller were to stop receiving power, then the rest of them would not receive any inputs through the CAN wires? 2. Should we use Anderson Powerpoles to link together CAN wires or a different mechanism? What is the cleanest way of linking CAN wires? We are probably going to stick with the CAN ports. Thanks for the help, Charging Champions |
|
#10
|
||||
|
||||
|
Re: Talon SRX Motor Controller Problem
Quote:
2. We always cut our CAN wires to the exact length and solder them together and cover in heatshrink. Makes really clean runs. If we need more length on one wire later on, we can always just solder on more wire, or if it comes to it, take apart the motor controller housing and compltley swap out the wire (it's not too hard). |
|
#11
|
||||
|
||||
|
Re: Talon SRX Motor Controller Problem
Quote:
And as Rohit said, most CAN devices just connect high-high and low-low and just take that signal elsewhere for processing. Also, you don't have much probability of one dying on you. Though more likely, if one died your code would crash as it couldn't initialize the CANTalon anymore. That's assuming the entire thing just died rather than the just the voltage controlling circuitry, which is more likely. The SRX is advanced enough to have current limiting and the such, and because of that I've never seen a dead one. |
|
#12
|
|||
|
|||
|
Re: Talon SRX Motor Controller Problem
A breaker trip will cause a single controller to lose power.
As others have noted though, the controller losing power will not interrupt your CAN chain. Quote:
|
|
#13
|
|||||
|
|||||
|
Talon SRX Motor Controller Problem
Quote:
I'm not sure about the legality, but I know for sure some teams ran with a star topology during this past season. However, I've heard that it's not a great method for connecting everything. Check out this post for more info on why it isn't recommended: https://www.chiefdelphi.com/forums/s...2&postcount=12. |
|
#14
|
||||
|
||||
|
Re: Talon SRX Motor Controller Problem
Quote:
|
|
#15
|
||||
|
||||
|
Re: Talon SRX Motor Controller Problem
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|