Problem connecting to AP (firmware or not)



  • Hi there, I think these questions might be noob ones. But I have a new NodeMCU module, just unwrapped. I have the exact same model for other purposes but this one cant seem to connect to my AP.

    The first question is: Do I need to update some ESP8266 firmware before flashing from the Arduino IDE? I get it connected and compiles the code (that runs fine on another device) it flashes the code. Looking at serial monitor it writes this:

    MC[I]: Booting ESP8266 device...
    MC[I]: Setting up AP to get configuration details
    MC[I]: Access point(AP), SSID:[ESP_0B450A] IP:[192.168.4.1]
    MC[I]: MQTT client not connected, Failed to send message
    MC[I]: Rebooting...
    
     ets Jan  8 2013,rst cause:2, boot mode:(1,7)
    
    
     ets Jan  8 2013,rst cause:4, boot mode:(1,7)
    
    wdt reset
    rl
    

    And then I configure it by going to 192.168.4.1, which seems to work fine...

    
    MC[I]: Booting ESP8266 device...
    MC[I]: WIFI not connected, trying connection...
    MC[I]: Connecting to WiFi with ssid[1421530] and with password......................FAILED
    MC[I]: WiFi BSSID:[00:02:61:A8:32:58], RSSI:[-58 dBm, 84 %], IP:[0.0.0.0], StatusCode:[6]
    MC[I]: Initialization done...
    MC[I]: MQTT failed! Retryting to connect...
    MC[I]: WIFI not connected, trying connection...
    MC[I]: Connecting to WiFi with ssid[1421530] and with password.....................FAILED
    MC[I]: WiFi BSSID:[00:02:61:A8:32:58], RSSI:[-59 dBm, 82 %], IP:[0.0.0.0], StatusCode:[6]
    MC[I]: MQTT failed! Retryting to connect...
    MC[I]: WIFI not connected, trying connection...
    

    And this loop continues...

    I have searched many places, and tried different types of factory reset and setting the AP name and password several times.

    I any ideas as to what I can do are very welcome! 🙂



  • I decided to classify the device as defect, took another one that worked right out of the box.

    Any hints to make it easier to classify device as defect are still welcome!


 

Suggested Topics

9
Online

364
Users

350
Topics

2.1k
Posts