Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Electrical (http://www.chiefdelphi.com/forums/forumdisplay.php?f=53)
-   -   Motors not working with jaguars (http://www.chiefdelphi.com/forums/showthread.php?t=101043)

AndresC 24-01-2012 16:59

Motors not working with jaguars
 
1 Attachment(s)
The motors wont run when they are connected to a jaguar, any ideas as to what the problem is. The light on the jaguar is blinking.

kuh-nig-its-EL 24-01-2012 17:05

Re: Motors not working with jaguars
 
There is no PWM cable connected to the jaguar.

sometimestommy 24-01-2012 17:09

Re: Motors not working with jaguars
 
Hey. First off i would check the control system diagrams on the frc KOP websites. The big thing i see wrong with it is the lack of a PWM cable that goes into the digital side car. (see control system wiring pdf)

-Thomas

browny996 24-01-2012 17:34

Re: Motors not working with jaguars
 
The other thing that i would recomend checking is that your motors are geared right and working::ouch::

mikets 24-01-2012 17:41

Re: Motors not working with jaguars
 
Quote:

Originally Posted by AndresC (Post 1112748)
The motors wont run when they are connected to a jaguar, any ideas as to what the problem is. The light on the jaguar is blinking.

According to the picture, you need to tell the Jaguar to "turn" the motor and you can't tell the Jaguar anything until you either connect a PWM cable or a CAN cable to it and have some code to tell the Jaguar how fast it should turn the motor. BTW, the blinking light tells you exactly that (that nobody is talking to the Jaguar - no connection).

AndresC 24-01-2012 17:42

Re: Motors not working with jaguars
 
We connected the PMW cables but it did not worked. The motors work fine, they work when we connect them to a power source. Can someone post a link to the diagram.

mikets 24-01-2012 17:43

Re: Motors not working with jaguars
 
But did you execute code to tell the Jaguar what power to turn the motor? And where did you connect the PWM cable to? It should be connected to one of the PWM channels of the digital sidecar.

PAR_WIG1350 24-01-2012 18:09

Re: Motors not working with jaguars
 
Not only do you need a pwm cable from the jaguar to the digital sidecar, but the digital sidecar must be connected to the crio and the crio, digital sidecar AND the jaguar must be connected to the power distribution board to receive power.

Edit: Also, check your crimping, the red motor lead seems to be crimped incorrectly, there should be no metal from the wire visible. Also, you should be able to hold the connector in one hand and the wire in the other and tug it without the connector falling off.

AndresC 24-01-2012 18:13

Re: Motors not working with jaguars
 
The code doesn't come with the default program? PAR_WIG1350, everything has power going through it.

mikets 24-01-2012 18:13

Re: Motors not working with jaguars
 
Ok, here is the power connection diagram.
http://www.usfirst.org/sites/default...olenoid%29.pdf

And here is the signal connection diagram.
http://www.usfirst.org/sites/default...28PWM%29. pdf

Although the line that connects the PWM channel 1 of the digital sidecar to the Jaguar is technically incorrect. It doesn't go into the RJ-11 connector. It should go to the 3-pin header labeled PWM on the Jaguar.

mikets 24-01-2012 18:19

Re: Motors not working with jaguars
 
Quote:

Originally Posted by AndresC (Post 1112811)
The code doesn't come with the default program?

Depends. What default program are you loading to the robot? FIRST provides many sample code. You need to make sure you are using the correct one that matches your robot's configuration (i.e. using Jaguars in PWM mode) and make sure it is using the same PWM channel that you connected your Jaguar to. And of course, you also need to make sure your modules are plugged into the cRIO correctly (module 1: analog, module 2: digital and optionally module 3 solenoid). You also need to make sure your DB37 cable that connects the digital module to the sidecar is fixed. If you haven't heard anything about the DB37 cable, you haven't fixed it. There are many threads in the forums talking about the DB37 cable. Search for it.
http://www.usfirst.org/sites/default...structions.pdf

Ether 24-01-2012 18:21

Re: Motors not working with jaguars
 
Quote:

Originally Posted by AndresC (Post 1112748)
The motors wont run when they are connected to a jaguar

Count your blessings.

Before you do anything else, secure that CIM so it doesn't jump off the table.


AndresC 26-01-2012 12:14

Re: Motors not working with jaguars
 
Quote:

Originally Posted by mikets (Post 1112818)
Depends. What default program are you loading to the robot? FIRST provides many sample code. You need to make sure you are using the correct one that matches your robot's configuration (i.e. using Jaguars in PWM mode) and make sure it is using the same PWM channel that you connected your Jaguar to. And of course, you also need to make sure your modules are plugged into the cRIO correctly (module 1: analog, module 2: digital and optionally module 3 solenoid). You also need to make sure your DB37 cable that connects the digital module to the sidecar is fixed. If you haven't heard anything about the DB37 cable, you haven't fixed it. There are many threads in the forums talking about the DB37 cable. Search for it.
http://www.usfirst.org/sites/default...structions.pdf

We are using LabVIEW and there is only one default default robot code in it.

Quote:

Originally Posted by Ether (Post 1112820)
Count your blessings.

Before you do anything else, secure that CIM so it doesn't jump off the table.


We had tested it out before so we knew the motor would not work. We had the motor on the table so that we could have a clear picture.

AndresC 26-01-2012 14:10

Re: Motors not working with jaguars
 
Quote:

Originally Posted by mikets (Post 1112812)
Ok, here is the power connection diagram.
http://www.usfirst.org/sites/default...olenoid%29.pdf

And here is the signal connection diagram.
http://www.usfirst.org/sites/default...28PWM%29. pdf

Although the line that connects the PWM channel 1 of the digital sidecar to the Jaguar is technically incorrect. It doesn't go into the RJ-11 connector. It should go to the 3-pin header labeled PWM on the Jaguar.

We did this, we put the left motor to PWM 1 and the right motor PWM 2 but still nothing is working. Could it have to do with the cRIO

Prototype151 26-01-2012 14:31

Re: Motors not working with jaguars
 
To get the motors working correctly as i understand, not only do you need to hook it up the the jaguar and correctly configure all other hardware, but you also need the code which can be found under Support-->Example programs[Labview] There is 2 main motor configs, tank drive and arcade drive. I believe that arcade drive is default for robot name if you start a new crio project. The scematics for setting up the hardware[Electrical] can be found here
http://www.google.com/imgres?q=elect...00JnvBw&zoom=1
PS:the link is kind of big sorry

DavidGitz 26-01-2012 14:40

Re: Motors not working with jaguars
 
The document entitled "Getting Started with your 2012 Control System" located here goes step by step on configuring your Control System.

I assume you are somewhere on page 25 but you should go through this document and verify every step has been performed. Also, while you can use one of the Example Projects (on the Labview Splash Screen click Support and then click "Find FRC Examples" the Default Project has code in it already to control a simple drive-train, to help new teams get started. Which this document references.

AndresC 26-01-2012 18:15

Re: Motors not working with jaguars
 
Problem has been fixed. We forgot to put the jumper on the Analog breakout. Everything else was connected properly.

slijin 26-01-2012 20:53

Re: Motors not working with jaguars
 
Quote:

Originally Posted by AndresC (Post 1114130)
Problem has been fixed. We forgot to put the jumper on the Analog breakout. Everything else was connected properly.

Erm, that problem would have no effect on Jaguar communication barring some ridiculous short through the breakout. The jumper allows you to see your battery readout accurately, not regulate speed controller signals.

PAR_WIG1350 27-01-2012 00:09

Re: Motors not working with jaguars
 
Quote:

Originally Posted by AndresC (Post 1114130)
Problem has been fixed. We forgot to put the jumper on the Analog breakout. Everything else was connected properly.

Analog breakout? That has nothing to do with the jaguars. If you are talking about the servo jumpers on the DSC, than there is still something wrong, you shouldn't need those. The only possible thing I can think of that would make this solution make sense would be the new CRIO image disabling all outputs when it can't read battery voltage.

Shaun Coon 27-01-2012 21:07

Re: Motors not working with jaguars
 
The crimp coming from the cim to the jag seems to be coming out via your picture

Ringbearer31 28-01-2012 16:32

Re: Motors not working with jaguars
 
From your question, you do not state you tested it with victors, so I'm going to assume "no". If your useing your shiny new ribbon cable, try something else. Thats broken. You can fix it with these instructions, but they are easy to break even more.


All times are GMT -5. The time now is 04:17.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi