-->
Page 1 of 2

[solved] helloserver not connecting to wifi using esp-01

PostPosted: Mon Apr 20, 2015 3:52 am
by magnets
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.

Re: helloserver not connecting to wifi using esp-01

PostPosted: Tue Apr 21, 2015 10:19 am
by Amit
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!

Re: helloserver not connecting to wifi using esp-01

PostPosted: Wed Apr 22, 2015 5:30 am
by magnets
oooo i'm using an ftdi serial clone to power the esp-01 i think it's good to 250mA but i do have a different power supply.
I'll try too. good tip!

Re: helloserver not connecting to wifi using esp-01

PostPosted: Mon May 18, 2015 7:52 pm
by magnets
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.