
castlephelps
USA
Asked
— Edited

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
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
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
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
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
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?
Try right clicking on it and then open with, choose ARC.
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....
So Richard R Canada - I can't find Floor Simple Examples when I follow your instructions - what should I do?