Edzelf / ESP32-Radio

Internet radio based on ESP32, VS1053 and a TFT screen.
GNU General Public License v3.0
965 stars 227 forks source link

Unreliabe #389

Closed FrankBoesing closed 3 years ago

FrankBoesing commented 3 years ago

There are many dropouts and very often streams do not start at all.

The power is supplied by a 3A USB power supply, this is not the reason.

I have a reliable 50MBit internet connection. On the PC I have no such problems.

I use the Heltec board with OLED (wifi Kit32)

What could be the reason?

Edzelf commented 3 years ago

Bad luck I guess.....

FrankBoesing commented 3 years ago

Does it make sense to try an other board?

Edzelf commented 3 years ago

Yes, I would try that. If that fails, try a different Internet connection.

FrankBoesing commented 3 years ago

...I read in an other issue the hint to disable the updates. So I added a //#define OTA and

#if OTA
#include <ArduinoOTA.h>
#include <Update.h>
#endif

and added this switch to all parts in the ino which use these libs.

:) Works reliable now. I guess there is either a bug somewhere (or a timing/memory problem)?

I can add a pullrequest, if you want me to.

FrankBoesing commented 3 years ago

I added a short wire as Antenna. Way better now. Thanks.