I am trying to get the ESP8266 work with Arduino AT commands. I am using the due. How do I get the ESP8266 to respond with anything other than ERROR?
Here is the current serial output:
AT
ERROR
Here is my code:
void setup() {
Serial.begin(9600);
Serial3.begin(115200); //Manufacture said this is the correct baud rate
}
void loop() {
if ( Serial3.available() ) { Serial.write( Serial3.read() ); }
if ( Serial.available() ) { Serial3.write( Serial.read() ); }
}
Here are my pin connections:
RX3 -> ESP TX
TX3 -> ESP RX
GND -> GND
3.3V -> CH_PD + VCC