ESP8266 ESP-12e not responding to AT commands

For the discussion of Arduino related topics.

Moderator: phalanx

Post Reply
alfa8400
Posts: 8
Joined: Sun Oct 01, 2017 10:57 am

ESP8266 ESP-12e not responding to AT commands

Post by alfa8400 » Sun Oct 01, 2017 11:20 am

Dear Sir,


I have an arduino uno r3 and the ESP8266 ESP-12e (by WangTongze).
Basically, I want to send 2 numbers from my arduino to my laptop, I haven't reached there yet.
I am trying to see if ESP8266 is working. I am sending AT commands but the ESP8266 is not responding.
I am using the LM1117 to get 3.3 V.
Here is the way that I have my connections:
Arduino ESP8266
Tx Tx
Rx Rx
Gnd Gnd
5V to the input pin of LM1117
The output pin of LM1117 is connected to the Vcc and CHP_EN of ESP8266
The Gnd pin of LM1117 is connected to the Gnd of Arduino and ESP8266

Can you please tell me what I do wrong?
I would very much appreciate your help.

User avatar
exeng
Posts: 53
Joined: Thu Jan 05, 2017 1:37 pm

Re: ESP8266 ESP-12e not responding to AT commands

Post by exeng » Sun Oct 01, 2017 8:38 pm

Try TX to RX and RX to TX.

alfa8400
Posts: 8
Joined: Sun Oct 01, 2017 10:57 am

Re: ESP8266 ESP-12e not responding to AT commands

Post by alfa8400 » Wed Oct 04, 2017 11:00 am

Thank you for your help, but still is not responding.
Do you have any other idea?

User avatar
exeng
Posts: 53
Joined: Thu Jan 05, 2017 1:37 pm

Re: ESP8266 ESP-12e not responding to AT commands

Post by exeng » Wed Oct 04, 2017 3:31 pm

Assuming you have hooked it up correctly my next thought would be to make sure that you have match the default baud rate of the ESP8266. Also check the reset line I think it needs to be pulled up.

alfa8400
Posts: 8
Joined: Sun Oct 01, 2017 10:57 am

Re: ESP8266 ESP-12e not responding to AT commands

Post by alfa8400 » Thu Oct 05, 2017 7:56 am

The default rate of ESP8266 is 115200. I use 9600
What exactly should I do with the reset line?

User avatar
exeng
Posts: 53
Joined: Thu Jan 05, 2017 1:37 pm

Re: ESP8266 ESP-12e not responding to AT commands

Post by exeng » Thu Oct 05, 2017 9:16 am

Set your baudrate to match and pull reset up as you did the CHP_EN.

alfa8400
Posts: 8
Joined: Sun Oct 01, 2017 10:57 am

Re: ESP8266 ESP-12e not responding to AT commands

Post by alfa8400 » Fri Oct 06, 2017 9:10 am

There is NO response

User avatar
exeng
Posts: 53
Joined: Thu Jan 05, 2017 1:37 pm

Re: ESP8266 ESP-12e not responding to AT commands

Post by exeng » Fri Oct 06, 2017 2:57 pm

Man I'm at a loss. How are you communicating with it? Also, try adding carriage return and line feed at the end of the AT command.

alfa8400
Posts: 8
Joined: Sun Oct 01, 2017 10:57 am

Re: ESP8266 ESP-12e not responding to AT commands

Post by alfa8400 » Sat Oct 07, 2017 7:36 am

It seems that my ESP8266 is damaged after I powered the RST pin. The red light doesn't lit anymore

User avatar
exeng
Posts: 53
Joined: Thu Jan 05, 2017 1:37 pm

Re: ESP8266 ESP-12e not responding to AT commands

Post by exeng » Sat Oct 07, 2017 9:28 am

Do you have the shield version of the ESP-12E or just an ESP-12E module?

Can't see how pulling up reset would damage it unless perhaps you applied 5V to it.

alfa8400
Posts: 8
Joined: Sun Oct 01, 2017 10:57 am

Re: ESP8266 ESP-12e not responding to AT commands

Post by alfa8400 » Sat Oct 07, 2017 10:45 am

I have an ESP-12E module and I applied 3.3V to RST pin.

User avatar
exeng
Posts: 53
Joined: Thu Jan 05, 2017 1:37 pm

Re: ESP8266 ESP-12e not responding to AT commands

Post by exeng » Sat Oct 07, 2017 4:02 pm

I would forget the reset pull-up and pull it to GND momentarily and see if a reset gets you back to where you were able to see the LED. If that works, I would get a 3.3v compatible FTDI board (if you don't have one already) and keep your attempt to talk to the board via AT commands simple by using a serial console instead of an Arduino (for now). A good FTDI board is a good tool to have in any case. With it connected correctly you should be able to see if the ESP board is booting and/or putting anything out on the console.

Search around the web and you should be able to fine examples of how to connect the ESP to a FTDI board. Hopefully your board in not damaged, just in need of a reset.

I only have ESP-01s. If I had a 12E module I would try to do what you are attempting to help figure this out.

BTW, my ESP-01 provides Wifi for a Mega 2560 that talks to ThingSpeak. I know that when I originally set it up I was able to send AT commands to it and that I most likely initially used a FTDI board (3.3v) to talk to it.

alfa8400
Posts: 8
Joined: Sun Oct 01, 2017 10:57 am

Re: ESP8266 ESP-12e not responding to AT commands

Post by alfa8400 » Sun Oct 08, 2017 11:13 am

I pulled the RST pin momentarily to GND but unfortunately it didn’t get back to normal with the red LED lit.

User avatar
exeng
Posts: 53
Joined: Thu Jan 05, 2017 1:37 pm

Re: ESP8266 ESP-12e not responding to AT commands

Post by exeng » Sun Oct 08, 2017 1:00 pm

I would get a good 3.3v capable FTDI board. You should be able to see if the ESP-12e is trying to boot with it. Also, if you need to re flash it the FTDI will come in handy. There are many versions FTDI available from very inexpensive to reasonably priced. You will not regret having this tool. I use the FTDI Friend from Adafruit. Sparkfun also offers FTDI boards and many others go for cheaper ones. It's well worth whatever you spend to have one of these at your disposal. Just make sure it is a good one (read reviews).

alfa8400
Posts: 8
Joined: Sun Oct 01, 2017 10:57 am

Re: ESP8266 ESP-12e not responding to AT commands

Post by alfa8400 » Mon Oct 09, 2017 8:36 am

I will order a good 3.3v capable FTDI board and try it again. Thank you

Post Reply