Professional Documents
Culture Documents
Before you can move the motor, you will probably need to click the green Resume button in the lower left corner to clear
the safe-start violation. If the Resume button is grayed out, there are errors that are preventing the motor from moving. See
Section 3.4 for information on how to identify and fix errors.
Safe Start is an optional feature, enabled by default, that makes it less likely that the motor will start moving
unexpectedly.
The Simple Motor Controller uses its RX and TX pins to receive and transmit asynchronous, logic-level (TTL), non-
inverted serial signals with 8-bit characters and one stop bit (often expressed as 8-N-1). This is the type of serial typically
used by microcontroller UART modules.
Whenever connecting devices, remember to wire the grounds together, and ensure that each device is
properly powered. Unpowered devices with a TTL serial port can turn on or partially on, drawing power
from the serial line, which means that extra care must be taken when turning power off and on to reset the
devices.
Note: You must use an inverter and level shifter such as a MAX232 or a Pololu 23201a Serial Adapter
if you want to interface an RS-232 device with the Simple Motor
[http://www.pololu.com/catalog/product/126]
Controller. Connecting an RS-232 device directly to the Simple Motor Controller can permanently damage it.
By default, the ERR pin is also configured to serve as an input that stops the motor when externally driven above 2.3 V.
This means that the error lines of multiple Simple Motor Controllers can be connected together and all motor controllers
will shut down their motors when any one motor controller experiences an error. This technique of connecting error lines
can be used even when RC signals or analog voltages are used to control the motors. An example of this can be seen in
Section 4.3.
The following diagrams show the internal circuitry of the ERR pin in the error case (driving high to report an error) and in
the error-free case (pulled low and configured as an input):
Schematic diagram of the Simple Motor Schematic diagram of the Simple Motor
Controller ERR pin when the pin is an Controller ERR pin when the pin is an
output (i.e. there are errors). input (i.e. there are no errors).
Wiring diagram for controlling multiple Simple Motor Controllers with single TTL serial source,
such as a microcontroller.
Inside each Simple Motor Controller, an AND gate is used to combine the input from the TXIN pin with the controller’s
serial transmissions. As long as only one chained controller is transmitting at any given time, the above method of chaining
will funnel the transmissions of all chained devices to a single microcontroller receive line. The following diagram shows
the internal circuitry of the TX and TXIN pins:
See Section 6.6 for more information on connecting multiple controllers on the same serial line.