[SOLVED] ESP-11 support

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
msome
Normal user
Posts: 3
Joined: 10 Feb 2017, 21:15

[SOLVED] ESP-11 support

#1 Post by msome » 10 Feb 2017, 21:25

Hello, I receiver ESP-11 Module und tried to program with R147_RC8 version.
It looks like programming succeeded with the ESP on tooling using serial report. Why I think successful? After restart there is an AP opened up with correct MAC-part inside its name.
Smartphone connect works and an 192.168.4.xxx IP is issued (DHCP).

Unfortunately when I try to access the config webpage on 192.168.4.1 it times out.
My experience is very limited, it is restricted to successful programming & config of 4 Sonoff devices...

Anyone having any guess what might be wrong to not be able to access the config webpage?
Did someone successfully flash & configure a ESP-11 device yet?

Thanks for any help.
Last edited by msome on 12 Feb 2017, 14:19, edited 1 time in total.

costo
Normal user
Posts: 490
Joined: 21 Nov 2015, 15:03

Re: ESP-11 support ?

#2 Post by costo » 11 Feb 2017, 16:29

The AP should have the name ESP_0.
AP name that has part of the MAC address in it means something is wrong.
Maybe there is some other software in memory which interferes with ESPEasy.

You can try this:
Short RX & TX temporary and reset the ESP.
That will clean the unused parts of the memory.
After that your ESP may have ESP-0 as AP_name which would be OK.

msome
Normal user
Posts: 3
Joined: 10 Feb 2017, 21:15

Re: ESP-11 support ?

#3 Post by msome » 12 Feb 2017, 09:37

Hi,

thanks for this. I tried to program with smaller binary (using the ESPEasy_R147_512.bin instead of the ESPEasy_R147_4096.bin binary) and finally I end up with ESP_0 access point.
No idea why the 4k binary does not work as expected but the 512 binary works - according to the flash-tool read-out, it's a 4k chip...

It's now also an protected AP, so I need the configesp default key to connect to the network. So far, so good.

Unfortunately the rest is same. I connect, get IP 192.168.4.2 (gateway 192.168.4.1). When I try to navigate to 192.168.4.1 I get a timeout in browser.

The serial console shows those messages (starting with releasing the reset-pin) --> see attachment.
Is there a possibility to get more debug messages on serial console ?

Thanks.
Attachments
flashing config where I got the ESP_0 AP name
flashing config where I got the ESP_0 AP name
flashing_success_correct_AP_name.jpg (136.66 KiB) Viewed 2915 times
flashing config where I got the ESP_mac AP name
flashing config where I got the ESP_mac AP name
flashing_success_wrong_AP_name.jpg (139.16 KiB) Viewed 2915 times
serial output
serial output
docklight1.jpg (104.01 KiB) Viewed 2915 times

Madbanana
Normal user
Posts: 13
Joined: 16 Oct 2016, 20:48

Re: ESP-11 support ?

#4 Post by Madbanana » 12 Feb 2017, 10:22

On occasions I've had this issue and the only solution is to enter details from the serial console. Start with typing setttings (then enter) which should basically say you are not connected to wifi.

Then WifiScan to view the APs, WifiSSID <SSID> for the one you want to connect to, WifiKey <Wifi WPA key> for the password. Then save to store to flash and power cycle. With any luck this should then connect.

Typing reset will clear the flash settings and maybe worth a try if the above doesn't work. Command set here if you don't already have it - http://www.letscontrolit.com/wiki/index ... _Reference - good luck!

msome
Normal user
Posts: 3
Joined: 10 Feb 2017, 21:15

Re: ESP-11 support ?

#5 Post by msome » 12 Feb 2017, 14:18

Hello,

great. Thanks. With the commands on serial console it worked. Connected to my home-WiFi and now I'm able to use the GUI.
Also the two GPIOs are working.

Thanks for the quick and great help !

Matthias

Madbanana
Normal user
Posts: 13
Joined: 16 Oct 2016, 20:48

Re: [SOLVED] ESP-11 support

#6 Post by Madbanana » 12 Feb 2017, 17:54

Excellent, that's great news! In the main these are really very stable but just occasionally they don't play as they should - so far I've always found a work around.

Post Reply

Who is online

Users browsing this forum: No registered users and 20 guests