Pololu Simple Manual do Utilizador Página 75

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 101
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 74
Sending ASCII commands to the Simple Motor Controller
from HyperTerminal (with echoing of typed characters
enabled).
6.3.1. ASCII Command Reference
Exit Safe-Start (Serial/USB input mode
only)
Command Format: “GO<CR>”
Description: This command clears the
Serial/USB safe-start violation and allows
the motor to run. When Safe-Start
protection is enabled, this command must be
issued when the controller is first powered
up, after any reset, and after any error stops
the motor.
Motor Forward (Serial/USB input mode
only)
Command Format: “F<speed><CR>”
Description: This command sets the motor
target speed in the forward direction. The
argument speed can be an integer from 0
(motor stopped) to 3200 (motor forward at
full speed) or an integer percentage from 0%
to 100%. You can represent the speed in hex
by putting an “H” at the end of the number.
If the argument speed is outside the allowed
range, a Serial Format Error occurs..
Examples: The following commands all
make the motor drive forward at half speed:
“F1600<CR>”
“F50%<CR>”
“F640H<CR>”
Motor Reverse (Serial/USB input mode
only)
Command Format: “R<speed><CR>”
Description: This command sets the motor
target speed in the reverse direction. It
behaves the same as the Motor Forward
command above, except the motor turns in the opposite direction.
Motor Brake (Serial/USB input mode only)
Command Format: “B<brake_amount><CR>”
Description: This command causes the motor to immediately brake by the specified amount (configured
deceleration limits are ignored). The argument brake_amount can be an integer from 0 (maximum coasting) to
32 (full braking) or an integer percentage from 0% to 100%. You can represent the brake amount in hex by
Pololu Simple Motor Controller User's Guide © 2001–2014 Pololu Corporation
6. Using the Serial Interface Page 75 of 101
Vista de página 74
1 2 ... 70 71 72 73 74 75 76 77 78 79 80 ... 100 101

Comentários a estes Manuais

Sem comentários