Thumbnail

EZ-B Connection

+ How To Add This Control To Your Project (Click to Expand)
  1. Load the most recent release of ARC.
  2. Press the Project tab from the top menu bar in ARC.
  3. Press Add Control from the button ribbon bar in ARC.
  4. Choose the General category tab.
  5. Press the EZ-B Connection icon to add the control to your project.
Use the connection skill to establish a connection from a EZ-B I/O controller to ARC. Connections to an EZ-B are specified as COM ports or IP addresses. There are 5 connections in this skill but if you'd like to have (up to 255) more see the connections skill. ARC supports connecting to many I/O controllers and robot products. Find a detailed list on the ARC product page.

Main Window



1. Connection Number
This column displays the number for each connection. Note that most skills are configurated to work with connection 0 by default.

2. Connect Button
Once the COM port or IP address is entered for the desired EZ-B device, press these buttons to connect it (them) to ARC.

3. Device Address or Port Drop-down
These drop-downs are for selecting the address or COM pot of the desired EZ-B device that you would like to connect to.

4. I/O Scan Button
These tower icon buttons are used by some EZ-B I/O controllers that have the ability to scan for their IP address if connected over WiFi. This is useful when using a client connection.

5. Webserver Button
These chrome icon buttons are used by some EZ-B I/O controllers that have a built-in webserver. They are a shortcut that will launch a new webpage with that device address or port in the address bar.

Settings - Scripts



1. Connection Established Scripts
These scripts are executed when a connection is established on the corresponding numbered connections.

Settings - Settings



1. Enable TCP Shell Server Checkbox
These checkboxes are used to enable an EZ-Script TCP Shell Server instance in ARC. This will enable a TCP Server which provides clients with a real-time EZ-Script interface. When checked, the server accepts remote TCP Telnet connections into the EZ-Shell. You can add the TCP Clients Skill in ARC to monitor who has connected to the ARC terminal interface. Many developers and third party software use this TCP Server feature to integrate with ARC, such as RoboRealm, EZ-Face and EZ-AI. If you're a third party developer, connecting to the ARC TCP Server is a powerful method to set variables, start/stop scripts and even obtain the video frames by combining it with the HTTP Server.

2. TCP Port Adjustment
Use this adjusment to select a unique TCP port between 1025 and 65535.

3. UART SendSerial() Baud Rates
This column displays the available UART Baud Rate speeds for the software-defined serial SendSerial() command in ARC.

4. UART Timing Delay
These fields are used to adjust the baud rate timing delay values. Note that these values should only be changed by advanced users.

5. EZ-B v5 Connection Server Checkbox
This checkbox is for enabling is an expiramental server connection from the EZ-B index to the fabelled EZ-B v5 prototype.

6. COM Port Connection Baud Rate Drop-downs
These drop-downs are used to select the communication speed of the selected COM port on each of the 5 EZ-B connections. Note that when connected to an EZ-B via a COM port will disable the ability to connect to an EZ-B camera, a USB camera will need to be used instead.

7. DTR & RTS Checkboxes
These checkboxes are for enabling serial flow control. EZ-B devices may need one or both of these checkboxes enabled. Note that the Arduino Leonardo has a CDC driver bug that requires DTR to be enabled.

8. Battery Monitor Override Checkbox
ARC includes a battery monitor that is enabled by default. This is to protect batteries from draining rapidly below a specified voltage. Supporting I/O controllers will receive a command from ARC that disables their I/O output to reduce power consumption when the specific min voltage level is reached. If you have a power solution that requires a different voltage level or doesn't need monitoring, enable the override checkbox.

9. Battery Monitor Enable Checkbox
These checkboxes are used to enable/disable the battery monitor for each of the 5 EZ-B connections. Enabled by default, the monitor uses the min voltage level specified on it's right. When disabled the there is no battery level monitoring, USE AT YOUR OWN RISK. Rechargeable lithium batteries will be damaged if consumed below their minimum voltage threshold.

10. Minimum Voltage Field
These fields can be customized to include the voltage specified, based on the power solution that is being used. (7V is used for 7.4V LiPo Batteries).

11. I2C Speed Field
These fields are used to set the I2C communnication speed for each EZ-B. The default speed is 100000 (100kbps) and the mamximum speed is 400000 (400kbps).

How to Use Connection Skill


The connection skill is automatically added to every new ARC project but in the case that you have removed it, here's how to add it back and use it:

1) Add the Connection Skill to your ARC project (Project -> Add Skill -> General -> Connection).

2) Select your device address or port in the drop-down.

3) If required, go into the Settings menu to adjust the needed settings.

4) Click the Connect button.

Videos






Requirements


One or more EZ-B I/O controllers.

Related Content

tutorial
The Robot Program Episode 009: Getting Six To Move

The Robot Program Episode 009: Getting Six To Move

This lesson will demonstrate how to connect to and move the Revolution Six robot. Follow along with The Robot Program...
tutorial
Control More Than One Robot

Control More Than One Robot

How to control more than one robot in a single EZ-Builder project. This tutorial uses Revolution robots that depend on...
tutorial
How To Choose Correct Battery(S).

How To Choose Correct Battery(S).

Given the wide range of actuators and electronics which go into a robot, choosing the right battery may not be an easy...
tutorial
Ez-B V4 Connection Tutorial

Ez-B V4 Connection Tutorial

Now I know there are video tutorials however sometimes it's cool to have a text/image based walkthrough which can be...
tutorial
Setting Servo Speeds And Initialization Script Tutorial

Setting Servo Speeds And Initialization Script Tutorial

This tutorial will explain what an initialization script is and how to use them in your EZ-Builder projects....
tutorial
Connecting Arduino To ARC

Connecting Arduino To ARC

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

Mobile EZB And USB Connection

Is it possible for EZB-mobile have support for USB connection?  My robot has an embedded pc with USB connection at the moment, but I would rather use...
question

Alexa New Build Dynamic Gadgets Games And Smart Toys Interface

I was just sent a update that Amazon alexa has a new interface for smart toys etc.  I think it may now be possible to create function rich plugin...
question

EZ-B V4 No Longer Connecting, Shows Firmware 0000000

Please see below the logs when trying to connect from connection diagnostics How do I fix this? It was working perfectly until today EZB 0: EZB 1: EZB...
question
Using Arduino Mega As A Isolation Device

Using Arduino Mega As A Isolation Device

Looking for an inexpensive way to isolate the EZBv4 signal line from the Hitech 805bb servos on my inMoov. I am think of...
question
EZB Software With Internet?

EZB Software With Internet?

Has anyone ele experienced this recently? The current version of EZB software will not start until I have an internet...
question

EZ-B V4 Wifi Availability Goes Away

Quick question I two EZ v4 units both have same issue: They work for about ten min then d/c My script normally will auto reconnect, however when...
question

Is It Possible To Control JD Humanoid Through A Remote PC Over Wifi ?

Normally, we can connect the JD humanoid robot with a PC where ARC is installed. I checked that the JD humanoid robot is controllable within a typical...
question
Mouth And Servo For Puppet Mouth Wanted

Mouth And Servo For Puppet Mouth Wanted

I am looking for a unit I can put in the mouth of a hand puppet that I can make it talk using an EZB-IOTiny.  I have...