Go to Post But FIRST isn't FRC anymore. We need to make way for FTC and FLL. - Tetraman [more]
Home
Go Back   Chief Delphi > Technical > Programming
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 31-01-2006, 23:27
drakesword drakesword is offline
Registered User
AKA: Bryant
FRC #0346 (Robohawks)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: USA
Posts: 200
drakesword is on a distinguished road
Programming Victor 884 control

i have been batting this around for a few days but we cant seem to get our program to make the victors to move the motor.

we have everything plugged up and the cables in the right way.

we use:
Code:
pwm03 = (unsigned char)127;
and the motor doesnt move which is good.
light on the victor stays solid orange which is also good.

we use:
Code:
pwm03 = (unsigned char)140;
and the motor turns one way at a fair speed;
light turns off . . . good

we use:
Code:
pwm03 = (unsigned char)110;
and the motor starts to "tick"
the light flashes rapidly(faster then when it doesn't have a signal and in sync with the "ticks")
one of our mentors thinks that for one reason or another the signal is pulsing too slowly and is causing the jitter.

i have also determined that sometimes when we change the value too largely it will also "tick"(ex from 127 to 200)

as far as i understand(i could be wrong) the victor takes the PWM and a signal between 1 and 254

i have also tried using unsigned int instead and have gotten the same exact result

i have no clue whats going on(mostly because I'm a rookie) so if anyone could provide info it would be very very helpful
 


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
Programming - Getting Started Mark McLeod Programming 80 16-04-2008 23:37
Concept of PID explained ConKbot of Doom Technical Discussion 11 27-01-2008 00:11
2005 RadioShack Innovation In Control Award--What Won? Billfred Control System 8 12-06-2005 01:51
control system programming archiver 2000 17 23-06-2002 22:14
Where can i Find info on the control programming Matchew General Forum 1 14-01-2002 19:09


All times are GMT -5. The time now is 09:48.

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