i am connecting my esp8266 to my arduino nano
ESP Tx > Arudino Tx
ESP Rx > Arduino Rx
ESP 3.3v > Arduino 3v3
ESP Dh_cp > Arduino 3v3
ESP Gnd > Arduino Gnd
I am supplying arduino nano via usb and 12V at VIN, using a common ground for all
I have tried all baud rates and sent AT commands at all. The ESP8266's red light is always on and blue light only turns on at start, arduino's TX Red light is always on when ESP8266 is connected as well.
As a last resort, I tried flashing the ESP8266 with a firmware from the espressif site, i flashed the nonos sdk (non boot version) v2.0.0.
the Serial Monitor does not show anything on any baud rate
I have tried many codes i found online, like the code here : but mainly i use a blank code as i want to just connect the esp8266 to the arduino and get it to give some kind of feedback that it is working for now. like in this link : http://randomnerdtutorials.com/getting-started-with-esp8266-wifi-transceiver-review/
Using this code
#include <SoftwareSerial.h>
SoftwareSerial ESPserial(2, 3); // RX | TX
void setup()
{
Serial.begin(115200); // communication with the host computer
//while (!Serial) { ; }
// Start the software serial for communication with the ESP8266
ESPserial.begin(115200);
Serial.println("");
Serial.println("Remember to to set Both NL & CR in the serial monitor.");
Serial.println("Ready");
Serial.println("");
}
void loop()
{
// listen for communication from the ESP8266 and then write it to the serial monitor
if ( ESPserial.available() ) { Serial.write( ESPserial.read() ); } else { Serial. println("not ready");}
// listen for user input and send it to the ESP8266
if ( Serial.available() ) { ESPserial.write( Serial.read() ); }
}
the serial monitor constantly printed "not ready" so im guessing the ESP module is not available to be read from, but i dont know how we can diagnose the problem from this
when flashing i used baud rate 115200
Using this circuit to test as well http://www.martyncurrey.com/wp-content/uploads/2015/01/Arduino-to-ESP8266.jpg