schreibfaul1 / ESP32-MiniWebRadio

Internetradio with ESP32, I2S DAC and SPI TFT Display with Touchpad

Home Page:https://www.youtube.com/watch?v=6QbPee2583o

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to deal with connecting to wifi

nereusHD opened this issue · comments

Hello. I would like to share a description of my adventure with building a radio. All elements from alli, i.e.: N16R8, ILI9488, PCM5102A, KCX Bluetooth Transmitter. I tried each subsequent version and each time the first launch resulted in a failure to connect to WiFi (SSID and password included in the sketch). The second launch and each subsequent one without problems. This was the case until the version with Bluetooth part 16 appeared. Then the first connection problems occurred. Currently, the radio connects after up to a dozen attempts. I noticed that when I want to select a Wi-Fi network via the web interface, my network is detected only if it is not saved in the sketch, but the radio finds non-existent networks, or at least those that my tablet with the Wi-Fi monitor application installed does not find. I tried erasing the flash, putting my network data in the networks file on the SD card and not in the sketch itself, unfortunately with no visible results. I just wonder why it worked and stopped. It's a pity because the project is great. My idea is to maybe retry the connection programmatically?

Hello, I have also noticed this. The KCX_BT_Emitter and WiFi use the same frequency range. This may be the reason for the difficulties. I will analyse this in more detail soon.