Unable to communicate Arduino Mega with ESP8266
Posted: Tue Feb 21, 2017 8:52 am
Hi,
Sorry for posting again. After weeks of trying out, I am still unable to get my arduino mega to communicate with ESP8266 chip and I am really very desperate and in need of help to get it to work.
As per usual, the mega GND is connected to esp8266 GND and mega 3.3V is connected to vcc and ch_pd of esp8266. Tried using an external supply to power the esp8266 but yields the same result (no response from esp8266). The TX of mega connects to RX of esp8266 (via 10k and 20k voltage divider) and RX of mega connects to TX of esp8266.
I have posted on different forums without a successful solution to my problem, and also search online for all sorts of tutorial but none came back positive. I have tried all possible combinations from online tutorial but none work.
My code is a simple code whereby command send in arduino serial monitor will be kept and send to the serial connected to esp8266 (mega has 4 hardware serial port). So far, the esp8266 is not responding to any AT command, even a simple 'AT' has no response back.
Please please help me, thank you so much in advance.
Sorry for posting again. After weeks of trying out, I am still unable to get my arduino mega to communicate with ESP8266 chip and I am really very desperate and in need of help to get it to work.
As per usual, the mega GND is connected to esp8266 GND and mega 3.3V is connected to vcc and ch_pd of esp8266. Tried using an external supply to power the esp8266 but yields the same result (no response from esp8266). The TX of mega connects to RX of esp8266 (via 10k and 20k voltage divider) and RX of mega connects to TX of esp8266.
I have posted on different forums without a successful solution to my problem, and also search online for all sorts of tutorial but none came back positive. I have tried all possible combinations from online tutorial but none work.
My code is a simple code whereby command send in arduino serial monitor will be kept and send to the serial connected to esp8266 (mega has 4 hardware serial port). So far, the esp8266 is not responding to any AT command, even a simple 'AT' has no response back.
Please please help me, thank you so much in advance.