I am using ESP8266 - 01(baud rate - 115200) with Arduino Uno for my project. I interfaced ESP to Arduino Serial Monitor by uploading bare minimum code to Uno. The ESP responds to the AT commands correctly. But when trying to connect ESP with an arduino sketch it did not respond.
Try reducing the baud rate to 9600. Newer ESP8266 boards prefer the lower rate. I'm having success communicating at 9600 with Sparkfun's ESP8266 WiFi shield from an Arduino Uno.
The connection between Arduino Uno and ESP8266 is as shown below.
Arduino TX -> ESP TX
Arduino RX -> ESP RX
This is the connection that works with serial monitor. I tried by switching the connections as shown below but no luck in serial monitor and arduino sketch.
Labspace:
The connection between Arduino Uno and ESP8266 is as shown below.
Arduino TX -> ESP TX
Arduino RX -> ESP RX
This is the connection that works with serial monitor. I tried by switching the connections as shown below but no luck in serial monitor and arduino sketch.