mardi 29 mars 2016

Commande de moteurs

La carte SaberTooth 2 x 32 est un bon choix pour contrôler pablo car la commande des deux moteurs peut se faire à l'aide du port USB. 

Description
  • Contrôleur de moteur régénératif à double canal
  • Courant : 32 A en continu, 64 A en crête par canal
  • Fréquence de commutation ultrasonique de 30 kHz
  • Modes d'entrée USB, série, R/C et analogique
  • Dimensions : 6,99 x 7,34 x 2,54 cm
  • Poids : 125 g

Le Contrôleur de Moteur Sabertooth 2x32 A de Dimension Engineering est un contrôleur de moteur à double canal capable d'alimenter deux moteurs en 32 ampères, avec jusqu'à 64 ampères de courant de crête par moteur. Il peut être géré depuis une entrée radiocommandée, analogique, série TTL ou USB. Il utilise un contrôleur et le freinage régénératif pour un fonctionnement efficace. Sabertooth 2x32 dispose aussi d'entrées de signal et de sorties de puissance supplémentaires, ainsi que d'options de configuration améliorées.

 

Commande        Description
M1              Motor 1
M2              Motor 2
MD              Drive channel. 

                Both motors.
                Forward/Backwards in Mixed Mode
MT              Turn channel. 

                Both motors. 
                Right/Left in Mixed Mode
P1              Power output 1
P2              Power output 2
R1              Ramp rate motor 1
R2              Ramp rate motor 2
Q1              Auxiliary variable 1
Q2              Auxiliary variable 2


M1:get
M2:get
Returns the duty cycle of the M1 or M2 output, from -2047 for full reverse to 2047 for full forward. 

P1:get
P2:get
Returns the duty cycle of the P1 output. -2047 is no output, and 2047 is full power.

S1:get
S2:get
Returns the input value for the S1 or S2 inputs.

A1:get
A2:get
Returns the input value for the S1 or S2 inputs. By default these are analog in USB and serial modes. 

M1:getb
M2:getb
Returns the battery voltage in tenths of a volt. A battery reading of 12.5 volts will report as B125

M1:getc
M2:getc
Returns the motor current in tenths of an amp.

M1:gett
M2:gett
Returns the temperature of the output transistors for this channel, in degrees C. 

M1:shutdown
M2:shutdown
Shuts off the motor output. Using the shutdown command will put the motor in a hard brake state.

M1:startup
M2:startup
Returns the motor channel from a shutdown state to normal operation.  

 

Aucun commentaire:

Enregistrer un commentaire