Search code examples
nodemcuesplorer

NodeMCU returns ERROR for commands sent from ESPlorer


I have a NodeMCU dev kit v2 (Lolin) and I am trying to program it with NodeMCU script. I am using ESPlorer and so far I have managed to talk to it using AT commands (of course from ESPlorer tool). I managed to connect to Wi-Fi network using AT commands as well.

But when I try to Send NodeMCU commands (e.g. node.heap()), it shows 'ERROR' in the terminal window of ESPlorer tool.

Version information can be retrieved using AT commands and it is attached herewith. Screenshot of version info

I have also attached the response I get when I run NodeMCU commands. You see the IP addresses since I have already connected to Wi-fi network using AT commands. Screenshot of Error message.


Solution

  • I wouldn't know for sure but it looks like your device doesn't have the NodeMCU firmware loaded. From http://nodemcu.readthedocs.io/en/latest/en/:

    • build the firmware
    • flash it to the device
    • upload Lua/NodeMCU code