我一直在尝试让AT命令在我的ESP8266上运行。我第一次尝试使用我发布的问题中描述的方法时失败了:
ESP8266 AT+CWLAP gives generic ERROR message with no details
因此,我决定使用第二种方法,使用这些官方SDK和固件:
ESP8266 NONOS SDK V2.0.0 20160810
我将我的Arduino Uno作为桥连接到我的ESP8266,基于这些引脚连接:
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然后,我使用以下值设置flash工具:

在闪存工具中按Start似乎已成功完成。
但是当我进入Arduino IDE Serial Monitor时,输入AT或任何其他AT命令都没有得到响应。我尝试安装Realterm,我将波特率设置为115200,匹配我的COM7,检查LF CR换行符,然后发送一些AT命令,但再次,我没有得到响应。
有没有人对可能的错误有什么建议?
发布于 2019-03-10 15:36:01
Tx到Rx和Rx到Tx。Tx发送数据,Rx接收数据。Tx到Tx表示它们没有接收到任何数据。
发布于 2019-03-11 21:48:58
您已将ESP8266的Tx连接到Arduino的Tx。和Arduino的Rx到ESP8266的Rx。
这是错误的连接。Tx线路用于传输数据,而Rx线路用于读取数据。
因此,通过ESP8266的Tx发送的数据应该发送到Arduino的Rx线路,并且Arduino的Tx线路应该连接到ESP8266的Rx。
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 | GNDESP将通过它的Tx线路发送数据,Arduino可以通过他的Rx线路读取数据。另一方面,Arduino可以通过其Tx线路发送数据,ESP将在其Rx线路上读取该数据
https://stackoverflow.com/questions/55083897
复制相似问题