Go to Post I need to start sleeping now to make up for build season - Kingofl337 [more]
Home
Go Back   Chief Delphi > Technical > Control System > FRC Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rating: Thread Rating: 5 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 07-03-2010, 13:05
pauldemonkey pauldemonkey is offline
Registered User
FRC #2941
 
Join Date: Feb 2010
Location: bellefontaine, ohio
Posts: 6
pauldemonkey is an unknown quantity at this point
Jaguar Brake/coast

We are trying to get a jaguar to brake and can't figure out exactly how to wire it. I saw one thread about a pulldown resistor and two wires in the sidecar with only one in the jaguar, if we are supposed to do it that way then how exactly should it be wired and how big of a resistor do we need?
Reply With Quote
  #2   Spotlight this post!  
Unread 07-03-2010, 15:00
bladetech932's Avatar
bladetech932 bladetech932 is offline
Programmer of awesome
AKA: Jon
FRC #0932 (Circuit Chargers)
Team Role: College Student
 
Join Date: May 2009
Rookie Year: 2009
Location: Tulsa
Posts: 242
bladetech932 is on a distinguished road
Re: Jaguar Brake/coast

Getting the jaguar to brake just involves moving the farleft two pin jumper to the b side
.From....- -
.........b...c
..to.....- -
.........b...c
Reply With Quote
  #3   Spotlight this post!  
Unread 07-03-2010, 16:01
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,795
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: Jaguar Brake/coast

You can wire a digital output to the brake jumpers and control brake from software if you like.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
Reply With Quote
  #4   Spotlight this post!  
Unread 14-03-2010, 23:42
Kyledoo Kyledoo is offline
Registered User
FRC #2603
 
Join Date: Jan 2010
Location: Ohio
Posts: 24
Kyledoo is an unknown quantity at this point
Re: Jaguar Brake/coast

Quote:
Originally Posted by Al Skierkiewicz View Post
You can wire a digital output to the brake jumpers and control brake from software if you like.
and how would you do this? which ports on the sidecar would you use and which wires get connected? do you use 3 wire cables or 2 wire? I get the concept but don't quite understand how it would be implemented. we would be interested in doing this so it can be on brake during auto mode and coast during teleop. we are using victors, but i assume the process is the same
Reply With Quote
  #5   Spotlight this post!  
Unread 15-03-2010, 09:29
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,795
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: Jaguar Brake/coast

Kyle,
You would wire to a digital output but only use the black and white wires. Black to pin 3 and white to pin 2 on the Jag. The +5 volt line is not used. It appears that the jumper input on the Jag for coast and brake is either tied to +3.3 volts or power common. The data sheet for the controller chip does not seem to pull this input high so a pullup resistor (1k) from the Jag 3.3 volt pin (pin 1) to the center pin (pin 2) would likely be needed. Then simply program a digital output to be low for "brake" and high for "coast". we have used a similar method on Victors in the past but do not use Jaguars.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
Reply With Quote
  #6   Spotlight this post!  
Unread 15-03-2010, 10:39
heydowns's Avatar
heydowns heydowns is offline
Registered User
AKA: Jeff Downs
FRC #1511 (Rolling Thunder)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Ra-Cha-Cha
Posts: 142
heydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond repute
Re: Jaguar Brake/coast

If using CAN, you can also control Brake/Coast via software directly by issuing commands over the CAN bus.
Reply With Quote
  #7   Spotlight this post!  
Unread 15-03-2010, 12:46
rwood359 rwood359 is offline
Registered User
AKA: Randy
FRC #0359 (Hawaiian Kids)
Team Role: Mentor
 
Join Date: Aug 2008
Rookie Year: 2008
Location: Waialua, HI
Posts: 212
rwood359 is a name known to allrwood359 is a name known to allrwood359 is a name known to allrwood359 is a name known to allrwood359 is a name known to allrwood359 is a name known to all
Re: Jaguar Brake/coast

Quote:
Originally Posted by Al Skierkiewicz View Post
Kyle,
You would wire to a digital output but only use the black and white wires. Black to pin 3 and white to pin 2 on the Jag. The +5 volt line is not used. It appears that the jumper input on the Jag for coast and brake is either tied to +3.3 volts or power common. The data sheet for the controller chip does not seem to pull this input high so a pullup resistor (1k) from the Jag 3.3 volt pin (pin 1) to the center pin (pin 2) would likely be needed. Then simply program a digital output to be low for "brake" and high for "coast". we have used a similar method on Victors in the past but do not use Jaguars.
The following is from the FAQ on Luminary Micro. Only the white wire on the DS DO needs to be connected to the center pin on the B/C connector. We are currently using this. The driver likes coast going over the bump and brake on the level field.
http://www.luminarymicro.com/jaguar
Quote:
Brake/Coast Interface
Q
What is the best connection for a dynamic brake/coast interface?
A
If you are using the CAN interface, the brake/coast jumper setting may be overridden, and therefore no electrical interface to the brake/coast pins is necessary.
Otherwise, if you are using a PWM (servo) interface, you can connect just the center pin of the brake/coast header to a digital source (e.g. for FRC users the digital side car). Note that you shouldn’t hook up a ground signal because you do not want this to act as a current return path to the battery. You want the current return path exclusively through the V‐ screw terminal.
Reply With Quote
  #8   Spotlight this post!  
Unread 15-03-2010, 12:53
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,795
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: Jaguar Brake/coast

I wonder if this applies to old Jaguars or just the new models. The schematic I have for last year's model does not show any pullup for selection. The jumper is connected to +3.3 volts in one position or power supply common in the other.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
Reply With Quote
  #9   Spotlight this post!  
Unread 15-03-2010, 13:08
The Lucas's Avatar
The Lucas The Lucas is offline
CaMOElot, it is a silly place
AKA: My First Name is really "The" (or Brian)
FRC #0365 (The Miracle Workerz); FRC#1495 (AGR); FRC#4342 (Demon)
Team Role: Mentor
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Dela-Where?
Posts: 1,564
The Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond repute
Send a message via AIM to The Lucas
Re: Jaguar Brake/coast

I have made these brake coast cables cables before and if I remember correctly the rated max fanout for digital outs on the digital sidecar is 3. So if you have 4 speed controllers on the drive I recommend you daisy chain (or Y-cable) the left controllers to one digital output, then do the right controllers on a separate output. I have daisy chained one digital out to 4 speed controllers on a practice robot. It worked on all 4 controllers, but I wouldn't do this on your competition bot (use atleast 2 digital outs).
__________________
Electrical & Programming Mentor ---Team #365 "The Miracle Workerz"
Programming Mentor ---Team #4342 "Demon Robotics"
Founding Mentor --- Team #1495 Avon Grove High School
2007 CMP Chairman's Award - Thanks to all MOE members (and others) past and present who made it a reality.
Robot Inspector
"I don't think I'm ever more ''aware'' than I am right after I burn my thumb with a soldering iron"
Reply With Quote
  #10   Spotlight this post!  
Unread 15-03-2010, 13:09
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,101
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: Jaguar Brake/coast

Quote:
Originally Posted by Al Skierkiewicz View Post
I wonder if this applies to old Jaguars or just the new models. The schematic I have for last year's model does not show any pullup for selection. The jumper is connected to +3.3 volts in one position or power supply common in the other.
I think the pullup is done by the NI 9403 sourcing digital output.

I sent a PM to Greg asking about this but haven't heard back yet.


~
Reply With Quote
  #11   Spotlight this post!  
Unread 15-03-2010, 15:30
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,795
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: Jaguar Brake/coast

Ether,
In looking at the NI manual as a reference here...http://www.ni.com/pdf/manuals/374069e.pdf It shows an external pullup is needed and the sidecar has a 10k pullup to sidecar +5 volts. Kind of scary that way since there appears to be no protection to the input pin of the LM3S2616 in the Jaguar.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
Reply With Quote
  #12   Spotlight this post!  
Unread 15-03-2010, 15:58
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,101
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: Jaguar Brake/coast

Quote:
Originally Posted by Al Skierkiewicz View Post
It shows an external pullup is needed
Al, can you reference the Page or Paragraph where it says an external pullup is needed? I didn't see any reference to external pullup.

Here's what I found:

According to the NI 9403 "c_series_do.pdf" document Page 1 Table 1:

the 9403 has 32 Sink/Source 5V/TTL inputs/outputs. Output is 5V @ 2 mA.


According to document "374069e.pdf" "OPERATING INSTRUCTIONS AND SPECIFICATIONS NI 9403 32-Channel, TTL Digital Input/Output Module", Page 7:

Each channel has a DIO pin to which you can connect a digital input or output device. The 32 DIO channels are internally referenced to COM, so you can use any of the four COM lines as a reference for the external signal. ... You can independently configure each DIO channel in software for input or output.


The Digital Sidecar (DS) connects to the NI 9403 module.

According to "3-2010FRCControlSystemComponent DatasheetsRev1_enc.pdf":

(Page 16 Para 3.4.1) Functional Description
The Digital Sidecar is a breakout module that is designed to adapt a single cRIO 9403 32-channel digital I/O module into a set of I/O that is familiar to robotics hobbyists.

(Page 16 Para 3.4.1.1) Features
The Digital Sidecar includes the following features:
- 14 general purpose I/O (aka GPIO) lines with available 5V power for each


(Page 18 Table)
J26 GPIO A 3x14 0.1” pin field for general purpose digital I/O with 5V available on the center pin, ground on the pin closest to the PCB’s edge and I/O signal on the pin furthest from the PCB’s edge.

(Page 19 Specifications)
GPIO – Pull-Ups 10 kOhms* these signals are passed directly to the NI 9403 module without any series resistance but include pull-ups to 5V

*I interpreted these as internal pullups since it says later in the sentence that they are included


~
Reply With Quote
  #13   Spotlight this post!  
Unread 15-03-2010, 16:03
Dave Flowerday Dave Flowerday is offline
Software Engineer
VRC #0111 (Wildstang)
Team Role: Engineer
 
Join Date: Feb 2002
Rookie Year: 1995
Location: North Barrington, IL
Posts: 1,366
Dave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond repute
Re: Jaguar Brake/coast

Quote:
Originally Posted by Al Skierkiewicz View Post
I wonder if this applies to old Jaguars or just the new models. The schematic I have for last year's model does not show any pullup for selection. The jumper is connected to +3.3 volts in one position or power supply common in the other.
My assumption would be that the input pin on the Jaguar MCU has a configurable internal pull-up that is enabled.
Reply With Quote
  #14   Spotlight this post!  
Unread 15-03-2010, 16:19
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,101
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: Jaguar Brake/coast

Quote:
Originally Posted by Dave Flowerday View Post
My assumption would be that the input pin on the Jaguar MCU has a configurable internal pull-up that is enabled.
According to the LM3S2616 data sheet Page 247, GPIO pins have programmable pull-up or pull-down resistors.


~
Reply With Quote
  #15   Spotlight this post!  
Unread 15-03-2010, 23:45
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,795
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: Jaguar Brake/coast

Ether,
I was referring to Figure 2 on page 8.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
Reply With Quote
Reply


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
jaguar brake\coast controlling 2roy999 Electrical 6 01-02-2009 16:34
Victor Brake/Coast Default FRC4ME Electrical 7 31-03-2008 13:40
Victor 884 Brake/Coast Issues sciguy125 Control System 23 23-01-2005 14:46
Speed Controller brake/coast setting steven114 Electrical 21 03-03-2004 13:05
Brake/Coast Jumper archiver 2001 3 24-06-2002 01:04


All times are GMT -5. The time now is 16:59.

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