Thumbnail

EZB Connect By Name

by Synthiam Inc.

Connect to an EZB by the name using the WiFi broadcast feature.

Requires ARC v1 (Updated 9/5/2023) Hardware Info

How to add the EZB Connect By Name robot skill

  1. Load the most recent release of ARC (Get ARC).
  2. Press the Project tab from the top menu bar in ARC.
  3. Press Add Robot Skill from the button ribbon bar in ARC.
  4. Choose the General category tab.
  5. Press the EZB Connect By Name icon to add the robot skill to your project.

Don't have a robot yet?

Follow the Getting Started Guide to build a robot and use the EZB Connect By Name robot skill.

How to use the EZB Connect By Name robot skill

The EZB robot controllers created by EZ-Robot have WiFi capability. Each EZB can be named to describe its use or placement within a robot. When the EZBs are powered, connect to WiFi, and obtain an IP Address, they will broadcast that information. This robot skill allows you to connect to an EZB by the name rather than IP.

User-inserted image

When a new EZB is detected by its broadcast, it will be displayed in the log window.

Multiple EZBs

Some advanced robots will have multiple WiFi EZB controllers. In this case, various ways exist to connect the EZBs on a network. We have a great document that explains multiple WiFi EZBs here: https://synthiam.com/Support/Tips-to-Make-a-Robot/Multiple-EZ-B-over-WiFi

Connecting

Connecting to EZBs by their name is done using the ControlCommand supported by this robot skill. View the list of ControlCommand when editing an Init script to connect to an EZB by the device name.

User-inserted image

The ControlCommand syntax accepts the index and EZB device name. The index is related to the EZB index within the Connection control, which starts at 0 (zero).


ARC Pro

Upgrade to ARC Pro

Subscribe to ARC Pro, and your robot will become a canvas for your imagination, limited only by your creativity.

PRO
USA
#1   — Edited

@DJ SuresThis is great, except for one problem. If you have multiple EZ-B devices that are the same type (EZ-Bs or EZ-B IoTiny), all of them will have the same name, so you still can’t determine which is which. You can’t go by the IP since it will always change. And since ARC can support up to 132 EZ-B devices, this would be a serious problem when you get lots of devices. I think the Connect By Name skill name needs to include the serial number, or show the broadcast name of the device (which can be set via the WEB interface and be made unique).

User-inserted image

#2  

@Jsale, So what I'm understanding is that you have gone into the EZB's web interface and changed it's broadcast's name and the Connect By Name skill is not picking up that change?

PRO
USA
#3  

Yea Dave, it seems the Connect By Name uses the default name, and not the broadcast name.  My WIFI shows the broadcast name, so I know I got it changed.  DJ Sures is close with this, but still needs work, in my opinion.