ESP8266串行监控器未从官方AT固件响应 [英] ESP8266 No response in serial monitor from official AT firmware

查看:239
本文介绍了ESP8266串行监控器未从官方AT固件响应的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直试图让 AT 命令在我的ESP8266上运行。我在使用此问题中描述的方法进行第一次尝试时失败了:





在导航栏中按开始 Flash工具似乎已成功完成。



但是当我进入Arduino IDE串行监视器时,键入 AT 或任何其他 AT 命令没有响应。我尝试安装Realterm,并将波特率设置为115200,与我的COM7匹配,检查了LF CR换行符,然后发送了一些 AT 命令,但是同样,我没有任何响应。



有人对什么地方有问题提出建议吗?

解决方案

您已将ESP8266的Tx连接到Arduino的Tx。 Arduino的Rx与ESP8266的Rx。



这是错误的连接。 Tx线用于传输数据,Rx线用于读取数据。



因此,通过ESP8266的Tx发送的数据应发送到Arduino的Rx线

  ESP8266 |,并且Arduino的Tx线应连接到ESP8266的Rx。 Arduino 
-----------------------
TX | RX
RX | TX
CH_PD | 3.3V(与arduino具有公共接地的独立电池)
VCC | 3.3V(与arduino具有公共接地的单独电池)
GND | GND
GPIO0 | GND

ESP将通过其Tx线发送数据,而Arduino可以通过其Rx线读取数据。而围绕Arduino的另一种方法可以通过其Tx线发送他的数据,而ESP将在他的Rx线上读取该数据。


I've been trying to get the AT commands to run on my ESP8266. I failed on my first attempt using the approach described in this question I posted:

ESP8266 AT+CWLAP gives generic ERROR message with no details

So I decided to use a second approach which uses these official SDKs and Firmware:

ESP8266 NONOS SDK V2.0.0 20160810

ESP8266 Flash Tools

I connected my Arduino Uno as a bridge to my ESP8266 based on these pin connections:

ESP8266     |   Arduino
-----------------------
TX          |   TX
RX          |   RX
CH_PD       |   3.3V (separate battery that has common ground with arduino)
VCC         |   3.3V (separate battery that has common ground with arduino)
GND         |   GND
GPIO0       |   GND

I then set up the flash tool with these values:

Pressing Start in the flash tools seemed to have finished successfully.

But when I go into Arduino IDE Serial Monitor, typing AT or any other AT commands gets no response. I tried installing Realterm, and I set the baud to 115200, matched my COM7, checked LF CR line feeds, and then sent some AT commands but again, I get no response.

Anyone have suggestions on what might be wrong?

解决方案

You have connected the Tx of the ESP8266 to the Tx of the Arduino. And the Rx of the Arduino to the Rx of the ESP8266.

This is connected wrong. The Tx Line is to Transmit data and the Rx Line is to read data.

So data sent over the Tx of the ESP8266 should be send to the Rx line of the Arduino and the Tx line of the Arduino should be connected to the Rx of the ESP8266.

ESP8266     |   Arduino
-----------------------
TX          |   RX
RX          |   TX
CH_PD       |   3.3V (separate battery that has common ground with arduino)
VCC         |   3.3V (separate battery that has common ground with arduino)
GND         |   GND
GPIO0       |   GND

The ESP will send the data over its Tx Line and the Arduino can read that over his Rx Line. And the other way around the Arduino can send his data over its Tx Line and the ESP will read that data on his Rx Line

这篇关于ESP8266串行监控器未从官方AT固件响应的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆