Arduino + ESP8266

Hi All,

Looking for a little help please:

I'm trying to connect a Uno to Wifi using an ESP8266 via software serial, I can get the ESP to connect to my router but when I try to retrieve the IP address I get the following gibberish:

WIFI CONNECTED
WIFI GOT IP
AT+CIFSR

+CIFSR:APIP,"192.168.4/1"
+CIFSR:@P⸮P(I*⸮⸮2⸮⸮⸮銚Һ⸮⸮⸮⸮j
+CIFSR:STAR⸮I⸮ʒrr
Ac

I believe the 192.168.4.1 isn't the true IP (I can't ping it any way), but I can't figure out how to get the true IP.

Any idea what is going on here?

Thanks in advance,

Mick.

are you using software serial at a high baud rate, e.g. 115200baud ?
on a UNO software serial can fail at above 38400baud
change the baud rate to 9600 or 19200baud?
post the code?

Thanks for the reply Horace,

I am using the standard baud rate of 115200 so that could well be the issue, I haven't got a clue how to change it in the ESP!

All sorted.

If anyone else reads this looking how to change the baud rate without a CP210 or such like simply type the following from serial monitor:

AT+UART_DEF=19200,8,1,0,0

If you don't want 19200 as your baud rate just replace that section, leave the rest alone.