Communication with Pololu serial driver - Q1k 2sv1
msiriwardena
Posts: 301
I am trying thid serial dirver from Pololu.
As per instructions for serial com - just need to send Example- send the following sequence: in Hex:Ox8D,Ox7F
Decimal:141, 127
I am using FullSerialDuplex object- My settings are as follows : 1.Rx PIN = 7
2.Tx Pin= 8
and they are connected to the Pololu Driver in the Reverse order Rx to Pin= 8 and Tx = 7
After the connections are made Pololu is set for automatic Baud selection.FullDulexSerial is set 1200 well within auto-selection of Pololu range 1200- 38400.
I sent the command 1.Decimal 170 which is OxAA Hex
Serial.dec(170)
Serial.dec(140)
Serial.dec(127)
TheMotor 1&2 are connected.The Decmal commands 14 and 127 suppose to turn Motor1 at Full speed.Nothing happens.
I have tried their built in DEMO program and it works.
I tied the trouble shooting the serial connection as per instructions and Fails the test.
What I am I doing wrong may be my code.The same code will display in the Serial LCD(140127)
I need some help.
Siri
Note:Pololu user File attached.
As per instructions for serial com - just need to send Example- send the following sequence: in Hex:Ox8D,Ox7F
Decimal:141, 127
I am using FullSerialDuplex object- My settings are as follows : 1.Rx PIN = 7
2.Tx Pin= 8
and they are connected to the Pololu Driver in the Reverse order Rx to Pin= 8 and Tx = 7
After the connections are made Pololu is set for automatic Baud selection.FullDulexSerial is set 1200 well within auto-selection of Pololu range 1200- 38400.
I sent the command 1.Decimal 170 which is OxAA Hex
Serial.dec(170)
Serial.dec(140)
Serial.dec(127)
TheMotor 1&2 are connected.The Decmal commands 14 and 127 suppose to turn Motor1 at Full speed.Nothing happens.
I have tried their built in DEMO program and it works.
I tied the trouble shooting the serial connection as per instructions and Fails the test.
What I am I doing wrong may be my code.The same code will display in the Serial LCD(140127)
I need some help.
Siri
Note:Pololu user File attached.
pdf
556K
Comments
There was syntx error in the code.
Siri