HOWTO Configure WiFi EDIMAX EW-7811Un on Mindstorms EV3

LEGO Mindstorms EV3 has built-in Wifi capabilities so you don’t need to buy an expensive WiFi sensor like you had to do with NXT. Unfortunately LEGO decided to save some pennies and don’t include an actual WiFi card inside the brick ( to save battery life of course *grin*).

So if you want to connect your robot with WiFi to your computer so you can program it remotely and send it command, much like with Blueetooth but faster you have to buy a WiFi dongle for EV3.

Actually Mindstorms EV3 only supports Netgear N150 Wireless Adapter (WNA1100). It is a big ugly and black WiFi dongle that will make your robot looks like a plane with just one wing. The other option is using Edimax dongle, that it is world’s smallest WiFi USB card.

edimax-ev3-wifi-dongle-howto

The problem is that it doesn’t work with LEGO Mindstorms out of the box. Keep reading to know how to fix it and make it work with your LEGO Mindstorms EV3 kit.

Get the Wifi Dongle

First step is getting the WiFi dongle and good news is that you can order it at Amazon for barely £7

edimax-ev3-wifi-dongle-box

So once you get the dongle, open the box and get the dongle at a handy place. We will use it later.

Update the EV3 Firmware

As I was telling you EV3 doesn’t work with Edimax dongle out of the box. We need to update the firmware of the EV3 brick so it support the little USB dongle.
By doing this we are updating EV3 with a modified Linux kernel that has support for this little dongle.

Will update the firmware void my warranty?
No, you won’t void any warranties doing this.

Will it work with the EV3 software?
Yes, it supports EV3 standard software.

Can I restore LEGO original firmware if I don’t like this?
Yes, you can always restore original LEGO firmware.

Can I make a brick of my brick? Can I break it?
No, there are no risk of breaking your EV3 brick.

Will I lose files stored on the EV3 brick?
Yes, you lost the files on the brick. Do a backup first.

firmware-update-ev3

So go and download the modified EV3 Firmware from the original source ) and open EV3 Software, go to Update Firmware section and ignore newer firmware updates.

brick-connected

Click on Browse and find your ev3-edimax.bin file, then the screen will look like this.

ev3edimax-file

Click on the Edimax file and click download ( make sure your brick has full battery before this! ). It will start updating the brick.

download

Once the process is complete it will reboot the EV3. So now introduce your Edimax WiFi dongle.

Enable Wifi

So now we go to the last Tab in EV3 Brick screen and enable Wifi

2014-04-08 12.25.16

Configure Connection

Now choose connections…
2014-04-08 12.27.46

… and the WiFi Card will start blinking with a blue led.
2014-04-08 12.28.11

After a while, around 10 seconds or so a list of Wifi connections will appear.
2014-04-08 12.28.38

Choose your network and click on Connect.

2014-04-08 12.29.14

Now you can choose the security of your network, either WPA2 or None. Keep in mind that using WPA2 will shorten your EV3 Battery life… but it more secure.

2014-04-08 12.29.23

Time for some fun and type your WiFi Network password. It is usually written down under your Internet router. Now type it…

2014-04-08 12.29.30

And voila! It is connected! Just look at the Wifi Icon on the top left of the brick that has a two arrows.

2014-04-08 12.31.06

Connect on EV3 Software

It is even easier than plugin the USB cable :)
First open EV3 Software and look at the bottom right corner… it should be like this

Screenshot

Click on the third side tab so that it looks like this:

Screenshot-1

Click the refresh button ( or even you don’t need that ) and it should change to this

Screenshot-2

Finally click on the Wifi check mark and there you have.

Screenshot-3

EV3 Software and the EV3 are now joined using Wi-Fi… no more USB messed cables. Hope you find this tutorial useful, but in case there is any question that I left unanswered please drop me a comment and I will try to help you.

71 thoughts on “HOWTO Configure WiFi EDIMAX EW-7811Un on Mindstorms EV3”

  1. Thanks for the article.
    I have tried to make it work without success. After installing the linked firmware, I see firmware version 1.04H installed. ¿Is that right?¿Or should it be something different?

      1. Thanks, my PC is connected by ethernet, but it is the same LAN, so I assumed my computer didn’t need to have wifi access. I will try to connect from my laptop to check… damm it, now my EV3 brick is refusing to connect to the wifi, so I cannot check :( I will keep yo informed of my progress, I am really keen to connect my EV3 brick either by wifi or bluetooth with no success yet :(

      2. Well, finally I managed to fix my wifi, which I have broken in the meantime, connect again from the brick , and then I can see my EV3 from the laptop, but not from the PC, so it seems the PC running the software must actually be connected to the same wifi network. That behavior surprises me, I don’t think this should be like that. At least I found a way to connect remotely, which is great ! Thanks for your help. And congrats for your blog and youtube channels, I really like some of the articles and videos you produce ;)

  2. Hello!
    You can type mixed case passwords all right, just hop (cursor key left etc.) to the virtual key “ShiftLockToggle”, sited left of char “A” and press OK, switching to lower case or back to upper case.

    Has anyone seen a Educational Firmware (1.0xE) with the mod? Or can I do data logging experiments with the H anyways?

    Of course I shot some WNA1100 Netgears for some EUR, 7-9 inc. pp, and a pair came with a suiting router, and of course this got an all upper-case password ;)

    Of course the original WLAN stick ist old, sold for completely sky-high price. Seen it for 11-14€ new. But ist is working. And ANY USB stick sticking out of the ONLY precious USB host plug ist one to much in harsh environments.

    Leading to some idea…: (sorry if it doesn’t get clear, english is not my mother tongue):
    I am desperately searching for plastic PCB foil that can be soldered to some form of USB plug male (sawn tight short at the neck, so foil has room to bend inside the plug hole, plus a strap to get it out;) and female, serving as an extension that has a plug _completely_ vanishing in the socket in the ev3. The printed circuit foil should be bendable enough to have the opportunity to do a straight 90° bend, so no design restrictions apply to any technic bars, etc., on the mechanical lego side of the robot, even allowing covering the usb hole as the case in so many good old designs.
    So I’m searching for a PCB manufacturer that would do a solderable version of a USB cable. Perhaps one could use PCB material for the plug as well, little bit of gold plating for luxury like on some tiny usb memory sticks. Or re-using such.

    Have fun!

    Andi

  3. Excellent! I managed to connect to my WiFi. Are planning on writing a tutorial on how to interact with the EV3 and the PC? Better yet, how to connect the EV3 to the Internet and control it from a remote location?

  4. Pingback: HOWTO Install leJOS 0.8.1 on LEGO Mindstorms EV3 ← LEGO Reviews & Videos

  5. In the article, you say it will only accept letters in uppercase. That’s not really true. You can use the button right above the one to change to numbers (an arrow pointing down) to change the letters to lowercase.

  6. I tried this firmware but I am having problems.

    I can connect my brick to my wifi network. I can see the brick in the lego software only sometimes (even after pressing refresh). When I can see it, if I click on the box to connect then the lego software gives error message that it fails to connect.

    I checked the brick address, and i pinged it with the command line. The response was destination unreachable.

    Any thoughts ?

    1. Umm… I really love Wifi networks… let’s try this: Get close to the AP and give it another try, does it fail sometimes? Turn off your brick and do a ping to the IP of the brick was assigned to… it should fail.

      Also make sure you are pinging the 192.168.x.x and not the 10.0.0.1
      If still fails make sure your AP is correctly configured for DHCP, it could be possible that your PC is already configured with a static IP and the AP is giving a wrong range of IP and that could be the cause of the destination unreachable.

      Tell me what you get.

  7. LEGO made an update of the firmware to 1.6. Did you made an EDIMAX version of this firmware, too? I guess there are less bugs in a newer firmware, but I need the EDIMAX support ;-)

        1. Which security setting has your router? Check it is either WPA2 or none. That may be the problem.
          Another option could be that your router doesn’t give automatically IP addresses ( Is DHCP enabled? )

          1. I think you found the problem. My router has WPA and not WPA2. I am working on changing it over, but otherwise I think the case is solved.

          2. I have the same issue with the router. It has WPA security key. Is there a way to connect with out changing the router security to WPA2?

  8. Thanks for this post, I have been able to access wifi using this firmware change, now my regular Micro USB connection from the brick is not recognized also if I upgraded the firmware with the dongle working, will it pick up an adapter or do we have to redo this all over again ?

  9. Hi,
    I tried to follow the instructions but when I select the edimax binary nothing shows in Available Firmware Files. :(
    I am blocked by this issue.
    I am running LEGO Mindstorm home edition on a OSX 10.9.2.

  10. I got it to work with the router configured as a gateway. The trick was to update the Netgear usb dongle to the latest drivers (via the PC) and have both the EV3 and the PC on the same Wifi.

    1. Remove battery and then reinsert battery
      Hold down Center and Right button until it says “Updating…”
      Plug into computer
      Update the Firmware ( Tools | Firmware Update )
      Select the Firmware revision and hit Download

      It should download and install the latest update and then reset on it’s own. Resetting takes about 1 min or less usually.

  11. Thanks for this article, just received the adapter, installed the firmware, did the setup and from my son’s Windows 7 laptop the Mindstorms software can connect with the EV3 brick successfully. He will be stoked! On my Mac (10.9) on the same Wifi network Mindstorms software can’t see the EV3 despite repeated refreshes. I can ping from the Mac the EV3 so the IP connection is working. Any suggestions?

  12. Hi, today I downloaded a new official LEGO firmware 1.08H to my EV3 and it works with Edimax EW-7811Un and my WPA2 encrypted wifi network. Connection between P-brick and Mindstorm software on my PC that is connected to the same wifi router by wire works great.

  13. Hello,
    good docu and, yes, 1.08H supports the Edimax.
    However, the restriction to the same subnet is somewhat annoying. Thus I can connect from a VM with NAT.

  14. We’re running firmware v1.09E. We’re trying to connect at a school with 2 wireless networks – one is secure that redirects to a page requiring a user name and password, the other ‘guest’ network is unsecured. Even with both the laptop and the EV3 connected to to guest network the WiFi option in the last steps above is grayed out. We’ve tried refreshing with no luck. Any suggestions?

  15. How do you configure the EV3 so that it retains the WPA2 password ??? … So annoying to have to key it in each and everytime one turns off/on the brick.

  16. Hi Miguel, I have re-found Lego and have been inspired by your website and videos.

    Is the EDIMAX install still the best WiFi for the EV3 given it’s now 2017?

Leave a Comment