Welcome to Synthiam!

Program robots using technologies created from industry experts. EZ-Builder is our free-to-use robot programming software that makes features like vision recognition, navigation and artificial intelligence easy.
Get Started

Asked — Edited

Uart Baud Rate Speed

I'm not really up to speed on Uart ports and how fast to expect them to pass info back and fourth. I'm sending and receiving to a Kangaroo X2 at 9600 baud and when I ask for postion feedback the response seems a little slow. Can I raise the baud rate and speed this up? Can I even do this?

United Kingdom
#7  
The Roo x2 is set to 9600 by default and as David said, it can't be changed in the board itself. But apparently, the baud rate can be changed using Dimention Engineering's DEScribe software for serial input. I'm not 100% sure about simplified serial though but I believe you can change it for both simple and packet serial using the software. Hope that helps Dave. I haven't tried it as I don't have a Sabertooth, but remember reading this when I was researching the tutorial.
#8  
I thought that baud rate was just for setting the configuration but I could be wrong. I went away from the roo in favor of an arduino mini just for the cost savings on my project. A lot more coding, but it allows me to lock the arduino to try to protect my code.
Synthiam
#9  
Dave, it's off topic - but you should plan a trip to visit ezrobot sooner than later so we can provide some advise on selecting hardware based on cost, availability and other factors such as power consumption, heat, and size. Big one of course is cost:)
#11  
Thanks for the great information everyone. I was mainly trying to understand a little better how the serial transfer of information through the Uart port worked and if by increasing the baud rate would speed it up. Sounds like that increasing it actually increases the capacity to transfer more information so a bottleneck won't form and slow things down. Am I correct?

After I think about it I do remember being able to adjust the baud rate for the kangaroo in the DEScribe software. So Steve is correct there.

It looks like I'm getting 9 bytes passing back from the Roo through the Uart. Does the buffer clear after it receives the uartread command? Sometimes if I get a failed move and and repeat the same combonation of comands to get and read information through the Uart the bytes are actually larger. Maybe 12 or more

DJ , thanks for the personal invitation to visit and offer of one on one schooling. I'm sure I'd leave a much better robot builder and part shopper. Visiting you guys at ground zero is on my bucket list and would be the third biggest thrill of my life. ;)
#12  
@ Alan - Yeah, I tired to operate the kangaroo with rc mode but it did not work. I thought I was doing something wrong. Thanks