
Purple
USA
Asked
— Edited

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
I used UART 0 port on the EZB with the xbee units and the tx /rx pins on the arduino.
Thanks Darathian, I will try this. It may be easier than I am thinking it is, I haven't tried it yet. I am a non-programmer and code is very intimidating for me, I'm always afraid I will have a space or a number in the wrong place and will have to spend endless hours trying to figure out where I went wrong. Thanks.
I only did this as a proof of concept.
I used the EZB UART commands to send some serial data and then wrote some Arduino code to read it back.
I used the arduino serial library.
Potentially spending hours troubleshooting is part of any learning process. I have found that I learn the most when I have to work through a problem step by step even if it takes a while.
With the EZB and ARC DJ is taking care of most of the pain and suffering
@Purple ... If you are a non programmer, then change that... Learn how to program. You will appreciate the ezb4 way more if you do.... I was a non "programmer" once and so was everyone else at some point in their life.... Start slow, put some effort into it and soon you'll be able do things you thought you couldn't do...
@purple, I too am a non programmer. However if you have an idea of what you want to achieve and have a go and fail, then that's what we are all here for. There are some amazing brains full of helpfulness in the community that will help you and your ideas grow :-)
I feel real smart now, I looked at my V4 and saw there is a UART port on the top.
In fact there is 3 uart ports in total.... All of this info in on here, the EZ Robot website... In ARC there are examples on how to use most if not all of the controls including using the Uart ports and script examples etc... I used the ARC example (using the uart port) to figure out how communicate with my iRobot Create....
To elaborate on programming and what @Richard said,
I'd start by learning a little HTML then start to sprinkle in some JAVA Script. Also PHP is a good fusion of HTML and basic programming. Once you get familiar with that you'll be able to start learning other languages.
We're lucky that so much is Object Oriented. The languages are all pretty "english." By that I mean that the code is pretty easy to follow. There's not too much out there that when you look at the Classes and Methods, it isn't pretty obvious what they do. For example, most languages have an "SQLConnect" or simmilar function/method and that of course is used to? Anyone? Anyone? Connect to an SQL database. Once you have some OOP experience you'll find most languages are pretty similar.
Also, Firefox and Chrome (Not sure about IE since I haven't used it in years) have the option to view the source code of web pages. When doing so it will open a frame in your browser and it will highlight the stuff on the page as you go through the code. It's a good way to follow the code and see what it does.
To back @Richard up, learning to code will only do you good and I second the recommendation.
Just my $.02. Hope it helps.