Arduino + ESP8266 weird behavior
Posted: Sat May 02, 2020 4:56 am
Hello,
I got kinda weird problem with Arduino and ESP8266 module.
I connected pins like this:
And I got this simple sketch
It looks like everything works just fine, when i try like AT it responds
But when I try like AT+GMR is does this
I won't gets the whole message. Same for listing APs with AT+CWLAP
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
I got kinda weird problem with Arduino and ESP8266 module.
I connected pins like this:
Code: Select all
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
Code: Select all
#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
Code: Select all
AT
OK
But when I try like AT+GMR is does this
Code: Select all
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
Code: Select all
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