View Single Post
  #7   Spotlight this post!  
Unread 02-03-2010, 15:15
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,770
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: Creating PWM signal for victor

Quote:
Originally Posted by neg0riz0r View Post
So I've built a simple timer circuit which gives me a
PWM input rate T = 22 ms
and a PWM puls rate of 1.1 - 2.3 ms (controllable with a potentiometer).
I monitored that signal with a storage oscilloscope to double check this data. The values are correct.
According to that information, it should work fine:
http://www.vexrobotics.com/products/...ontroller.html

neg0riz0r
It may be that you are controlling the wrong parameter. The pulse repetition rate is 16ms or about 60Hz always. You need to vary the pulse width to control the Victor. Please take a close look at Mark's reference on page 2. The width of the pulse changes from 1ms wide to 2ms wide. At 1ms wide the Victor is in full reverse, at 1.5ms the Victor is at neutral and at 2ms the Victor is at full forward. At 1.5ms the signal will remain low for another 14.5ms. You are able to control the Victor in reverse because your rep rate is close enough for the Victor to decode useful data but not as you advance the pulse to 2ms.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.