Welcome to Synthiam!

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

Get Started
Asked — Edited

Need A Way To Monitor The Ezb4 Serial Ports

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.

AI Support Bot
Related Content
Based on your post activity, we found some content that may be interesting to you. Explore these other tutorials and community conversations.
Can you be more specific of what you are asking? I'm unsure what you mean, sorry:)
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:)
I created a Terminal EZB that will be in tomorrow's release of ARC. I have to test it first. It turns the EZ-B v4 into a Wi-Fi serial terminal

User-inserted image
Oh man, I thought I had trouble sleeping.... wow, another great addition to ARC... Just what the Doc ordered....;)
OMG, just what i needed..i think!
Thanks for the creation of the WiFI Terminal for EZB4 DJ, that is so cool.

Jeremie thanks for the UART peripheral tool clue using the script console.
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.

User-inserted image
Hey Robot Doc, Nice work. Could you share the code you typed into the terminal to get it to do that?
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). :)
One command that I use in a script to do a soft reset is this one:

Uartinit(0,0,115200) # board 0 Uart 0 baud 115,200
Uartwrite(0,0,0x7) # soft reset