I got kinda weird problem with Arduino and ESP8266 module.
I connected pins like this:
ESP TX -> Arduino 8
ESP RX -> Potentiometer (divide Arduino's 5V to 3.3V -> Arduino 7)
ESP GND -> Arduino GND -> Bench PS GND
EPS 3.3 -> Bench PS 3.3
EPS EN -> Bench PS 3.3
And I got this simple sketch
#include <SoftwareSerial.h>
SoftwareSerial mySerial(8, 7);
void setup()
{
//Serial.begin(9600);
Serial.begin(115200);
mySerial.begin(115200);
}
void loop()
{
if (mySerial.available())
Serial.write(mySerial.read());
if (Serial.available())
mySerial.write(Serial.read());
}
It looks like everything works just fine, when i try like AT it responds
AT
OK
But when I try like AT+GMR is does this
AT+GMR
AT version:1.1.0.0(May 11 2016 18:09:56)
SDK vershon:1.5.4(bep:0:
I won't gets the whole message. Same for listing APs with AT+CWLAP
AT+CWLAP
+CWLAP:(3,"APTest1",-52,"84:b5:26:73:75:87#,1,-12,0)
+CWLAP:(4,"APTest2"ff6PRPO,063
3aa0,+43,91+,F,11)(k8'⸮⸮
⸮J
Pi,5"
(_-79,W"-d:8Ld8bd,A "::1C"B,2"+3sc16+""::6C"⸮$⸮⸮⸮Ҫ⸮bJ
LPe:f6+"F416):W9cd3LUCcf6
5-0::,AC,671W"Ao":"
I also have a small programmer, that has 3.3V connections, so I can wire it directly from EPS to that programmer and when I try these command, it works just fine. Am I doing something wrong or is there something I'm missing ?
I'm using Arduino UNO
I know that I can program the ESP directly, I'd like to try that when I get this to work.
Thanks