I’m trying to use a Pololu Simple Motor Controller to drive a DC gear motor. I’m still small scale testing to add this to a much bigger project which is too complicated to mention, same project as this: http://arduino.cc/forum/index.php/topic,77129.0.html I have a battery pack connected to the VIN on the SMC and a 6-12v gear motor with a capacitor across the leads. Ive got three wires headed toward the Decemilia, Gnd, Vin, and Rx. Vin and Gnd are running the Arduino, RX wire connected to pin 1 the TX. I have the simplest skecth i can think of to just run the motor forward at full speed for 1000 and stop for 1000.
// start serial port at 9600 bps
Serial.print(“GO”); //clears error start protection
Serial.write(“F3200”); // send a string to Start the motor forward at full speed
Serial.write(“X”); // send a string to Stop the motor
I have an FTDI board and am seeing the ASCII commands coming across the Serial Wire. Also i have connected to the SMC through a hyperterminal and can control the SMC using the same commands