View Single Post
  #2   Spotlight this post!  
Unread 31-01-2002, 15:53
Joe Johnson's Avatar Unsung FIRST Hero
Joe Johnson Joe Johnson is online now
Engineer at Medrobotics
AKA: Dr. Joe
FRC #0088 (TJ2)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1996
Location: Raynham, MA
Posts: 2,644
Joe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond repute
INPUTS work different than OUTPUTS...

The analog inputs have a 0-5V range (0-255).

The PWM outputs range from 0-254 (not 255! see other messages).

The Victors map 0 to -Vbatt, 127 to 0 V, and 254 to +Vbatt.

They have an H-bridge that puts the proper voltage to the motor leads.

Actually, they don't really have the ability to put 6V to the motor, they just put 12V to the motor for 50% of the time.

It is a very clever thing really, but for our purposes, you can imagine that you have a variable output voltage.

Hope this helps.

Joe J.