Roboclaw solo: serial communications straight out of the box

General discussion of using Roboclaw motor controllers
Post Reply
stu
Posts: 4
Joined: Wed May 08, 2019 8:24 am

Roboclaw solo: serial communications straight out of the box

Post by stu » Wed May 08, 2019 11:25 am

What is the default baud rate? Mine showed up with 38400, but all the python examples have 115200.

If there isn't a default, is there a way to set or detect it over serial? I imagine the PC would have to try all the different baudrates until it receives some sort of success report, but I'm hoping there is a more elegant way.

I'd like to be able to receive a roboclaw solo, plug it in, and immediately run it using a python script. Plugging it in and loading settings using the GUI is not an option.

Thanks!

User avatar
Basicmicro Support
Posts: 1232
Joined: Thu Feb 26, 2015 9:45 pm

Re: Roboclaw solo: serial communications straight out of the box

Post by Basicmicro Support » Thu May 09, 2019 9:58 am

The unit default is 38400. We suggest switching to 115200 on any reasonably performant microprocessor(like and Arduino, eg the Arduino maximum baudrate). We default to 384090 so slower processors can be used out of the box.

Post Reply