background image

7

Pololu

U3

SMC01A

C

1

M2

M2

11 22

M1

M1

MOTOR

BATTERY

G

N

D

O

U

T1

O

U

T2

ROBOT
CONTROLLER

OUT1: RESET
OUT2: CONTROL

Connecting the Motors.

  Connect one or two motors to the pins labeled M1 and M2.   

You probably don’t need to worry too much about the polarity, but the ‘+’ pins go 
positive when the controller receives a “forward” command.  If you find out that your 
motors turn in different directions than you expect, you can flip the wiring or just 
switch the forward and reverse commands on your robot controller program. 

to 5V 
(off C2+)

to serial
control
input (’2’)

to ground (’-’)

3

2

1

9

6
2
7

8
4

5

DB9 serial
port connector

R2

10k

R1

4.7k

Q1

2N2222

Bold 
circles
indicate pads
that are connected
to 5V, which you can use 
with the circuit shown on the left

SMC01A

C

2

C

1

U3

The above diagram shows a simple circuit for connecting the motor controller to a PC 
serial port.  You will need to connect one side of resistor R1 to a 5V supply, which is 
available on the PCB at the points indicated on the figure to the right.  You can solder a 
wire onto one of the pads, but make sure that the wire touches only the intended pad.

 A typical setup is shown in the diagram below.  Keep in mind that the wiring 
you use for the motor outputs and power connections should be capable of 
conducting several amps.   We recommend using at least 26 gauge wire 
(remember, smaller numbers mean bigger wires!).

© 2001
http://www.pololu.com/

Содержание SMC01A

Страница 1: ...tents Safety Warning Parts List Contacting Pololu How to Solder Assembly Instructions Connecting the Motor Controller Using the Motor Controller How the Motor Controller Works Description and Specific...

Страница 2: ...se or to the performance of this product This product is not designed for and should not be used in applications where the malfunction of the product could cause injury or damage Parts List The follow...

Страница 3: ...er soldering trim excessleadswithdiagonalcutters To solder heat a component lead and the PCB pad and then apply solder until the solder flows onto both the lead and the pad If the solder beads up on t...

Страница 4: ...ptions concern the size of the assembled motor controller You can insert the various components into the PCB without soldering to helpdeterminewhichoptionsarebestforyou Should I use IC sockets for U1...

Страница 5: ...5 Pololu SMC01A C2 C1 U3 U2 U1 M2 1 2 M1 Next add the tantalum capacitor C2 You may need to bend the leads to make them straight so that they will fit The capacitor is polarized which means it must on...

Страница 6: ...o use it to ensure that spurious signals sent when your robot controller turns on do not cause the motor controller to detect the baud rate incorrectly onnect this pin to a 0 5V digital output on your...

Страница 7: ...port connector R2 10k R1 4 7k Q1 2N2222 Bold circles indicate pads that are connected to 5V which you can use with the circuit shown on the left SMC01A C2 C1 U3 The above diagram shows a simple circui...

Страница 8: ...s byte should always be 0x80 128 in decimal to signify the beginning of a command The start byte is the only byte with the highest bit bit 7 set and it alerts all devices on the serial line that a new...

Страница 9: ...or controller to use it successfully However you may need to reset the motor controller to ensure that spurious signals sent when your robot controller turns on do notcausethemotorcontrollertodetectth...

Страница 10: ...of 19200 The four numbers in square brackets are the data to be sent and they correspond to the four control bytes for the motor controller The first two bytes should always be 80 and 0 The second 0 m...

Страница 11: ...on and off very rapidly 600 times per second and varies the percentage of the time that the switches are on to achieve the speed set by the serial interface For a higher speed the switches are on a l...

Страница 12: ...bot controller you can independently set each of two small DC motors the kind typically found in remote control cars and motorized toys to go forward or backward at any of 127 different speeds To cont...

Отзывы: