
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
http://www.ez-robot.com/Community/Forum/Thread?threadId=6081
If you have v3 use that method. If you have a v4 serial might be easier to implement.
I just think there's more options with serial protocol and it is more widely supported.
@ 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
Thank you all for the help.
Thanks.
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
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.