I am have serious problems with getting my ESP8266 module (ESP-01) working with my Arduino Mega. I have looked at dozens of tutorials but I don't really understand how to set things up.
The ESP is connected to my Mega like this.
External 3.3V to ESP GND to ESP ESP TX to Arduino RX (Serial2) ESP RX to level shift to Arduino TX (Serial2)
The bridge for the chip enable is there as well. The modul lights up, I can even find the Soft AP it creates.
Now here is what I wish to do.
I want to connect the ESP to my WIFI network. Once it is connected, I want to use an Android device to send serial data to the ESP's IP. The Arduino will then need to read this data through the ESP.
For instance, I want to send a string to the ESP like this:
I have implemented this using an HC-06 bluetooth modul and everything is working fine, but I would like to switch to WIFI now.
The problem is, I can not get the ESP to react to any AT commands. Also I keep seeing people flashing some firmware on the ESP, is this necessary?
I'm simply not aware of the steps that need to be taken in order to send and receive basic raw serial data.
Thanks in advance!