Serial coms
Siri
Posts: 220
I am trying to use the serial objects - Simple serial,FullDuplexSerial,ExtendedFullDuplexSerialand FullDuplexSerialPlus - to send non-inverted,8-N-1 signals to a
Pololu Dual serial Motor Driver.
The driver does work as it is suppose to as all tests suggested by Pololu memebers results confirm.
What was suggested is to confirm that the PROP does send the correct commands and in the correct format.
I have confirmed that the commands are correct by using PST to debug.The commands are correctly displayed on the PST screen.The cmmands are also received by the
Pololu motor Driver.
The motor does NOT respond to commands.
So what left to be confirmed is the serial format - non-inverted,8-N-1 serial communicatio.The baud rate is fixed at 38400.- and the serial objects are
initialized with the correct baud rate.
Attached are1.Pololu driver info.
2.The prop Trial code
Post Edited (Siri) : 7/14/2010 1:49:46 PM GMT
Pololu Dual serial Motor Driver.
The driver does work as it is suppose to as all tests suggested by Pololu memebers results confirm.
What was suggested is to confirm that the PROP does send the correct commands and in the correct format.
I have confirmed that the commands are correct by using PST to debug.The commands are correctly displayed on the PST screen.The cmmands are also received by the
Pololu motor Driver.
The motor does NOT respond to commands.
So what left to be confirmed is the serial format - non-inverted,8-N-1 serial communicatio.The baud rate is fixed at 38400.- and the serial objects are
initialized with the correct baud rate.
Attached are1.Pololu driver info.
2.The prop Trial code
Post Edited (Siri) : 7/14/2010 1:49:46 PM GMT
Comments
If you want, you could use Serial.Tx for all the bytes sending them one at a time.
Post Edited (Mike Green) : 7/14/2010 2:31:25 PM GMT
I knew you would help me as you have bailed me out many times.
I will try what you suggested and post back.
Siri
Your solution worked like a charm
Thanks,
Siri