ESP8266 not connecting to wifi after all the configurations in Simulink
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hello,
I have a ESP8266 connected to Arduino Mega according to the documentation here Connect ESP8266 to Arduino Hardware - MATLAB & Simulink - MathWorks Deutschland. I did the Network configuration described here Configure Network Settings for WiFi - MATLAB & Simulink - MathWorks Deutschland. I want to implement the task 5 described here:Getting Started with Wi-Fi on Arduino Hardware - MATLAB & Simulink Example - MathWorks Deutschland. Basically receive UDP Packets via Wifi in Arduino. I do not want to use the Arduino IDE for this purpose although it was working fine there. The problem is after all the configurations described in documentation, my esp8266 is not connecting to wifi. I get the response "waiting to obtain the target ip address simulink" and if i try to choose static IP i get an error messages
MW_WiFiUDP.o: In function `MW_WifiAndUDPBegin': MW_WiFiUDP.cpp:(.text.MW_WifiAndUDPBegin+0x6e): undefined reference to `wifiLocalIpAddress()' MW_WiFiUDP.cpp:(.text.MW_WifiAndUDPBegin+0x70): undefined reference to `wifiLocalIpAddress()' collect2.exe: error: ld returned 1 exit status gmake[1]: *** [../arduino_gettingstarted.elf] Error 1 gmake[1]: Leaving directory `C:/Users/muhsak1/Documents/Matlab/arduino_gettingstarted_ert_rtw' gmake: *** [all] Error 2 The make command returned an error of 2 ### Build procedure for arduino_gettingstarted aborted due to an error.
Top model targets built: Model Action Rebuild Reason ================================================================================== arduino_gettingstarted Failed Code generation information file does not exist.
. I am assuming the ESP 8266 is not connecting to wifi if i deploy the model via simulink.
I also get warning The specified amount of data was not returned within the Timeout period for 'readline'. 'serialport' unable to read any data.
Anyone has any idea what might be the issue here ?
1 comentario
Respuestas (0)
Ver también
Categorías
Más información sobre MATLAB Support Package for Arduino Hardware en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!