Serial motor controller

Hi everyone,

I just bought couple of the pololu serial dc motor controllers and I just can not get them to work. My goal is to connect it to a max232. Howerver, I needed to test to make sure things work first before I try moving to the serial port. I decided to use basic stamps 2 homework board to test the controller. My hookups as follow:

vcc+ and GND is connected to 12v 4.5 battery. GND is also connected to VSS pin of the basic stamp

1 is connected to p14 of the basic stamp board
2 is connected to p15 of the basic stamp board

M1- and M1+ is connected to a 12v low power 220rpm motor
M2- and M2+ is connected to another similar motor

So I first tried the following:

’ {$STAMP BS2}
’ {$PBASIC 2.5}
’ {$PORT COM1}

SEROUT 15,84,[$80,2,2]

light on the basic board flashes indicating connection is good.

Unplugged the power to the controller after then plugged it back in

Second set of basic stamp:

’ {$STAMP BS2}
’ {$PBASIC 2.5}
’ {$PORT COM1}
SEROUT 15,84,[$80,0,5,127]

There was nothing.

I measure the voltage across VCC+ and GND and it’s 13V

I plugged one of the motor directly to VCC and GND and it runs just fine

I also tested the basic stamp by connecting a servo to it and able to control the servo just fine.

Can somebody give me some hints of what I’m doing wrong here?


sorry. Ignore my post. I forgot to set the reset line to 5V :slight_smile: