Go to Post Will we finally get to play music on our robots for once!? - Hitchhiker 42 [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 24-01-2012, 16:59
AndresC AndresC is offline
Registered User
no team
 
Join Date: Jan 2012
Location: Downtown
Posts: 12
AndresC is an unknown quantity at this point
Motors not working with jaguars

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.
Attached Thumbnails
Click image for larger version

Name:	Plainfield-20120124-00089.jpg
Views:	97
Size:	389.1 KB
ID:	11551  
  #2   Spotlight this post!  
Unread 24-01-2012, 17:05
kuh-nig-its-EL's Avatar
kuh-nig-its-EL kuh-nig-its-EL is offline
Registered User
FRC #1939
 
Join Date: Jan 2011
Location: US
Posts: 26
kuh-nig-its-EL is on a distinguished road
Re: Motors not working with jaguars

There is no PWM cable connected to the jaguar.

Last edited by kuh-nig-its-EL : 24-01-2012 at 17:07.
  #3   Spotlight this post!  
Unread 24-01-2012, 17:09
sometimestommy's Avatar
sometimestommy sometimestommy is offline
Schrödinger's Assistant
AKA: Thomas Moll
FRC #1939 (Ku-Nig-Its)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2009
Location: US
Posts: 48
sometimestommy is on a distinguished road
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
  #4   Spotlight this post!  
Unread 24-01-2012, 17:34
browny996's Avatar
browny996 browny996 is offline
Eduardo Torres
AKA: Frozt Byte
FRC #3574 (High Tekerz)
Team Role: CAD
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Burien, WA
Posts: 24
browny996 is an unknown quantity at this point
Re: Motors not working with jaguars

The other thing that i would recomend checking is that your motors are geared right and working
  #5   Spotlight this post!  
Unread 24-01-2012, 17:41
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 675
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
Re: Motors not working with jaguars

Quote:
Originally Posted by AndresC View Post
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).
__________________
  #6   Spotlight this post!  
Unread 24-01-2012, 17:42
AndresC AndresC is offline
Registered User
no team
 
Join Date: Jan 2012
Location: Downtown
Posts: 12
AndresC is an unknown quantity at this point
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.

Last edited by AndresC : 24-01-2012 at 17:44.
  #7   Spotlight this post!  
Unread 24-01-2012, 17:43
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 675
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
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.
__________________

Last edited by mikets : 24-01-2012 at 18:07.
  #8   Spotlight this post!  
Unread 24-01-2012, 18:09
PAR_WIG1350's Avatar
PAR_WIG1350 PAR_WIG1350 is offline
Registered User
AKA: Alan Wells
FRC #1350 (Rambots)
Team Role: Alumni
 
Join Date: Dec 2009
Rookie Year: 2009
Location: Rhode Island
Posts: 1,190
PAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond repute
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.
__________________

Last edited by PAR_WIG1350 : 24-01-2012 at 18:11.
  #9   Spotlight this post!  
Unread 24-01-2012, 18:13
AndresC AndresC is offline
Registered User
no team
 
Join Date: Jan 2012
Location: Downtown
Posts: 12
AndresC is an unknown quantity at this point
Re: Motors not working with jaguars

The code doesn't come with the default program? PAR_WIG1350, everything has power going through it.
  #10   Spotlight this post!  
Unread 24-01-2012, 18:13
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 675
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
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.
__________________
  #11   Spotlight this post!  
Unread 24-01-2012, 18:19
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 675
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
Re: Motors not working with jaguars

Quote:
Originally Posted by AndresC View Post
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
__________________

Last edited by mikets : 24-01-2012 at 18:26. Reason: Added link to the fixing cable instructions.
  #12   Spotlight this post!  
Unread 24-01-2012, 18:21
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,125
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Motors not working with jaguars

Quote:
Originally Posted by AndresC View Post
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.

  #13   Spotlight this post!  
Unread 26-01-2012, 12:14
AndresC AndresC is offline
Registered User
no team
 
Join Date: Jan 2012
Location: Downtown
Posts: 12
AndresC is an unknown quantity at this point
Re: Motors not working with jaguars

Quote:
Originally Posted by mikets View Post
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 View Post
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.
  #14   Spotlight this post!  
Unread 26-01-2012, 14:10
AndresC AndresC is offline
Registered User
no team
 
Join Date: Jan 2012
Location: Downtown
Posts: 12
AndresC is an unknown quantity at this point
Re: Motors not working with jaguars

Quote:
Originally Posted by mikets View Post
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
  #15   Spotlight this post!  
Unread 26-01-2012, 14:31
Prototype151's Avatar
Prototype151 Prototype151 is offline
http://t3.gstatic.com/images?q=tbn:
FRC #3995
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Oregon
Posts: 5
Prototype151 is an unknown quantity at this point
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
__________________
-Pro Host Gaming-
Closed Thread


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 18:54.

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