Search found 4 matches

by stevestrong
Tue Feb 13, 2024 2:03 pm
Forum: ESP8266
Topic: ESP8266 Internet Radio unreliable WiFi data
Replies: 5
Views: 3053

Re: ESP8266 Internet Radio unreliable WiFi data

Everybody has obsolete smartphones in their drawers. They are perfect to listen to radio streams. No need to tease an ESP8266 for that. I am doing this not because there are no other (better) ways to accomplish that, but because I want to do it ;) . The main reason is that I have a portable broken ...
by stevestrong
Tue Feb 13, 2024 1:57 pm
Forum: ESP8266
Topic: ESP8266 Internet Radio unreliable WiFi data
Replies: 5
Views: 3053

Re: ESP8266 Internet Radio unreliable WiFi data

Without seeing your code, I can't be sure... but you can't just continuously read in a loop and not return control to the processor. Assuming you are using the Arduino IDE coding style, you have to return control from the loop() in a timely manner. This is well documented, so yes, it is known. The ...
by stevestrong
Mon Feb 12, 2024 8:44 am
Forum: ESP8266
Topic: ESP8266 Internet Radio unreliable WiFi data
Replies: 5
Views: 3053

Re: ESP8266 Internet Radio unreliable WiFi data

Just for those interested: I have searched more about the techniques how to best consume streams, and I figured out that the solution is to read from internet client only if the decoder (VS1003 in my case) needs data. So now I fill up the buffer, start streaming, and read from client as long as ther...
by stevestrong
Sun Feb 11, 2024 9:24 pm
Forum: ESP8266
Topic: ESP8266 Internet Radio unreliable WiFi data
Replies: 5
Views: 3053

ESP8266 Internet Radio unreliable WiFi data

Hello, I used a very simple WiFi client to connect to an internet radio stream on a ESP8266 Node V3 board. I have a big problems with the data reception reliability: - if I try to receive the data as quick as possible (main loop basically containing if client connected and if client available then r...