About WIFI can not connect
Opened this issue · 11 comments
I like this project very much. I also bought the ESP32 WROOM-32 development board. The source code is compiled and uploaded to the development board. The TV also shows the time, but when I connect to the "ESP32 DALI CLOCK" WIFI through the mobile phone, it prompts "The network access is denied ". I used the laptop to connect to the WIFI again, but there was no prompt, but it was always in a state of being unable to connect. Please help me, thanks! cheers!
Please look at the serial monitor while connected via USB to see if there are any error messages that might help.
请在通过 USB 连接时查看串行监视器,看看是否有任何可能有帮助的错误消息。
ets Jul 29 2019 12:21:46
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:1344
load:0x40078000,len:13864
load:0x40080400,len:3608
entry 0x400805f0
no config file
Brownout detector was triggered
ets Jul 29 2019 12:21:46
rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:1344
load:0x40078000,len:13864
load:0x40080400,len:3608
entry 0x400805f0
no config file
Running AP atESP32 Clock with IP address 192.168.4.1
@38293312: Try connecting to the AP "ESP32 Clock" and then head over to http://192.168.4.1
@38293312: Try connecting to the AP "ESP32 Clock" and then head over to http://192.168.4.1
Mobile phone and computer cannot connect to the AP "ESP32 Clock"
Same here,, phone or PC fails to connect wifi.
No error messages in terminal.
Same problem here. Using ESP32 QT Py. Latest Arduino IDE, latest board defs, all libraries updated.
Generates the video fine. Generates the AP, which I can connect to. When I try to go to 192.168.4.1, nothing is returned. Tried different original architecture ESP32 boards with same results. Tried with both Chrome and Firefox browsers.
Warnings were generated during compiling regarding the use of constexpr char **. Examples:
D:\Documents\Arduino\esp32-dali-clock\esp32-dali-clock.ino:142:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
constexpr char ap_ssid = "ESP32 Dali Clock";
^~~~~~~~~~~~~~~~~~
D:\Documents\Arduino\esp32-dali-clock\esp32-dali-clock.ino:144:28: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings]
constexpr char * webpage = R"rawliteral(
Is it possible that the second warning might keep the config webpage content from being generated? Thanks in advance for any suggestions.
Serial Ouput:
19:01:53.789 ->
19:01:54.178 -> �aش)Q���~Rq�)[S��8�)Ey��!Z���@�aets Jul 29 2019 12:21:46
19:02:23.379 ->
19:02:23.379 -> rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
19:02:23.379 -> configsip: 271414342, SPIWP:0xee
19:02:23.379 -> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
19:02:23.379 -> mode:DIO, clock div:1
19:02:23.379 -> load:0x3fff0030,len:1184
19:02:23.379 -> load:0x40078000,len:13220
19:02:23.379 -> ho 0 tail 12 room 4
19:02:23.379 -> load:0x40080400,len:3028
19:02:23.379 -> entry 0x400805e4
19:02:31.910 -> no config file
19:02:32.256 -> Running AP atESP32 Dali Clock with IP address 192.168.4.1
I had a similar kind of error in that I could kinda connect to the AP but nothing loaded on 192.168.4.1 so I switched to the ESP32
Board Version 1.0.6 in the Arduino IDE and it suddenly worked just fine.
I found this bug fix here bitluni/DawnOfAV#9 and as this project and the one I linked to does use parts of @bitluni ESP32CompositeVideo I guess the bug comes from that project.
I am not sure if @bitluni or @marciot are willing to fix this but judging from their recent activity I am leaning more on us just needing to use the older board version.
Edit: I know the issue here is the WiFi and not the general video output so maybe it is just a coincidence and indeed a different error that @marciot or anyone else can fix on their own. Though I might add that I indeed had some instability in the video output using the most current board version which was also fixed by going back.
I just tested this project on an Adafruit HUZZAH32 Feather today using Arduino IDE 2.2.1 and I had no difficulties at all.
Thanks, I'll check my updates and give it another try
I just tested this project on an Adafruit HUZZAH32 Feather today using Arduino IDE 2.2.1 and I had no difficulties at all.
Yea, but you need to ensure the esp32 tool chain version is correct.
This works for me on v1.0.6 but not 2.0.0 or higher.