Change communication format

Questions about using encoders with the Roboclaw product line
Post Reply
ZR910
Posts: 3
Joined: Thu Sep 03, 2015 10:39 am
Change communication format

Post by ZR910 »

Is it possible to communicate with the Roboclaw via USB serial and change the S1 S2... communication mode? I would like to be able to run a startup script via serial, then switch to PWM mode. Basically, can I communicate with the Roboclaw over USB serial while it is reading S1 as PWM? Thanks.
User avatar
Basicmicro Support
Posts: 1594
Joined: Thu Feb 26, 2015 9:45 pm
Re: Change communication format

Post by Basicmicro Support »

USB communications(assuming you are using the latest firmware) is always available. The mode the Roboclaw is set to doesnt matter(anymore). The only catch is when using RC or Analog mode those inputs will control the motors. Any packet serial commands sent over USB to control the motors will have no effect when in those modes becuase the RC/Analog signals will imediately overwrite the setting.

So the simple answer to your question is yes.

Post Reply