Downloading and installing the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By bitmanrc
#29356 Hello, my problem ESP8266-01 not connected on my router adsl

I have :
AT+RST


OK

ets Jan 8 2013,rst cause:2, boot mode:(3,7)

load 0x40100000, len 1396, room 16
tail 4
chksum 0x89
load 0x3ffe8000, len 776, room 4
tail 4
chksum 0xe8
load 0x3ffe8308, len 540, room 4
tail 8
chksum 0xc0
csum 0xc0

2nd boot version : 1.4(b1)
SPI Speed : 40MHz
SPI Mode : QIO
SPI Flash Size & Map: 8Mbit(512KB+512KB)
jump to run user1 @ 1000

????MEM CHECK FAIL!!!
?sl??r?
Ai-Thinker Technology Co. Ltd.

ready
AT+GMR

AT version:0.25.0.0(Jun 5 2015 16:27:16)
SDK version:1.1.1
Ai-Thinker Technology Co. Ltd.
Jun 23 2015 23:23:50

OK
AT+CWLAP

+CWLAP:(0,"elettricista",-83,"00:0c:f6:3c:b6:0a",10)
+CWLAP:(4,"ZyXEL2920r",-86,"c8:6c:87:62:3c:74",13)

OK
AT+CWJAP="elettricista","calabria"

+CWJAP:1

FAIL


help me, thank you
User avatar
By martinayotte
#29385 You need to turn the ESP in STA mode or STA+AP, it can be done using AT+CWMODE=1 or AT+CWMODE=3, then, after, you can send your AT+CWJAP command.
User avatar
By bitmanrc
#29389 thanks for your answer.
but wrong ...
I also used AT + CWDHCP = 2.0
but it worked only the first time, having removed the Arduino chip, then I put the chip, I made a stkech, but nothing done
removed the chip and Arduino riprovavo but does not connect.
then give a link to a sketch for Arduino UNO esp8266
thank you
User avatar
By martinayotte
#29392
bitmanrc wrote:thanks for your answer.
but wrong ...
I also used AT + CWDHCP = 2.0
but it worked only the first time, having removed the Arduino chip, then I put the chip, I made a stkech, but nothing done
removed the chip and Arduino riprovavo but does not connect.
then give a link to a sketch for Arduino UNO esp8266
thank you


Why are you saying "wrong" ?
You describe failure of AT+CWJAP, and if you are in AP mode (CWMODE=1) it will never work. You need to be in STA mode.
Also, why are you mentioning AT+CWDHCP ? This command is only for AP related DHCP service.
Are you confuse between AP and ST modes ?