Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By Gawan
#35715 Hi,
I have a very basic question.
I bought an arduino long time ago and wrote some very basic sketches using Arduino IDE.

After some time I bought a NodeMCU, updated my sketches a bit and was able to run them on the NodeMCU - again I used Arduino IDE. The sketch is creating a client object and a POST statement to my local webserver.

Finally I bought an ESP8266 and put the whole sketch, that ran on my NodeMCU, to the ESP.
Arduioni IDE did not report any problems, the upload was successful.
But for any reason I neither get any output to the serial interface, nor does the ESP post anything to the webservice (although the sketch works perfectly fine on the NodeMCU)

If I upload the example-code for "WifiAP" it works ... at least I can see that the ESP is creating another WiFi.

Am I doing something totally wrong ? Did I missunderstand anything ? Do I have to handle the ESP in a different way ?

I dont know how to proceed ...

BR
Gawan
User avatar
By Mmiscool
#35720 The node mcu is just a standard moduel. There are no secret hand shakes to make it work. Possibly post your program.
User avatar
By Gawan
#35723 ok, i will do so as soon as i am at home
but is it common that there is absolutely no output on serial ?

i learned that I can not use AT-commands any longer as soon as I burned my sketch using arduino IDE. Is that correct ?
User avatar
By martinayotte
#35726
Gawan wrote:i learned that I can not use AT-commands any longer as soon as I burned my sketch using arduino IDE. Is that correct ?

AT firmware is an application by itself and Arduino sketch is another one. You cannot have both at the same time, unless you write you own sketch that will emulate AT commands.