Arduino Project wifi module esp-14 configuration

Thread Starter

hamzo

Joined Aug 23, 2018
1
hi,
i want ti configure an wifi module esp-14 with arduino using AT commands but it doesn't work i don't know where is the problem.To the arduino serial monitor it is written that the wifi shield is not present.I wonder if the pin connection are just VCC,GRD,TX and RX serial connectors.
Normally if you write AT the response have to be OK but it's not the case. I need help
 
hi,
i want ti configure an wifi module esp-14 with arduino using AT commands but it doesn't work i don't know where is the problem.To the arduino serial monitor it is written that the wifi shield is not present.I wonder if the pin connection are just VCC,GRD,TX and RX serial connectors.
Normally if you write AT the response have to be OK but it's not the case. I need help
You can do that as long as your esp-14 has been programmed with the AT command set (which may be the default but it could have been programmed with something else), but you will need a few more connections than the four you mentioned.

Take a look here for example. But there are some things to watch out for and remember that it is a 3.3V device. The net is full of examples, check them out.

Hope it helps.
 

shteii01

Joined Feb 19, 2010
4,644
Last edited:
That is very bad advice because esp8266 is sitting behind STM8 micro. You are not talking to ESP8266. You are talking to STM8. I don't see Arduino IDE supporting STM8, ESP-14:
https://github.com/arduino/Arduino/wiki/Unofficial-list-of-3rd-party-boards-support-urls

Take a look here: https://hackaday.com/2017/02/13/hacking-on-the-weirdest-esp-module/
Possibly, but I don't think so. The 14 is weird, but it looks like you can likely just bypass or passthrough the STM8 as long as you have the ESP flashed with the AT set (as I mentioned in my "very bad" advice).

Look here: https://benjamindejong.com/flashing-an-esp8266-esp-14/

Not just the simple interface to an Arduino using the serial port, but particularly on that page where someone asks:


"Have you found a way to do something ? AT Commands?"

and the author responds:

"Yes, it is no problem. If you have the default software on it, you can send AT comments to the Tx pin in my picture. If you dont have the default software, just reflash it."

So, that fellow too must be giving "very bad advice"

BTW, do you have one and know for sure that what I said is very bad advice - or are you just assuming it must be very bad advice because you disagree? Your response was simply "I don't think it works with Arduino software." So, I am wondering, because I don't have an ESP14 but have used other ESP's with an Arduino communicating through the serial port to use the AT command set. NOT flashing the ESP with Arduino software, just using a serial port on the Arduino to send AT commands.

Now, I will admit it and apologize if I gave very bad advice as you have accused me of doing, but I would like you to show me that it is very bad advice.

Nothing I read in the article that you linked shows me that it is very bad advice.

I do see this:

"According to the ESP-14 datasheet (PDF mirror of a datasheet we downloaded from Watterott), the intended use is to provide WiFi connectivity to the diminutive STM8S, through UART and using the ESP8266’s default AT command set firmware. Which is to say that if you’ve already got a slightly fancy light switch design that uses an STM8, you’re just a few AT commands away from having a super fancy IoT light switch with the ESP-14."

and this:
"Of course you could just use the ESP-14 as it was intended: a pre-compiled C firmware running on the STM8 and using the stock AT-command firmware on the ESP8266."

and this:
"Almost all of the pins of the ESP chip are locked inside the RF cage’s metal tomb — only the power, bootloader, and serial TX/RX pins see the light of day, and the TX/RX pins are shared with the STM8S."

But none of that means you can't connect it to a serial port and send it AT commands, and that is what the TP asked if it could do.

So, what do you got?
 

shteii01

Joined Feb 19, 2010
4,644
Possibly, but I don't think so. The 14 is weird, but it looks like you can likely just bypass or passthrough the STM8 as long as you have the ESP flashed with the AT set (as I mentioned in my "very bad" advice).

Look here: https://benjamindejong.com/flashing-an-esp8266-esp-14/

Not just the simple interface to an Arduino using the serial port, but particularly on that page where someone asks:


"Have you found a way to do something ? AT Commands?"

and the author responds:

"Yes, it is no problem. If you have the default software on it, you can send AT comments to the Tx pin in my picture. If you dont have the default software, just reflash it."

So, that fellow too must be giving "very bad advice"

BTW, do you have one and know for sure that what I said is very bad advice - or are you just assuming it must be very bad advice because you disagree? Your response was simply "I don't think it works with Arduino software." So, I am wondering, because I don't have an ESP14 but have used other ESP's with an Arduino communicating through the serial port to use the AT command set. NOT flashing the ESP with Arduino software, just using a serial port on the Arduino to send AT commands.

Now, I will admit it and apologize if I gave very bad advice as you have accused me of doing, but I would like you to show me that it is very bad advice.

Nothing I read in the article that you linked shows me that it is very bad advice.

I do see this:

"According to the ESP-14 datasheet (PDF mirror of a datasheet we downloaded from Watterott), the intended use is to provide WiFi connectivity to the diminutive STM8S, through UART and using the ESP8266’s default AT command set firmware. Which is to say that if you’ve already got a slightly fancy light switch design that uses an STM8, you’re just a few AT commands away from having a super fancy IoT light switch with the ESP-14."

and this:
"Of course you could just use the ESP-14 as it was intended: a pre-compiled C firmware running on the STM8 and using the stock AT-command firmware on the ESP8266."

and this:
"Almost all of the pins of the ESP chip are locked inside the RF cage’s metal tomb — only the power, bootloader, and serial TX/RX pins see the light of day, and the TX/RX pins are shared with the STM8S."

But none of that means you can't connect it to a serial port and send it AT commands, and that is what the TP asked if it could do.

So, what do you got?
https://hackaday.com/2017/02/13/hacking-on-the-weirdest-esp-module/ has all the "tools" needed to work with ESP-14. The problem is that OP is not using them.

At this point you and I have provided OP with lots of material. The problem, as I see it, is that English is not OP's native language so they are going to just ignore all the stuff you and I provided.

The hilarious part is that if OP bought a regular ESP8266 module, they could have hooked it up to pc, start Arduino IDE, and do stuff.
 
https://hackaday.com/2017/02/13/hacking-on-the-weirdest-esp-module/ has all the "tools" needed to work with ESP-14. The problem is that OP is not using them.

At this point you and I have provided OP with lots of material. The problem, as I see it, is that English is not OP's native language so they are going to just ignore all the stuff you and I provided.

The hilarious part is that if OP bought a regular ESP8266 module, they could have hooked it up to pc, start Arduino IDE, and do stuff.
Yes, you may very well be right and I certainly agree that if you just wanted AT commands, why deal with the headache of the ESP14. But, you did say that I had given very bad advice and that provoked a harsh response - sorry about that.
 
Top