Go to Post I need to start using "ThunderChickens!" as an exclamation - Jessica Boucher [more]
Home
Go Back   Chief Delphi > Technical > Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 17-02-2007, 02:05
Japper's Avatar
Japper Japper is offline
Registered User
FRC #3692 (RocknRobots)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Rutland Wisconsin
Posts: 147
Japper has a spectacular aura aboutJapper has a spectacular aura about
Problems with one of my victors...

I am having problems with one of my victors...

I calibrated it to the X axis of my port 3 joystick and in my code, if the Joystick is pushed to the left ( p3_x < 20) then I set the PWM03 to 115 and if the joystick is pushed to the right (p3_x > 240) then I set the PWM03 to 140. Then I set the PWM11 to = the joystick value (PWM11 = P3_x) so that I could watch this in the dashboard viewer...

The joystick value ( as seen on PWM11 in the dashboard viewer) when pushed all the way left reads 0 and all the way to the right reads 255 as it should.

The problem is that the motor only rotates when the joystick is pushed to the right (when p3_x = 255)

I removed the M+ & M- from the victor and used the battery to verify that the motor will spin both directions so I know the wiring is correct. Also I double checked to make sure that the control lines were set correctly (black wire to black wire)

Is there something wrong with my victor? I calibrated it and it appears that the values are correct for the joystick and that my code is working.... Why won't it move in the reverse direction when the PWN is set to zero????

What else can I check or how can I verify if it is a victor problem?

Thaks in advance
 


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
Problems with Gearbox Jake M Motors 7 29-01-2007 13:20
Victors controlled with joystick Buttons JamesBrown Programming 2 18-02-2005 23:39
Controlling Solenoids With Victors Brandon_Cmpvir Electrical 20 16-03-2004 10:21
Problems With Compiling KWalsh Programming 5 23-02-2004 16:11


All times are GMT -5. The time now is 20:26.

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