-->
Page 1 of 2

Send AT commands to NodeMcu esp8266 12e v3

PostPosted: Wed Jul 13, 2016 1:56 am
by ShantanuJ
Hi, I just got my NodeMcu esp8266 12e v3 module.

I hooked it up to the laptop using the cable and also did all the arduino ide installations.
I am able to send blink codes and make the led blink successfully.
But how am i to send AT commands to the module?

I tried opening the serial monitor and sent "AT" but no reply. Even the command i am sending is not shown on the serial monitor.
Set the baud rate to 115200. "Both NL and CR" selected.

Please help.

Re: Send AT commands to NodeMcu esp8266 12e v3

PostPosted: Wed Jul 13, 2016 1:29 pm
by martinayotte
If you have uploaded a Arduino sketch in the module, it has completely erased/replaced the original AT firmware, so it is normal that your new sketch doesn't respond to any AT commands.

If I were at your place, I would forget using any AT firmware anyway, it is much more easy to use ESP API provided by Arduino ESP framework.

Re: Send AT commands to NodeMcu esp8266 12e v3

PostPosted: Thu Jul 14, 2016 6:47 am
by ShantanuJ
Hey,
I have a lua script.
I want the nodemcu module to run this script on startup. Unlike now, where I need to program the script in the module every time i restart the module.

Is there any way that is possible?

Re: Send AT commands to NodeMcu esp8266 12e v3

PostPosted: Thu Jul 14, 2016 7:49 am
by martinayotte
We are here in Arduino sub-forum, this question should be posted in Lua sub-forum instead.
I'm not failiar with Lua, but I think your script should be saved as "init.lua" to run at startup.