so AP wasn't working before and now it works? how far are you from the WiFi router of you network? isn't your module a PRO version with external antenna connector and without on-board antenna?
Yes, that's right AP now works after setting the crystal frequency correctly.
My router is about a foot away from the board.
I'm using this board: Amazon.com
try other rooter or a hotspot function on a smartphone
I don't have another router to try at the moment, but I enabled the hotspot feature on my phone and found the network once out of about 20 or so scans. The first scan found it, then none of the rest did.
Edit-a direct connection attempt via SSID and password to the hotspot did not work.
Edit 2- after giving it about 5 minutes, it finally printed out an IP address indicating that it successfully connected. It seems to have really spotty connectivity.
What do you think might be causing my hotspot but not my router to be visible to my board? Also, why does it only ocassionally detect the hotspot?
Well, I ordered another ESP 12E board Amazon.com from a different manufacturer a few days ago in case I was actually having a hardware issue. This particular board's crystal runs at 26 MHz, so I changed the boards.txt to reflect this from 40 MHz as the new board uses the same firmware as the other board.
This board works great, and the WiFi connects immediately to my router, and sees the networks on the WiFi scan sketch.
Any ideas as to why my other board still has the problem? Maybe it's just a bad WiFi chip? Or perhaps something else involving the firmware is having an effect?
Hello,
I have the same problem : I am not able to get connected to my Wifi router (1meter distance).
My version is from amazon: AZDelivery Módulo WiFi NodeMCU Lua Lolin V3 ESP8266 ESP-12E WiFi Placa de Desarrollo con CH340 para Arduino.
When I try to connect, I get the following status : WL_NO_SSID_AVAIL - in case configured SSID cannot be reached
when I Scan the available Wifi, i can see 10 wifi, but mine is never detected
scan start
scan done
10 networks found
1: MOVISTAR_C9C5 (-81)*
2: vodafone0161 (-91)*
3: JAZZTEL_T9CE (-96)*
4: MIWIFI_2G_qEAi (-62)*
5: Orange-F2A8 (-95)*
6: MOVISTAR_D07A (-94)*
7: vodafone80C3 (-58)*
8: ONOFC30 (-85)*
9: JAZZTEL_HpTX (-57)*
10: Orange-3D22 (-85)*
I checked the following :
- The band : 2,4GHz
- Channel : Auto
- Hidden SSID : false
- Bandwidth : 20MHz
any idea ? the only solution is to buy from another brand ?
Thank you,
Chris
chris44000:
Hello,
I have the same problem : I am not able to get connected to my Wifi router (1meter distance).
My version is from amazon: AZDelivery Módulo WiFi NodeMCU Lua Lolin V3 ESP8266 ESP-12E WiFi Placa de Desarrollo con CH340 para Arduino.When I try to connect, I get the following status : WL_NO_SSID_AVAIL - in case configured SSID cannot be reached
when I Scan the available Wifi, i can see 10 wifi, but mine is never detected
scan start
scan done
10 networks found
1: MOVISTAR_C9C5 (-81)*
2: vodafone0161 (-91)*
3: JAZZTEL_T9CE (-96)*
4: MIWIFI_2G_qEAi (-62)*
5: Orange-F2A8 (-95)*
6: MOVISTAR_D07A (-94)*
7: vodafone80C3 (-58)*
8: ONOFC30 (-85)*
9: JAZZTEL_HpTX (-57)*
10: Orange-3D22 (-85)*
I checked the following : - The band : 2,4GHz - Channel : Auto - Hidden SSID : false - Bandwidth : 20MHz any idea ? the only solution is to buy from another brand ? :sob: Thank you, Chris
is the router 2.4GHz?
Yes, it is one of the points that I checked.
additional information is that my router has 2 Wifi with 2 distinct SSID :
- one SSID of 2.4GHz
- one SSID of 5GHz
Obviously, I used the SSID of 2.4GHz.
As I was desesperated, I also tried the SSID of 5GHz.
Attached, my router wireless configuration for 2.4GHz SSID . Is everything OK ?
try to erase the flash of the esp8266 with esptool to clear old RF settings and then upload the sketch from IDE
Hello,
I tried to erase the flash of the esp8266 with esptool successfuly.
I get the version of the frimware on https://nodemcu-build.com/
sudo python esptool.py --baud 115200 --port /dev/tty.wchusbserial1420 write_flash -fm dio 0x00000 /.../nodemcu-master-8-modules-2018-11-26-21-36-08-integer.bin
esptool.py v2.6-beta1
Serial port /dev/tty.wchusbserial1420
Connecting....
Detecting chip type... ESP8266
Chip is ESP8266EX
Features: WiFi
MAC: 84:f3:eb:52:fe:36
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Auto-detected Flash size: 4MB
Flash params set to 0x0240
Compressed 425984 bytes to 274277...
Wrote 425984 bytes (274277 compressed) at 0x00000000 in 24.5 seconds (effective 138.8 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
After installing the new firmware, I upload the sketch "wifiScan" and I get the same result: my wifi is not detected but other wifi are detected.
Any idea ?
Thank you
I found the problem... as said before, I had 2 wifi available on my router..
The one that I tried to connect, 2.4GHz, was... disabled...
after enable it, I was able to connect !
many thanks for your help. At leas, I learned how to flash the card.
bye
Hi i have the same problem as you i just byed a node mcu board i am sure my sketch is good although i cant connect to my wifi..Any ideas? CAN you elaborate
What Chris44000 said was that his router had only the 5Ghz wifi activated
The esp only connects to 2.4GHz WiFi so that’s what he activated in his router/internet box
Usually it’s just a tick in a box