ESP8266 No response in serial monitor from official AT firmware

倖福魔咒の 提交于 2019-12-11 15:39:11

问题


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?


回答1:


Tx to Rx & Rx to Tx. Tx send data and Rx receive them. Tx to Tx mean they dont have any data received.




回答2:


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



来源:https://stackoverflow.com/questions/55083897/esp8266-no-response-in-serial-monitor-from-official-at-firmware

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!