我将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.
在没有调试模式的情况下刷入新固件后,我可以上传脚本。我正在尝试构建这个项目: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