{"id":1097,"date":"2018-04-30T13:46:01","date_gmt":"2018-04-30T11:46:01","guid":{"rendered":"http:\/\/jafma.net\/ana\/theweekendarchaeologist\/?p=1097"},"modified":"2018-04-30T13:46:01","modified_gmt":"2018-04-30T11:46:01","slug":"lego-ev3-matlab-simulink-wifi-the-windows-10-experience","status":"publish","type":"post","link":"https:\/\/jafma.net\/ana\/theweekendarchaeologist\/?p=1097","title":{"rendered":"LEGO EV3 + Matlab\/Simulink + WiFi : the Windows 10 experience"},"content":{"rendered":"<a class=\"synved-social-button synved-social-button-share synved-social-size-16 synved-social-resolution-single synved-social-provider-facebook nolightbox\" data-provider=\"facebook\" target=\"_blank\" rel=\"nofollow\" title=\"Share on Facebook\" href=\"http:\/\/www.facebook.com\/sharer.php?u=https%3A%2F%2Fjafma.net%2Fana%2Ftheweekendarchaeologist%2Findex.php%3Frest_route%3D%252Fwp%252Fv2%252Fposts%252F1097&#038;t=LEGO%20EV3%20%2B%20Matlab%2FSimulink%20%2B%20WiFi%20%3A%20the%20Windows%2010%20experience&#038;s=100&#038;p&#091;url&#093;=https%3A%2F%2Fjafma.net%2Fana%2Ftheweekendarchaeologist%2Findex.php%3Frest_route%3D%252Fwp%252Fv2%252Fposts%252F1097&#038;p&#091;images&#093;&#091;0&#093;=&#038;p&#091;title&#093;=LEGO%20EV3%20%2B%20Matlab%2FSimulink%20%2B%20WiFi%20%3A%20the%20Windows%2010%20experience\" style=\"font-size: 0px; width:16px;height:16px;margin:0;margin-bottom:5px;margin-right:5px;\"><img loading=\"lazy\" decoding=\"async\" alt=\"Facebook\" title=\"Share on Facebook\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"16\" height=\"16\" style=\"display: inline; width:16px;height:16px; margin: 0; padding: 0; border: none; box-shadow: none;\" src=\"https:\/\/jafma.net\/ana\/theweekendarchaeologist\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/32x32\/facebook.png\" \/><\/a><a class=\"synved-social-button synved-social-button-share synved-social-size-16 synved-social-resolution-single synved-social-provider-twitter nolightbox\" data-provider=\"twitter\" target=\"_blank\" rel=\"nofollow\" title=\"Share on Twitter\" href=\"https:\/\/twitter.com\/intent\/tweet?url=https%3A%2F%2Fjafma.net%2Fana%2Ftheweekendarchaeologist%2Findex.php%3Frest_route%3D%252Fwp%252Fv2%252Fposts%252F1097&#038;text=Check%20this%20out%20%2F%20Mira%20esto\" style=\"font-size: 0px; width:16px;height:16px;margin:0;margin-bottom:5px;margin-right:5px;\"><img loading=\"lazy\" decoding=\"async\" alt=\"twitter\" title=\"Share on Twitter\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"16\" height=\"16\" style=\"display: inline; width:16px;height:16px; margin: 0; padding: 0; border: none; box-shadow: none;\" src=\"https:\/\/jafma.net\/ana\/theweekendarchaeologist\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/32x32\/twitter.png\" \/><\/a><a class=\"synved-social-button synved-social-button-share synved-social-size-16 synved-social-resolution-single synved-social-provider-reddit nolightbox\" data-provider=\"reddit\" target=\"_blank\" rel=\"nofollow\" title=\"Share on Reddit\" href=\"http:\/\/www.reddit.com\/submit?url=https%3A%2F%2Fjafma.net%2Fana%2Ftheweekendarchaeologist%2Findex.php%3Frest_route%3D%252Fwp%252Fv2%252Fposts%252F1097&#038;title=LEGO%20EV3%20%2B%20Matlab%2FSimulink%20%2B%20WiFi%20%3A%20the%20Windows%2010%20experience\" style=\"font-size: 0px; width:16px;height:16px;margin:0;margin-bottom:5px;margin-right:5px;\"><img loading=\"lazy\" decoding=\"async\" alt=\"reddit\" title=\"Share on Reddit\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"16\" height=\"16\" style=\"display: inline; width:16px;height:16px; margin: 0; padding: 0; border: none; box-shadow: none;\" src=\"https:\/\/jafma.net\/ana\/theweekendarchaeologist\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/32x32\/reddit.png\" \/><\/a><a class=\"synved-social-button synved-social-button-share synved-social-size-16 synved-social-resolution-single synved-social-provider-pinterest nolightbox\" data-provider=\"pinterest\" target=\"_blank\" rel=\"nofollow\" title=\"Pin it with Pinterest\" href=\"http:\/\/pinterest.com\/pin\/create\/button\/?url=https%3A%2F%2Fjafma.net%2Fana%2Ftheweekendarchaeologist%2Findex.php%3Frest_route%3D%252Fwp%252Fv2%252Fposts%252F1097&#038;media=&#038;description=LEGO%20EV3%20%2B%20Matlab%2FSimulink%20%2B%20WiFi%20%3A%20the%20Windows%2010%20experience\" style=\"font-size: 0px; width:16px;height:16px;margin:0;margin-bottom:5px;margin-right:5px;\"><img loading=\"lazy\" decoding=\"async\" alt=\"pinterest\" title=\"Pin it with Pinterest\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"16\" height=\"16\" style=\"display: inline; width:16px;height:16px; margin: 0; padding: 0; border: none; box-shadow: none;\" src=\"https:\/\/jafma.net\/ana\/theweekendarchaeologist\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/32x32\/pinterest.png\" \/><\/a><a class=\"synved-social-button synved-social-button-share synved-social-size-16 synved-social-resolution-single synved-social-provider-linkedin nolightbox\" data-provider=\"linkedin\" target=\"_blank\" rel=\"nofollow\" title=\"Share on Linkedin\" href=\"http:\/\/www.linkedin.com\/shareArticle?mini=true&#038;url=https%3A%2F%2Fjafma.net%2Fana%2Ftheweekendarchaeologist%2Findex.php%3Frest_route%3D%252Fwp%252Fv2%252Fposts%252F1097&#038;title=LEGO%20EV3%20%2B%20Matlab%2FSimulink%20%2B%20WiFi%20%3A%20the%20Windows%2010%20experience\" style=\"font-size: 0px; width:16px;height:16px;margin:0;margin-bottom:5px;margin-right:5px;\"><img loading=\"lazy\" decoding=\"async\" alt=\"linkedin\" title=\"Share on Linkedin\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"16\" height=\"16\" style=\"display: inline; width:16px;height:16px; margin: 0; padding: 0; border: none; box-shadow: none;\" src=\"https:\/\/jafma.net\/ana\/theweekendarchaeologist\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/32x32\/linkedin.png\" \/><\/a><a class=\"synved-social-button synved-social-button-share synved-social-size-16 synved-social-resolution-single synved-social-provider-mail nolightbox\" data-provider=\"mail\" rel=\"nofollow\" title=\"Share by email\" href=\"mailto:?subject=LEGO%20EV3%20%2B%20Matlab%2FSimulink%20%2B%20WiFi%20%3A%20the%20Windows%2010%20experience&#038;body=Check%20this%20out%20%2F%20Mira%20esto:%20https%3A%2F%2Fjafma.net%2Fana%2Ftheweekendarchaeologist%2Findex.php%3Frest_route%3D%252Fwp%252Fv2%252Fposts%252F1097\" style=\"font-size: 0px; width:16px;height:16px;margin:0;margin-bottom:5px;\"><img loading=\"lazy\" decoding=\"async\" alt=\"mail\" title=\"Share by email\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"16\" height=\"16\" style=\"display: inline; width:16px;height:16px; margin: 0; padding: 0; border: none; box-shadow: none;\" src=\"https:\/\/jafma.net\/ana\/theweekendarchaeologist\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/32x32\/mail.png\" \/><\/a><p><a id=\"spanish\"><\/a><br \/>\n<a href=\"#english\">[In English]<\/a><\/p>\n<p>Bueno, pues despu\u00e9s de <a href=\"http:\/\/jafma.net\/ana\/theweekendarchaeologist\/?p=907\" target=\"_blank\" rel=\"noopener\">pegarme con el Lego, Matlab\/Simulink y la conexi\u00f3n wifi en Ubuntu<\/a>, he probado con la opci\u00f3n Windows montando yo la red con un router wifi, en este caso. Estos son los pasos a seguir:<\/p>\n<ol>\n<li>El router que he usado es un <a href=\"https:\/\/www.linksys.com\/es\/support-product?pid=01t80000003KUvhAAG\" target=\"_blank\" rel=\"noopener\">Linksys Compact Wireless-G<\/a>. Como el PC que he utilizado est\u00e1 detr\u00e1s de un proxy, en las opciones de configuraci\u00f3n de red de Windows 10 ha sido necesario especificar que el proxy no se use para la URL del administrador web del router.<\/li>\n<li>El firmware del LEGO EV3 para poder trabajar con wifi en Simulink\/Matlab 2016b es el <a href=\"https:\/\/www.lego.com\/en-US\/mindstorms\/mindstormservices\/firmware-download-page\/?assetid=%7b38E66EC3-1C63-4305-BD8C-561A6E554116%7d\" target=\"_blank\" rel=\"noopener\">1.08<\/a>. Ni el firmware 1.09 ni el 1.03 funcionan.<\/li>\n<li>Para conectar el EV3 usando los dongles Edimax o NetGear que explicaba en la entrada que enlazo al principio del post, he a\u00f1adido la red del router con la opci\u00f3n <em>Add Hidden Network<\/em>, indicando el SSID que aparece en el administrador web del router. La seguridad es <em>None<\/em>.<\/li>\n<li>El funcionamiento correcto de la conexi\u00f3n se puede comprobar haciendo un <em>ping<\/em> desde el<em> Command Prompt<\/em> de Windows.<\/li>\n<li>Antes de trabajar en Simulink, es recomendable\u00a0<a href=\"https:\/\/es.mathworks.com\/help\/supportpkg\/legomindstormsev3io\/ug\/connect-to-an-ev3-brick-over-wifi.html\" target=\"_blank\" rel=\"noopener\">comprobar que el robot est\u00e1 accesible<\/a> desde la ventana de comandos de Matlab.<\/li>\n<li>Finalmente, lanzar Simulink, seleccionar la opci\u00f3n WiFi como <em>Host to Target Connection<\/em> en los par\u00e1metros de configuraci\u00f3n del hardware del modelo, especificando la IP y el Device ID del robot (esa informaci\u00f3n est\u00e1 disponible en la pesta\u00f1a <em>Settings<\/em>\u00a0, opci\u00f3n <em>Brick Info<\/em> del EV3).<\/li>\n<\/ol>\n<p>Con este procedimiento he conseguido descargar un programa en el EV3. Tambi\u00e9n es cierto que a partir de ah\u00ed el robot se ha colgado. Pero, al menos, la conexi\u00f3n se ha hecho&#8230;<\/p>\n<p><a id=\"english\"><\/a><br \/>\n<a href=\"#spanish\">[En espa\u00f1ol]<\/a><\/p>\n<p>Well, after\u00a0<a href=\"http:\/\/jafma.net\/ana\/theweekendarchaeologist\/?p=907\" target=\"_blank\" rel=\"noopener\">fighting the Lego, Matlab\/Simulink and WiFi connection under Ubuntu<\/a>, I have tried the Windows option, but in this case I also set up a network with a WiFi router. These are the steps to follow:<\/p>\n<ol>\n<li>I have used a\u00a0<a href=\"https:\/\/www.linksys.com\/es\/support-product?pid=01t80000003KUvhAAG\" target=\"_blank\" rel=\"noopener\">Linksys Compact Wireless-G<\/a>\u00a0router. Since the PC I have worked with is behind a proxy, I had to add the router web admin URL to the no-proxy exceptions in the network configuration of Windows 10.<\/li>\n<li>The LEGO EV3 firmware that works with WiFi in Simulink\/Matlab 2016b is version\u00a0<a href=\"https:\/\/www.lego.com\/en-US\/mindstorms\/mindstormservices\/firmware-download-page\/?assetid=%7b38E66EC3-1C63-4305-BD8C-561A6E554116%7d\" target=\"_blank\" rel=\"noopener\">1.08<\/a>. Neither version 1.09 nor 1.03 works.<\/li>\n<li>In order to connect the EV3 with the Edimax or NetGear dongles that I explained in the link at the beginning of this post, I have added the WiFi network of the router with the option <em>Add Hidden Network<\/em>, using the SSID shown in the router web admin page. I have chosen <em>None<\/em> security<i>\u00a0<\/i>option.<\/li>\n<li>You can check that the robot has connected to the router with a simple\u00a0<em>ping<\/em>\u00a0from the Windows<em>\u00a0Command Prompt<\/em>.<\/li>\n<li>Before launching Simulink, it is a good idea\u00a0<a href=\"https:\/\/es.mathworks.com\/help\/supportpkg\/legomindstormsev3io\/ug\/connect-to-an-ev3-brick-over-wifi.html\" target=\"_blank\" rel=\"noopener\">to check that\u00a0 the robot is accessible<\/a> from the Matlab commands window.<\/li>\n<li>Finally, you should launch Simulink, choose the WiFi option on the Target Hardware Resources of your model, incluing the IP and Device ID values of the robot (you can get those values in the <em>Settings<\/em> label of the EV3, option <em>Brick Info<\/em>).<\/li>\n<\/ol>\n<p>Following these steps I have managed to download a program to the EV3. It is also true that from that moment the robot got frozen, but at least the connection was made&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[In English] Bueno, pues despu\u00e9s de pegarme con el Lego, Matlab\/Simulink y la conexi\u00f3n wifi en Ubuntu, he probado con la opci\u00f3n Windows montando yo la red con un router wifi, en este caso. Estos son los pasos a seguir: El router que he usado es un Linksys Compact Wireless-G. Como el PC que he &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/jafma.net\/ana\/theweekendarchaeologist\/?p=1097\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;LEGO EV3 + Matlab\/Simulink + WiFi : the Windows 10 experience&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[4,10],"tags":[58,57,47,60],"_links":{"self":[{"href":"https:\/\/jafma.net\/ana\/theweekendarchaeologist\/index.php?rest_route=\/wp\/v2\/posts\/1097"}],"collection":[{"href":"https:\/\/jafma.net\/ana\/theweekendarchaeologist\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jafma.net\/ana\/theweekendarchaeologist\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jafma.net\/ana\/theweekendarchaeologist\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jafma.net\/ana\/theweekendarchaeologist\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1097"}],"version-history":[{"count":14,"href":"https:\/\/jafma.net\/ana\/theweekendarchaeologist\/index.php?rest_route=\/wp\/v2\/posts\/1097\/revisions"}],"predecessor-version":[{"id":1112,"href":"https:\/\/jafma.net\/ana\/theweekendarchaeologist\/index.php?rest_route=\/wp\/v2\/posts\/1097\/revisions\/1112"}],"wp:attachment":[{"href":"https:\/\/jafma.net\/ana\/theweekendarchaeologist\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1097"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jafma.net\/ana\/theweekendarchaeologist\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1097"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jafma.net\/ana\/theweekendarchaeologist\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1097"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}