View Single Post
  #10   Spotlight this post!  
Unread 22-03-2012, 17:44
slijin's Avatar
slijin slijin is offline
Pockets
AKA: Samuel Lijin
FRC #0694 (StuyPulse)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York City
Posts: 537
slijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to behold
Re: Controlling Jaguar with c code

Quote:
Originally Posted by Modder man View Post
well, perhaps not, I found a range where we get motion but we cannot seem to find where the middle/neutral is. a value from 12-48 is giving us full foraward or reverse so i figured somewhere in the middle should be neutral but i am not finding it.
If you'd rather not go through the trouble of producing the exact signals that the Jaguar takes by default, you can recalibrate the Jaguar to take the signal range that your output is delivering.

To do so:

Quote:
To calibrate the servo-style PWM input for a specific range, connect a PWM source, then:
1. Hold down the USER switch with a straightened paperclip for 5 seconds.
2. The LED flashes Red and Green to indicate Calibration mode.
3. Instruct the controller to send a full-forward signal for one or more seconds.
4. Instruct the controller to send a full-reverse signal for one or more seconds.
5. The LED flashes Green and Yellow quickly to indicate a successful calibration.
The MDL-BDC24 samples these signals and centers the speed range and neutral position
between these limits. A calibration failure signals if an out-of-range signal is detected. This
condition is indicated by flashing the LED Red and Yellow.
If you want to reset the calibration to factory settings, just power up the Jaguar while holding down the USER button until a slow-flashing red and green pattern appears.
__________________

2010-12 CT Chairman's
2011 Galileo 5th seed
2010 NY Regional Winners