View Single Post
  #12   Spotlight this post!  
Unread 15-01-2013, 14:52
electroken's Avatar
electroken electroken is offline
Electron Tamer
AKA: Ken Pontbriant
FRC #0230 (Gaelhawks)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Shelton, CT
Posts: 170
electroken is a jewel in the roughelectroken is a jewel in the roughelectroken is a jewel in the rough
Re: Using an Non First Microcontroller with Victor 884 Motor Controller

Our test box is using a Microchip PIC12F675 to generate a PWM signal for the motor controller. The box drives Victor 883s, Victor 884s, and Talons well. Our black Jaguars pretend it doesn't exist. The timing we use is 1mS on equals full reverse, 1.5mS on equals neutral, 2mS on equals full forward, with a rep rate of 244 Hz. We have a 270 ohm resistor in series with the PIC output pin to allow it to survive inadvertent shorts to ground.

The Talon manual states an input frequency of 333 Hz, but it seems quite satisfied with 244 Hz, and allowed me to be lazy with the code in the PIC.