Can ping to LEGO EV3 wifi (Netgear) IP address, but fail to connect to it wirelessly - usb connection works. Any suggestions?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
mylego = legoev3('usb')
mylego =
legoev3 with properties:
FirmwareVersion: 'V1.09E'
HardwareID: []
IPAddress: []
CommunicationType: 'USB'
BatteryLevel: 100
ConnectedSensors: {'touch' 'gyro' 'color' 'sonic'}
>> mylego = legoev3('wifi','192.168.129.62','00165348b96b')
Error using legoev3 (line 271)
Failed to connect to '192.168.129.62'. Please check your network settings.
2 comentarios
Andrew Jackson
el 20 de Oct. de 2018
Hi there
Did you come right with this? I have the exact same problem and I downgraded to the V1.08H firmware which enabled me to successfully Ping from my PC to the ev3, however it still returns the same error message as you mention above when I try create a matlab object using legoev3('')
thanks
Respuestas (6)
pravin behera
el 15 de Mzo. de 2016
Hey hello... Try doing this way.. first connect your LEGO EV3 to wifi through NETGEAR, then go to brick settings>> Brick Info(very bottom)>> IP address (also u can get many info) >> ID
note down the "IP address" and "ID"
now try wirting this code to connect to wifi through matlab
mylego = legoev3('wifi','192.168.0.124','001653497c86')
and my ip address is "192.168.0.124" my LEGO ID is "001653497c86"
This should work, it works for me :)
4 comentarios
Corbyn Yhap
el 2 de Mayo de 2016
I downgraded the firmware to 1.08 H, however, the IP Address does not seem to show up in my Brick Info screen. Can we only communicate with the EV3 using a Wifi dongle instead of the Ethernet Adapter suggested?
Bookwormo
el 20 de Nov. de 2016
Thanks for sharing this. I have firmware 1.09E installed but I receive the following error message with the code snippet above: Error using error Unable to load a message catalog 'legoev3io:build'. Please check the file location and format.
Error in legoev3 (line 237) error(message('legoev3io:build:Legoev3WiFiFailed'));
Jwalant Bhatt
el 28 de Nov. de 2017
It connects through wifi dongle by downgrading the firmware to 1.08 H.
3 comentarios
Multiplexer
el 11 de Jun. de 2018
https://www.lego.com/en-US/mindstorms/mindstormservices/firmware-download-page/?assetid=%7b38E66EC3-1C63-4305-BD8C-561A6E554116%7d
here you go
RR
el 13 de Feb. de 2020
That link doesn't work anymore but I found it here. Firmware V1.08H worked on my EV3 brick and allowed Simulink to run on it finally. It would have saved me a lot of time if the Mathworks had checked for incompatible firmware in their support package communications object code and pointed the user to this firmware upon failure rather than waiting for users to spend hours researching and trying other firmware. V1.09D didn't work for me either.
https://www.files.ligarobotov.ru/download.php?filename=files/EV3%20Firmware%20V1.08H.bin
Graham Chow
el 18 de En. de 2019
Editada: Graham Chow
el 18 de En. de 2019
In version 1.09H and 1.09E they have removed telnet access so you can't connect.
However in version 1.09D (special developer version lego have made), you can connect to via telnet. But they have added a password. It is possible (and I have done it) to modify the legoev3.m and evShell_IO.m files to send through the password and successfully connect. But I have not worked out how to do this in simulink - maybe matlab used compiled code to connect up to the ev3.
So the short answer is yes, you need to use 1.08H or 1.08E.
I suppose mathworks could support 1.09D if they really wanted to make a change, but I'm not seeing the benefits.
6 comentarios
Joanne Tanner
el 23 de Jul. de 2020
Editada: Joanne Tanner
el 23 de Jul. de 2020
Hi all,
I'm trying to run the EV3 via MATLAB / Simulink, too, but with the added bonus that I'm trying to do it on a University network. I've reverted to Firmware Ver 1.08H as advised above, but still get the error "Failed to connect to EV3 via WiFi. Please check your WiFi connection.
Unfortunately I don't have a standalone license for MATLAB, so I can't test whether it is really the network that is the issue.
Any suggestions most welcome!
Thanks,
Jo.
IFM
el 28 de Abr. de 2022
Does anyone have a copy of this firmware that works with the Edimax wifi dongle?
I've been using Ev3's with Simulink for a few years but just got some more bricks and need to downgrade from the V1.09 firmware it is shipped with as it doesn't work anymore. The link above doesn't have the bin file anymore.
Estibaliz NuÑez Gonzalez
el 22 de Jun. de 2021
I didn't expect this from matlab, if they are not supporting the standard version of the EV3 brick, at least they should update the software to show an error saying Toolbox is only compatible with versions 1.08, ...... And at least provide a link to download the version, so it is easy to downgrade.
I cannot find the older version anywhere. I was thinking to buy this toolbox (because now i am using it in my wife's computer as she is a student and have a license to students... But paying for a software that it is not compatible with standard lego EV3 and providing no solution, is not a good busines...
Does anybody can tell me where i can download an older version, please
0 comentarios
Support Technique
el 4 de Mzo. de 2024
Hi all
Wifi working here, V1.09D with simulink
I also want to report an issue with the network setup, especially with wifi
It seems the timeout for the wireless connection is too short. I have managed to successfully connect with a modification of this timeout, from 0.00001s to 0.01s. on wifi with one or more routers, or many clients, the original TO is blocking.
what I don't understand is the test made by the library to define this TO, and how to specify a greater value without hardcoding it within the support package
file CommTCPIP.m
location C:\ProgramData\MATLAB\SupportPackages\R2023a\toolbox\realtime\targets\ev3io\+realtime\+internal\CommTCPIP.m
package version 23.1.0 and 23.1.1 at least
if ispref('MathWorks_LEGO_EV3', 'IO_WAIT_PAUSE') %%-> IO_WAIT_PAUSE is not defined at this step
obj.WaitPause = getpref('MathWorks_LEGO_EV3', 'IO_WAIT_PAUSE');
else
obj.WaitPause = 0.0001; %%--> buggy with wifi, taking a greater value as 0.01 is working well
end
0 comentarios
Ver también
Categorías
Más información sobre MATLAB Support Package for LEGO MINDSTORMS EV3 Hardware en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!