Asked — Edited
Resolved Resolved by bstaehling!

Communicate Between An Ez-B And An Arduino Board

Does anyone have experience and know which way is the easiest to communicate between an EZ-b and an Arduino board? I see there is I2C, UART, serial etc. I hope someone know the easiest so I gain from your knowledge. Thanks:)


ARC Pro

Upgrade to ARC Pro

Become a Synthiam ARC Pro subscriber to unleash the power of easy and powerful robot programming

PRO
Canada
#2  

I would put my vote in for serial as well especially since the EZ-Bv4 can do serial transmission on every port (and has 3 RX ports) and Arduino's have a soft serial library as well which can do TX and RX on many different ports.

I just think there's more options with serial protocol and it is more widely supported.

PRO
Synthiam
#3  

I would also recommend serial as well. What are you wanting to accomplish and maybe we can help?

#4  

I'm actually working on communication between EZB4 and an arduino as we speak. Basically there's an array of sensors input into the arduino and the data gets transmitted from the arduino to the EZB using UART. I just asked a question yesterday about the UART / receiving serial data. See a post called "ReceiveSerial?" Dave and Rich were quick to respond. So far I've been able to debug quite a few issues and can now read the data on the EZB by printing it in a terminal window. So I'd be happy to share anything that may help.

#5  

This has always interested me. I've no imediate use for it so, I've never inquired. Thanks for bringing it up.;)

#6  

@JustinRatliff Thanks for the info, I looked at the video and it is very good, that guy makes good videos, he is very good at describing what he's doing. @ DJ I am in the planning stages but basically I want to have a Arduino read about 10 sensors 8bit and very fast, about 100 times per second, then condense it. Then be read by the smarter EZ-B, make decisions, then send commands down to the arduino, probably 4 8bit words, at about 5 times a second. @bstaehling I read the ReceiveSerial post and like it, I will be tuned into your progress.

So I am gathering that I should use the serial (UART) system for this? Thanks

#7  

Since i wanted the ezb to send over a distance to the arduino I used two xbee units and serial communication. Worked fine.

#8  

I will try UART. Although it is confusing that the recommendations seems to follow the path of, use serial. But isn't uart , spi, usb etc, all serial. Still confused about this but I will try uart as a start for my V4 board to the arduino Due. Thank you all for the help.