Connecting Arduino to EZ-Builder

Description

Program an Arduino and connect it to EZ-Builder to become an EZ-B.

Controls

This tutorial uses the following controls:

Connection

Compatible Arduinos

This tutorial currently covers what Arduino's are compatible with EZ-Builder, where to download the firmware, how to flash the Arduino and connect to EZ-Builder.

Once you follow this tutorial and program an Arduino, you will be able to connect an Arduino to EZ-Buider and control the Arduino just like the EZ-B v4 or IoTiny. Essentially, you will be converting an Arduino into an EZ-B. The best part about this is having access to the source code means you can add new functionalities to the Arduino and extend capabilities of EZ-Builder. The one item to note is each Arduino will have different capabilities or lacking capabilities (i.e. video, audio, etc.).

EZ-Builder Version
- This feature works with EZ-Builder 2019.01.31.00 Beta or newer

Arduino Capabilities
Additionally, each Arduino model will have a different MCU (microcontroller) with different capabilities for servos, PWM and Analog. Consult the datasheet/manual of the Arduino you're using to ensure you understand what ports are available for different commands. For example, some Arduino models only allow PWM/Servos on specific digital ports. Meanwhile, other Arduino's share I2C with Analog ports. You will have to determine what ports are available because we have no idea due to the number of Arduino versions out there. For example, servo ports on Arduino UNO must be PWM ports 3, 5, 6, 9, 10, and 11. These limitations are that of the Arduino libraries and hardware.

There's a significant number of Arduino's variations out there each with slight modifications. This means the base firmware provided in this tutorial can be modified for various Arduino configurations. Also, you are free to add new features to the Arduino firmware and register them as Capabilities to be used in EZ-Builder. But, that's a future edit of this tutorial:).

User-inserted image
*Arduino Mega shown in picture above


Compatible Official Arduinos
- Arduino Mega (download firmware sourcecode)
- Arduino Duemilanove (download firmware sourcecode)
- Arduino Geniuno Uno (download firmware sourcecode)

Arduino Compatible
- Robotis OpenCM9.04 (product details & firmware)
- Robotis OpenCR 1.0 (product details & firmware)

Download the firmware source code for your Arduino version or compatible from the above list and continue to the next step of this tutorial. *Note: compatible or clone Arduino's will require a toolset and library installation to compile the firmware. Check the Arduino compatible product manual for instructions on adding libraries and tools to the Arduino IDE for clone hardware.

DJ Sures
Synthiam
February 5
I can certainly take a look at it. The only challenge will be their tcp network driver won’t keep up with the protocol requirements. We had to design our own for the use-case. Also, it’ll end up with the same number of ports as the IoTiny but no audio or video. So what’s the advantage?
February 17 — Updated February 17
User-inserted image
I think you should have a look at the HuaDuino - Featuring Lithium Battery Power-up and Charging. this board has 12 servo connections. HuaDuino is Arduino Nano compatible
DJ Sures
Synthiam
February 17
That board appears to be uno compatible for pinouts. It’ll work with my uno firmware. Get it from here: https://synthiam.com/Hardware/Hardware/Arduino-Genuino-Uno-17527
February 17
Thanks DJ for your quick reply. any recommendations for a bluetooth module that would go with this board and work well with EZ-Builder.
DJ Sures
Synthiam
February 17
Any for that board will work. They just create a virtual COM port in Windows, which you select in EZ-Builder.