Now I know there are video tutorials however sometimes it's cool to have a text/image based walkthrough which can be printed too.
One of the first things you may want to do when you get your EZ-B V4 is to change how it connects. By default it acts as an access point which your PC or Mobile device will connect to. That's fine for some however I plan to have mine online and connected to my home network.
In order to change this you will need to connect to your EZ-B V4 while it is in "WiFi AP Mode". To do this is very easy. First power up the EZ-B V4. The EZ-B will be transmitting a wireless network named "EZ-B v4 2E" (where 2E is a unique number, mine just happens to be 2E, yours may be something different) so with your WiFi enabled PC or mobile device connect to this Wireless network. It is an open network by default so there should be no need to enter any passwords or codes.
Once connected the EZ-B V4 open up your web browser and enter the URL of 192.168.1.1 (you can access this through ARC also which I will cover later however I find this method allows you to skip the step of opening ARC).
Once you enter the URL you are greeted with the following page;
Ignore my IP and the information the page gives about being client, I had already changed mine to Client modeOnce in here you can change the settings. First click on the button on the left labelled "Wi-Fi Client Mode"
You should then get this page;
Now enter your SSID and password. Note, these are CaSe SeNsItIve!
Now click on Connect.
The EZ-B V4 should make some noise and reboot itself. It's advised you power cycle once changing from adhoc to client (and vice versa).
The message should then play the default "Welcome to the EZ-Robot revolution..." message followed by "I have connected to the network".
Once that is done, fire up ARC.
EZ-Builder has a built in IP finder, click on the icon as highlighted below;
A new dialogue should pop up;
Now select the range you want to scan;
And click Start;
Scanning should start, as indicated at the bottom of the dialogue;
After a while it should have found all EZ-B V4s and listed them;
Simply click on the one you wish to use then click select;
The connection dialogue should be auto updated;
Hit connect;
It should then connect to the EZ-B;
Now add your controls as you would have before (or if you are new, just check the other tutorials).
As mentioned earlier, you can access the EZ-B V4 config through ARC also, this is done by clicking on the highlighted icon below (provided the IP to the left of it is the IP of your EZ-B V4).
If it can't connect to your network, does it default to AP mode or do you need to hit the reset button or something similar?
It would be good to have it connect to my home network when home, but switch to AP mode if I take my robot out on the town...
Alan
As far as I've noticed it's one or the other. So to do that you would need to manually change it to AP mode prior to going out on the town with your robot.
Me being too busy playing with this I totally missed the new info in the Learn section. There may be more info in there.
Thanks, and thanks for doing written tutorials. I much prefer them to videos (despite the excellent quality and information in the videos).
Alan
Hey @Rich Thanks for creating this tutorial and all your great feedback!
I just wanted to add that yes the Board does default to AP mode, just hit the reset button and you are back to connecting Adhoc style. Connecting via client mode again does get a little easier if you have auto-complete turned on in your browser settings as it will save your SSID and password if you'd like it to.
Another thing I'll add is that in some instances you will want to unplug and replug in power after setting up Client mode to make sure the WiFi module has a good reset.
Thanks for the additional info, I'll add it in
And sorry, I did know resetting it goes back to adhoc, I needed to do that when I entered the wrong password... I thought Alan meant does it automatically change to adhoc if client mode fails.
Ah I see now, sorry I misread.
If the client settings are incorrect the board just stays in a "Can't Connect to your network" Mode (even if powered cycled) until you hit the reset button and try Client mode settings again.
As jeremie (skater) said, you have to press the reset button. You do not want it defaulting back to AP mode if it has an issue connecting to your network. If your router was unavailable, the EZ-B v4 is not going to reset to AP mode, that would be silly
Well, I don't know if it would be silly. I have a use case, but it looks like the reset is easy enough as long as I make the bot so that the board is accessible, and reprogramming back to my network looks like a snap, so no big deal.
One other choice would be to use the hotspot on my phone to have the same SSID and password as the home network so it will connect to that if the bot is not home. For my big bot, I could also have an access point on the bot that is the same SSID and password as my home network and only power it when the bot is away from home.
Alan
It would be silly because the EZ-B v4 would automatically change it's connection mode without you asking. So let's pretend that you reboot your router... would you want the EZ-B to disconnect and go into ad-hoc?
Or, if you turned on the microwave or cordless phone and the Wi-Fi interference disconnected the EZ-B... would you want it to change it's configuration and go into Ad-hoc?
That would be a bad thing for us to do
I don't want to hijack the thread, so let's just agree to disagree. I was talking about at boot-up, not any time it loses connection, and I still think I have a valid use case, but also easy enough other ways to achieve the same goal, so no worries.
Alan
I like to know what you're thinking so I can understand the scenario. it's how I know what features are best I like knowing what features to add
It does sound like a good idea if you boot up the robot and it can't connect as a client, it would say "Can't connect to your network. Starting up access point. Reboot to try connecting again." and start up an access point.
It would save the client connection info and default to that, but when booting only try connecting for a certain amount of time then fallback to ap mode if it can't find a connection.
But this isn't how it behaves so oh well At best these are ideas for the next ez-b I think? Lol.
@chrisi, that was exactly what I was thinking. It is a "nice to have", but by no means critical.
Alan
For the sake of future features.....I would find it more useful if there were an input on the ez-b to select between ap and client. 0 = ap, 1 = use stored client info. Then a switch or other device could be used to select.
It would not have to be dedicated, there could be a drop down menu in the wifi setup page to select OFF or the digital pin to use. So the user can decide.
Most home wifi devices I would never imagine needing such a feature, but my robot I could see the need to change often.
awesome tutorial.great pics .and sinds its about wifi ,we have a saying here in belgium.
man are like wifi ,ones they connected they stay connected.but when you go to far away (woman), they immediately surh for other devices.hahahahaha
What is the advantage of hooking up to my home router over a direct WiFi link to my laptop? Is there any way to serf the internet with the same computer I'm hooked to the robot with using WiFi for both connections?
Advantages: I can use my desktop PC which doesn't have a WiFi NIC. The PC running ARC can be connected to the internet therefore Pandora Bot works as do various script commands that rely on the internet (news feeds, weather etc.) No need to disconnect from your home network and connect to the V4 to use the EZ-B.
Disadvantages: None yet... I guess it makes it less portable, you can't take your router out for a walk but you can take your laptop/tablet/phone.
I'm sure there are more, to me it makes sense to connect to the home network rather than go adhoc.
Here is another reason:
Since your computer can only connect to one WiFi network at a time (unless you have multiple WiFi NICs), if you want to run multiple EZ-B's from the same computer, they need to all join the same Infrastructure network, although I assume you could use one of them as the access point for all of the others if you don't need Internet access or access to other WiFi devices at the same time.
Alan
The datasheet was updated just now - you can access it from the Learn menu at the top of the website.
Friends... I just can't connect MY V4 as Client mode.. I did everything I found at the tutorial video. I received the Message that EZ_b was connected to my network. But, I can't find It at the connection control in ARC. It does not connect with default IP (192.168.1.1:23) and when I use the Scan button the ez-b is not found (the scan Range says 172.16.242... and the scan range goes from 1 to 254
what am I doing wrong ? thanks!
You might consider pressing the reset button and then start over.
did that several times... is that another way to find the ez-b IP number ?!
Try another pc if you have one... I had to use my laptop with integrated WiFi to set up my v4 in client mode... for some reason my desktop which uses a USB WiFi dongle wouldn't connect to my v4 until I set them up with my laptop first...
well.. here is what I did: Igot into my router page and found some IPs labeled as UNKOWN in my lan device list. That was the IP number for the ez-bs. and did connected with that ! but, i am afraid that anytime I reload the router that number will change... is there a way to fix it ?!