-
Notifications
You must be signed in to change notification settings - Fork 13.3k
ESP12e WiFi not working using Arduino IDE, but working well in lua #2265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi, |
Same issue on ESP03... |
As you are using core 2.3.0, maybe you face the issue #2186 (comment). If you are new to esp8266/Arduino, then I would install core 2.2.0 instead of 2.3.0 and check if you are able to make ruining the following example sketches:
Krzysztof |
Yeah, I'm in fact using 2.3.0. I tried @SupotSaeEa's workaround and it seemed to fix the issue, was about to post the comment, @krzychb beat me to the punch. Workaround using version 2.3.0 and ESP03:
|
The workaround doesn't work for me. I am using an ESP-201 and cannot connect to any AP using WPA2-Personal and a simple SSID and password. I chose Generic ESP8266 as the board type. NodeMCU works fine. |
I'm guessing the workaround fixes the bug, or set of bugs, with the newer firmware on the older models. The ESP-201 seems to be fairly new. I'm guessing that's why it's not working out for you. If I were you, I'd try to find a workaround for the ESP-12, since the one you've got seems to be closer to that model. |
I subsequently tried a WeMos D1 Mini (rev 1), and a Doit.am ESP12E DEVKIT V2 (NodeMCU clone). I don't know where to begin to "find a workaround", other than to report the issue here. |
Yeah, same, I just got lucky finding a solution for mine. Just googled "site:github esp03 won't connect" or something like that, I forgot. |
Select NodeMCU 1.0(ESP-12E Module) as Board with the default settings,works like a charm |
Hello, i have the same problem. On me the NodeMCU (ESP-12E) don´t work. I cant get any Wifi connection |
Did you flash it first using node mcu flasher,
Order a custom build containing the wifi module and flash it on the esp 12e.
Try this and then start on lua
…On 25-Nov-2017 2:47 PM, "arnold-b" ***@***.***> wrote:
Hello,
i have the same problem. On me the NodeMCU (ESP-12E) don´t work. I cant
get any Wifi connection
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2265 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AfIIR43u6sw_6DnbAlNqZxvj8OT2cezwks5s59sZgaJpZM4JJuxN>
.
|
The default firmware doesn't have the wifi module
…On 25-Nov-2017 3:19 PM, "arnold-b" ***@***.***> wrote:
Thanks, i will try.
Till now i just installed the current lua firmware not the customized one
Von: parth-garg ***@***.***
Gesendet: Samstag, 25. November 2017 10:38
An: esp8266/Arduino
Cc: arnold-b; Comment
Betreff: Re: [esp8266/Arduino] ESP12e WiFi not working using Arduino IDE,
but working well in lua (#2265)
Did you flash it first using node mcu flasher,
Order a custom build containing the wifi module and flash it on the esp
12e.
Try this and then start on lua
On 25-Nov-2017 2:47 PM, "arnold-b" ***@***.***> wrote:
> Hello,
>
> i have the same problem. On me the NodeMCU (ESP-12E) don´t work. I cant
> get any Wifi connection
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <#2265 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AfIIR43u6sw_
6DnbAlNqZxvj8OT2cezwks5s59sZgaJpZM4JJuxN>
> .
>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <
#2265 (comment)> ,
or mute the thread <https://github.com/notifications/unsubscribe-
auth/AfTd2XIfRKHj1oepMe6R_f5-pjPPoPUsks5s5-ALgaJpZM4JJuxN> . <
https://github.com/notifications/beacon/AfTd2bQVA-n9kDYew-_
xtlUu7vxdIaFJks5s5-ALgaJpZM4JJuxN.gif>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2265 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AfIIR1ef_tW8myO7jv3rpHS5efDdXpkGks5s5-KzgaJpZM4JJuxN>
.
|
I am closing this due to lack of feedback from Op in over a month, and due to age. |
Hello, i just want to let you know.
Suddenly it works. That’s really strange.
I build a second Module. This one worked immediate. Then I tried the other module and suddenly this one also worked.
Von: Develo [mailto:[email protected]]
Gesendet: Sonntag, 26. November 2017 17:03
An: esp8266/Arduino
Cc: arnold-b; Mention
Betreff: Re: [esp8266/Arduino] ESP12e WiFi not working using Arduino IDE, but working well in lua (#2265)
Closed #2265 <#2265> .
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#2265 (comment)> , or mute the thread <https://github.com/notifications/unsubscribe-auth/AfTd2VujhT37akoDoCYouj7fQPtfoDABks5s6YutgaJpZM4JJuxN> . <https://github.com/notifications/beacon/AfTd2QsyI6AmemPdNVciMSVN3ZMdLd0Kks5s6YutgaJpZM4JJuxN.gif>
|
Sorry I didn't reply was a little busy,
Listen closely
1. Order a custom node mcu build as per your requirements.
2. When you get it, use the floating point version of that (we use the
floating point for added precision, the integer should work fine as well).
3. Use node mcu flasher to flash it to your esp
4. Before flashing bring esp to flash mode(press reset button, while
holding reset press flash button, leave flash button and then the reset
button)
5. Select your custom build and flash it on to the esp on the required
comport
…On 27-Nov-2017 1:48 AM, "arnold-b" ***@***.***> wrote:
Hello, i just want to let you know.
Suddenly it works. That’s really strange.
I build a second Module. This one worked immediate. Then I tried the other
module and suddenly this one also worked.
Von: Develo ***@***.***
Gesendet: Sonntag, 26. November 2017 17:03
An: esp8266/Arduino
Cc: arnold-b; Mention
Betreff: Re: [esp8266/Arduino] ESP12e WiFi not working using Arduino IDE,
but working well in lua (#2265)
Closed #2265 <#2265> .
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <
#2265 (comment)> , or
mute the thread <https://github.com/notifications/unsubscribe-auth/
AfTd2VujhT37akoDoCYouj7fQPtfoDABks5s6YutgaJpZM4JJuxN> . <
https://github.com/notifications/beacon/AfTd2QsyI6AmemPdNVciMSVN3ZMdLd
0Kks5s6YutgaJpZM4JJuxN.gif>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2265 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AfIIR0Vuzzy4mQ6XkWDS1oUIH9VqqBhAks5s6ceogaJpZM4JJuxN>
.
|
Also even if you're using arduino after having flashed the firmware, it
should work with arduino, though you might need to flash it again for kya
before working on that.
…On 27-Nov-2017 1:48 AM, "arnold-b" ***@***.***> wrote:
Hello, i just want to let you know.
Suddenly it works. That’s really strange.
I build a second Module. This one worked immediate. Then I tried the other
module and suddenly this one also worked.
Von: Develo ***@***.***
Gesendet: Sonntag, 26. November 2017 17:03
An: esp8266/Arduino
Cc: arnold-b; Mention
Betreff: Re: [esp8266/Arduino] ESP12e WiFi not working using Arduino IDE,
but working well in lua (#2265)
Closed #2265 <#2265> .
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <
#2265 (comment)> , or
mute the thread <https://github.com/notifications/unsubscribe-auth/
AfTd2VujhT37akoDoCYouj7fQPtfoDABks5s6YutgaJpZM4JJuxN> . <
https://github.com/notifications/beacon/AfTd2QsyI6AmemPdNVciMSVN3ZMdLd
0Kks5s6YutgaJpZM4JJuxN.gif>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2265 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AfIIR0Vuzzy4mQ6XkWDS1oUIH9VqqBhAks5s6ceogaJpZM4JJuxN>
.
|
Hello,
thank you.
You are right after i got it working with lua, it worked also in arduino.
Von: parth-garg [mailto:[email protected]]
Gesendet: Dienstag, 28. November 2017 12:08
An: esp8266/Arduino
Cc: arnold-b; Mention
Betreff: Re: [esp8266/Arduino] ESP12e WiFi not working using Arduino IDE, but working well in lua (#2265)
Also even if you're using arduino after having flashed the firmware, it
should work with arduino, though you might need to flash it again for kya
before working on that.
On 27-Nov-2017 1:48 AM, "arnold-b" ***@***.***> wrote:
Hello, i just want to let you know.
Suddenly it works. That’s really strange.
I build a second Module. This one worked immediate. Then I tried the other
module and suddenly this one also worked.
Von: Develo ***@***.***
Gesendet: Sonntag, 26. November 2017 17:03
An: esp8266/Arduino
Cc: arnold-b; Mention
Betreff: Re: [esp8266/Arduino] ESP12e WiFi not working using Arduino IDE,
but working well in lua (#2265)
Closed #2265 <#2265> .
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <
#2265 (comment)> , or
mute the thread <https://github.com/notifications/unsubscribe-auth/ <https://github.com/notifications/unsubscribe-auth/%0b>
AfTd2VujhT37akoDoCYouj7fQPtfoDABks5s6YutgaJpZM4JJuxN> . <
https://github.com/notifications/beacon/AfTd2QsyI6AmemPdNVciMSVN3ZMdLd
0Kks5s6YutgaJpZM4JJuxN.gif>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2265 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AfIIR0Vuzzy4mQ6XkWDS1oUIH9VqqBhAks5s6ceogaJpZM4JJuxN>
.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#2265 (comment)> , or mute the thread <https://github.com/notifications/unsubscribe-auth/AfTd2UnYT1zKZQ2ZYKKkqcW0FCqgxBdbks5s6-l7gaJpZM4JJuxN> . <https://github.com/notifications/beacon/AfTd2dAo32Ze4dRmNCj1MKvrws1zjfKqks5s6-l7gaJpZM4JJuxN.gif>
|
not sure if it is related - I had the problem that I did not see any networks on a WifiScan nor could I open up my own AP... problem was, that this particular ESP8266-12 was using crystal frequency of 26Mhz... Fix: Arduino IDE -> Tools -> (Selected Board: Generic ESP8266 Module) -> Crystal Frequency -> 26MHz Maybe it can help somebody |
thank you "parth-garg" it works |
@zeitwesen I would like to thank your post..... I've been looking a solution days and days..... but ESP12F didn't connect with nothing.... I was desperate but with "ONLY" change crystal frequency to 26 Mhz everything works fine..... So THANKS a lot !!!!!! |
Bro what is is problem . tell me details .
…On Tue, May 19, 2020 at 8:32 PM maximo80 ***@***.***> wrote:
not sure if it is related - I had the problem that I did not see any
networks on a WifiScan nor could I open up my own AP...
problem was, that this particular ESP8266-12 was using crystal frequency
of 26Mhz...
Fix: Arduino IDE -> Tools -> (Selected Board: Generic ESP8266 Module) ->
Crystal Frequency -> 26MHz
Maybe it can help somebody
@zeitwesen <https://github.com/zeitwesen> I would like to thank your
post..... I've been looking a solution days and days..... but ESP12F didn't
connect with nothing.... I was desperate but with "ONLY" change crystal
frequency to 26 Mhz everything works fine..... So THANKS a lot !!!!!!
This forum is very useful thanks to everybody.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2265 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APQTCDWDE4K55VXUDSIXDQTRSKJ7JANCNFSM4CJG5RGQ>
.
|
ESP12-E / ESP12-F select Board NodeMCU 1.0 . Do you want to connect ESP12E with arduino or USE ESP12E Standalone ? if you connect ESP12E with arduino , first you should flash ESP12E . if you need any help , contract me tokitahmid4 a t gma i l d otcom |
Bro How can i help you ? |
Please don't include your email address in a post/comment. |
OK |
thanks @tokitahmid4 I built a pcb with ESP12F but with ESP8266 arduino ide parameters didn't work, but only changing crystal frequency to 26 mhz in arduino ide, everything was oK. |
----------------------------- Remove above -----------------------------
Basic Infos
Hardware
Hardware: ESP-12E
Core Version: 2.3.0
Description
ESP12e WiFi not working using Arduino IDE, but working well in lua.
If I use the Nodemcu Firmware Programmer to put nodemcu inside my esp12e, I am able to configure WiFi in STA or in SOFTAP mode. I am able to connect to an AP, and when SOFTAP mode is started, I can see the new AP name using my smartphone.
But if I do the same in cpp, using Arduino IDE, in STA mode, the RSSI is always -31.
And in SOFTAP mode, the new AP name is not visible on my smartphone.
Someone has posted a similar issue at esp8266.com forum: http://www.esp8266.com/viewtopic.php?f=28&t=5890
The conclusion was that the programmer had chosen the wrong esp board while programming.
I don't think that I choose the wrong board. Isn't it?
Settings in IDE
Module: Generic ESP8266 Module
Flash Size: 4MB (3M)
CPU Frequency: 80Mhz
Flash Mode: dio
Flash Frequency: 40Mhz
Upload Using: SERIAL
Reset Method: ck
Sketch
Basic example from ArduinoIDE->ESP8266Wifi->NTPClient
The text was updated successfully, but these errors were encountered: