ESPlorer无法与ESP8266通信

时间:2016-02-28 17:00:17

标签: lua iot esp8266 nodemcu esplorer

我将NodeMCU v0.9.5刷新到我的一个ESP8266模块。现在我正在尝试使用ESPlorer将Lua脚本发送到我的模块。我已经仔细检查了布线。

当我按下“发送到ESP”按钮时,它显示错误:

    PORT OPEN 9600

    Communication with MCU...
    ....Got answer! AutoDetect firmware...

    Can't autodetect firmware, because proper answer not received.
    ����,�.,�����(�.,�����Waiting answer from ESP -   Timeout reached. Command aborted.`

我该如何解决这个问题?

编辑: 在我刷新NodeMCU 1.4(主)后,我收到一条启动消息。

_flash_used_end:402669c3
fs.start:68000,max:14000
mount res: 0
Task task_lua started.
SIG_LUA received.

NodeMCU custom build by frightanic.com
    branch: master
    commit: c8037568571edb5c568c2f8231e4f8ce0683b883
    SSL: false
    modules: file,gpio,i2c,net,node,ow,tmr,uart,wifi
build   built on: 2016-02-29 18:25
powered by Lua 5.1.4 on SDK 1.4.0
lua: cannot open init.lua
> Heap size::42720.
Task task_lua started.

当我尝试上传Lua脚本时,我收到这些错误消息。

fTask task_lua started.
iTask task_lua started.
lTask task_lua started.
eTask task_lua started.
.Task task_lua started.
remove("DS1820.lua");Task task_lua started.
Task task_lua started.
Task task_lua started.
Task task_lua started.
Waiting answer from ESP - Timeout reached. Command aborted.

在没有debuging模式的情况下刷新一个新的firmeware后,我可以上传脚本。我正在尝试构建这个项目: http://www.instructables.com/id/Low-cost-WIFI-temperature-data-logger-based-on-ESP/?ALLSTEPS 但是没有关于Thingspeak的数据。串行线上的输出似乎没问题。 我想,一切都应该没问题?

Sending data to thingspeak.com
Got disconnection...
Last temp: 222500
Temp:22.25.2500 C

2 个答案:

答案 0 :(得分:1)

Google首次点击该ESPlorer超时消息是您的朋友:https://github.com/nodemcu/nodemcu-firmware/issues/784

我认为目前最好的办法是使用" debug = false"构建固件,最好是dev分支。

答案 1 :(得分:0)

在获得超时错误后,只需单击“ FS Info”即可。