Example sketches for the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By magnets
#15099 hello,
I'm hoping this is an easy one, i've had a bit of a search on this forum but not found anything.

I can load the example helloserver (or the example wificlient) onto my esp-01 module.

it seems happy
Code: Select allSketch uses 196,248 bytes (37%) of program storage space. Maximum is 524,288 bytes.
Uploading 35920 bytes from /tmp/build3143359734979143388.tmp/WiFiClient.cpp_00000.bin to flash at 0x00000000
....................................
Uploading 160376 bytes from /tmp/build3143359734979143388.tmp/WiFiClient.cpp_40000.bin to flash at 0x00040000


and when i open the serial monitor i get

Code: Select all...............................................................................................


but that's all i get.
It never connects to the access point
i've tried with two different wifi networks, and used my phone to check i have the ssid and password correct.
but it just gives me the dots, it never says connected.

any ideas?
i was surprised that i didn't have to restart the module before the script starts running.

i'm running ubuntu 14.04 64 bit
i had arduino running separately for the normal arduinos and i'm calling the esp8266 build separately.
(as in, to run the esp on i go to the console and type
Code: Select allESParduino-1.6.1/arduino
rather than just clicking on the arduino icon.
Last edited by magnets on Mon May 18, 2015 7:52 pm, edited 1 time in total.
User avatar
By Amit
#15201 Same problem here!
Do we need to change the mode here?
Also i can see my module as access point! does it work as both access point and client!

Someone told, it is power supply, ill try tomorrow with external power!
User avatar
By magnets
#17801 fixed!
power supply was probably an issue but not the cause.
I love these little modules. but i think documentation is an issue.

the eventual problem was a part of the flash doesn't get overwritten during the arduino firmware write. this part was corrupted.
the lua firmware also does not overwrite this section of flash.

in the end i reflashed the original at firmware onto the module and then i tied reset to 3.3 through a 1K ohm resister.
I had been leaving reset floating and this is most likely the cause of my issues.

since then, it's been bullet proof.