Example sketches for the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By brunoza
#55827 Hi, yes that is the sketch I tried to run. I suspect the nodemcu board I have is faulty because the rest of the sketches work except wifi or anything to do with connectivity. In other words, the board works fine as an "arduino". I tried simple AT commands after installing AT firmware in order to rule out the possibility that something was wrong with the arduinoide. I get a response "OK" with the command AT but none of the other commands give a response. I have also tried separate power supply to the nodemcu devboard (5v 2A). I am at a loss
User avatar
By Raydivine
#55864 The flashing method is in this video


Based on my understanding, NodeMCU has 2 type firmware (AT firmware and Control firmware), where AT firmware is used as a protocol to network connections,control firmware is what we write in arduino, responsible to its application, I think you should separate them up in your mind.

The NodeMCU flasher can download from here
https://github.com/nodemcu/nodemcu-flasher
Please download as zip, extract them up, the .exe is under win32 and win64, choose according to your window bit.

watch the video for flashing method, or you can google it, the advanced set up, my one is 115200, 4MB, 40, DIO, I'm also not sure the correct setting

And you might need use an older AT firmware version, because the newest version is not work consistency for me
https://drive.google.com/file/d/0B3dUKf ... UyVjA/view

PS I'm also a beginner of this microcontroller, what I can help may not be much