The easiest way to program the most powerful robots.
Use technologies by leading industry experts.
ARC is a free-to-use robot programming software that makes servo automation, computer vision, autonomous navigation, and artificial intelligence easy.
Now that the EZB4 has arrived is there a way we can monitor the three serial ports using the EZ Builder terminal GUI ? Not all at once of course, just one at a time would be helpful.
Upgrade to ARC Pro
Your robot can be more than a simple automated machine with the power of ARC Pro!
No problem DJ, lets say that I have hooked up one of the serial ports to the Roomba and the Roomba is sitting on a home base. Normally when charging, the Roomba outputs a ASCII battery charging report every second. This report continues until the Roomba is removed from the home base. There is a software reset command "7" that clears all dynamic registers and re-starts the charging process. At the same time the software version is reported.
That charging info would be helpful in determining battery status prior to setting up for sending commands similar to what is done using the D0 port now.
Hi @Robot-Doc, you can always use the "UART Peripheral" example (under Examples->EZ-Script Function Syntax) in ARC to collect data and print it out to the script console as data is received. It's a pretty handy example, I've used it a few times myself
DJ, you have made my day, thanks for this tool. This lets me monitor live battery reports as they are happening on the Roomba. This will also work on the Create.
This particular output does not require any input commands. It is an automatic output that begins just as soon as you connect the Roomba to a home base or directly connected to a power supply.
Oh, OK, thanks. I'm just trying to learn how to use serial commands and terminals to communicate and control my Kangaroo X2 with the V4 (or anything else for that matter).
That charging info would be helpful in determining battery status prior to setting up for sending commands similar to what is done using the D0 port now.
Jeremie thanks for the UART peripheral tool clue using the script console.
Uartinit(0,0,115200) # board 0 Uart 0 baud 115,200
Uartwrite(0,0,0x7) # soft reset