Asked — Edited
Resolved Resolved by thetechguru!

Getting Started With Developer Kit

Hi,

Now that I have the proper power plug and have my EZ-B powered up I am confused as to how to begin. I have read the lessons on the EZ-B, the Developer Kit and ARC software. I don't have any of the robots that the other tutorials seem to address - so how do I just do something like hook up a servo and have it move or make the camera display an image? I connected my laptop to the EZ-B wirelessly and created a project, opened the camera but am getting a message that the camera is not active or something like that.
Yes, I'm really new to this stuff so any guidance to playing with the Developer Kit would be appreciated.

Thanks, Castle


ARC Pro

Upgrade to ARC Pro

ARC Pro is more than a tool; it's a creative playground for robot enthusiasts, where you can turn your wildest ideas into reality.

#1  

First can you confirm that you are connected with ARC? Solid blue or green LED on your EZB... Once we can confirm you are connected we can start you off with some samples...

#2  

by the way, ARC has dozen of example projects you can load and learn from...

#3  

Hmmmm / when I power up the EZ-B I get the announcements and a blue led. When I connect my laptop wirelessly I get the web page which includes diagnostics and I can make it make the different sounds and announcements...

#4  

Yes that is the ezb's web server... If you want you can flip the ezb into client mode from there... This way the ezb will be part of your network like all your other wifi devices... It is crucial you take the time to view as many tutorials as possible as it is the quickest way to get rolling with this. Later if you run into any issues we can help you here...

Bottom line is to get ARC connected to your ezb (yes, sorry tutorials again LOL) then we can load some easy sample projects to get you started...

#5  

I'm guessing you mean the tutorials for the other robots? I've done the dev kit and builder ones...

#6  

@castlephelps after I got my Dev Kit, I bulit a Camera pan/Tilt mount and played with the camera tracking objects, and my face.. you can do the same with just some hot glue, the camera, servo, and servo-head.. I also played around with the radar sensor on-top of a servo in the same fashion.. Since I have 3d printer I started printing out a hexapod (spider) bot to mount the Ez-b4 onto..

Just a few ideas.. hope that helps..

#7  

Hi, @castlephelps,

The project examples Richard is talking can be loaded right from inside ARC. There's tons of them covering all sorts of robots that both EZ Robot has built through a bunch that regular folks like me and you have made.

Go to the File tab then look to the right for the EZ Cloud section. Clink on the Download button and play around in there looking through all the projects. Download any of them to ARC.

You can also click the Browse button and it will hook you up. Read the introduction then click on the Robot Apps title on the left. Look through the list and pick one to download then open it in ARC.

#8  

@castlephelps Actually I was just talking about the tutorials that involve connecting to the ezb. Also the tutorial that explains the 2 connection modes... So those examples are under the "open" file dialog menu option in ARC....

Online here there are also tutorials explaining what all the controls and script commands do... Here is information on ez robot controls for example... Control tutorials

#9  

I'll do a quick walk-through of the two questions you asked, specifically connecting a servo and connecting the camera.

First, take your EZ-B and connect the camera to the camera port. Make sure the plug is well seated.

Then take one of your servos and plug it into port D0 (the top left port. make sure the black wire is to the inside, on the black pin. Hook it up backwards and it will burn out).

I will assume you are still in AP mode (ie, your computer is connected to the EZ-B's WiFi rather than the EZ-B on your home network in client mode. Makes knowing the IP address easier. If not, you will need to modify the IP address in the connection and camera object boxes).

Power up your EZ-B, and after it has started, connect your computer to the EZ-B's WiFi.

Open ARC.

In the Connection object, there are 5 lines for connecting up to 5 EZ-B's. The first one (labeled 0) should have 192.168.1.1:23 in the box next to the connect button. (this is what you would change if you put the EZ-B on your home network).

Click the Connect button, and you should hear your EZ-B beep once, and see a few lines of information pop up in the debug window.

Assuming that was successful, lets get a servo working.

Click on the Project tab, then the Add button (top left button) In the window that opens, click on the blue servo button for a list of servo controls.

Select Click on Horizontal Servo.

this will put a horizontal servo control in your project. It will default to an undefined port and the minimum and maximum values will be 90.

Click the Gear icon to define the servo.

Leave the board index at 0. Press the Port button and select the D0 port on the picture of the EZ-B that pops up (make sure now to verify that your servo is plugged into D0 by comparing it to the picture).

Close the select port dialog.

Move your mouse over the Min. setting, You can either left click and drag the mouse down until you get to 0 (the servo will be moving while you do this) or you can right click and a drop-down menu will appear to allow a bit faster scrolling but the servo won't move until you select a value. Choose value of 1.

Do the same for the Max. value, but choose 180.

Click on Save.

Now when you click your mouse and scroll left and right over the number in the middle of the servo control, your servo will move left and right.

Clicking on Center will set it to position 90 (or the mid point between your min and max settings). Clicking Release will stop sending position information to the servo. In general, you need to restart the EZ-B after a release for that servo to take commands again. Release is used as an "emergency stop" when you have gotten into a position that is straining a servo and risking burn out.

Assuming you get this far, move onto the next post for starting the camera control.

Alan

#10  

Camera control instructions:

Building on the last overview, assuming you are still connected...

On the project tab, click Add, then the blue Camera button.

Then click on Camera Device (may need to double click..)

This will add a camera device to your project. On the left is the camera window and on the right, a series of tabs for different controls. The device tab is the default.

In the video device window, the default device should be EZB://192.168.1.1

If it is, simply press the "Start" button and the left window should display what your camera sees.

if it isn't, hit the refresh list button, then click in the video device window. A drop down will list every camera your computer can see, plus some defaults including: USB Camera Brookstone Rover V1 (doesn't currently work) AR Parrot Drone EZB://192.168.1.1

Choose EZB://192.168.1.1 and click on start. (if you have put your EZ-B on your home network, enter its IP address here instead of choosing from the list. Easiest way is to choose EZB://192.169.1.1 and then edit it).

Assuming that works, follow the various tutorials for the various camera functions.

Note: many of the tutorial videos were done with the V3 version of EZ B and a wireless USB camera that EZ-Robot used to sell, and the dialogs may look a bit different, but the concepts are the same.

Everything else is pretty much the same. Plug the device in, add a control, follow the tutorials and example projects, ask questions here when you get stuck.

Alan

#11  

Nice job everyone! Now to figure out how to implement a program called floor.xml that I found on EZ-Cloud in the Browse Online section... Under Ribot Apps > Floor Map Simple Examples

#12  

Build a "box-bot" using the two 360 rotation servos and wheels in your development kit.

download Floor Simple Examples from EZ-Cloud.

Delete the custom Movement Panel from the project.

Add a Modified servo Movement Panel and configure with the ports you plugged your continuous rotation servos into.

Test and adjust the Movement Panel as needed to get the direction and speed of each wheel right.

Run the circle, star, or box script from the script manager (you can delete the forward, reverse, left, and right scripts. they are superfluous, and 2 of the 3 are empty, and the other two don't actually do anything...).

Alan

#13  

I guess my problem is the first step - "download Floor Simple Examples" from EZ Cloud.
I click on Browse Online in ARC which opens a browser where I click on the title and Save File - but it downloads into my download folder - how do I get it to open in ARC?

#14  

Try right clicking on it and then open with, choose ARC.

#15  

The sample files are already in ARC... no need to download from the cloud... Open a file the same way you would in any other app... Go to Menu... Open file menu at the left part of your ARC screen ... Select File, Open and then Examples, then finally on the left ez script examples....

#16  

So Richard R Canada - I can't find Floor Simple Examples when I follow your instructions - what should I do?

#18  

There ya' go... You're in business now.... Have fun... :)

#19  

Just to wrap this up fully. there are two ways to open a project on EZ-cloud, and you should know both (I'll explain why shortly).

There is the way you learned, which is to browse online, which opens a browser and allows you to download the .EZB file which you can then open locally (either like you did, but clicking on the project itself, or through the file open dialog within ARC).

The other way is directly within ARC. On teh file tab, on the right, is the EZ-Cloud section. It has Open, Save, and Browse buttons.

If you click the Open button, you get a search window that allows you to narrow your search by project type and person, or select to show "Your" files.

Once you find the file you want, just click on it, and it will download and open in ARC. You can then save it locally using the save or save_as buttons on the left side of the file tab.

If you want to save one of your files to EZ-Cloud, you use the SAVE button. You can then define the type of file and other properties so others can search for it, or you can make it private so only you can see it.

There are 3 reasons you want to do this.

  1. it is a great way to have a backup of your file. It is rare, but ARC has been known to save corrupted files. EZ-Cloud automatically keeps several revisions of backups when you save a new file there, so you can go back to a known good copy.

  2. You can easily move a project between your own computers by saving to the cloud on one and downloading on the other. I do this regularly. I do most of my design on a desktop computer but then download to a laptop or tablet when running the robot.

  3. This is the only way to use the Android (or soon iOS and Windows Phone) apps. You design the app on a PC and upload it to the cloud, then from your mobile device, you download it from the cloud and run it from the device.

Alan