So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By FranckM
#75550 I bought four NodeMCU 1.0 from a local electronics store.

I upload the exact same code to all 4, and they all run the FastLED animations properly, but 2 of them won't connect to my ESP32 AP. The AP is not overloaded, as I try them one at a time. Also, the same code connects just fine on D1 Minis and HUZZAH's I have laying around.

I'm not familiar with debugging ESP8266 connection issues, any pointers I should be aware of? Anything particular to NodeMCU?

Thank you!

Arduino IDE 1.8.3
ESP8266 Boards 2.3.0 (updated to 2.4.1, same problem)
User avatar
By btidey
#75555 The standard way of debugging any type of issue like this would be to put Serial.print statements at critical pieces of the code and in particular include any returns back from calls.

Sometimes one can also turn on extra debugging statements in libraries by changing some of the #defines in those.

To get more specific advice you need to include the code you are using.
User avatar
By schufti
#75556 if they are from a local store they might as well be "returns".
Once someone used deepsleep with wake_no_rf, this setting persists even power off and sketches not using deepsleep will have no access to wifi (=> return to store) unless flashed with "erase all" option.