logo elektroda
logo elektroda
X
logo elektroda

Internet radio and audio file player on ESP32-S3

MAJSTER XXL 162309 1755
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
📢 Listen (AI):
  • #1741 21766730
    irysbox
    Level 13  
    i'm trying to figure out this remote i have receivers that seem to be good but it's something else because it doesn't read the configuration from the card i have a chinese hw203 when i insert the card i get signals from the remote all the time there is a conflict but i have the connection ok :) because I have checked several times when switching on it does not read the card and does not write so this type of reader is probably not good swap does not help so this model some Chinese :) try with minisd
  • ADVERTISEMENT
  • #1742 21766789
    dawidkosciesza
    Level 3  
    Hello.
    I have assembled my first radio and it plays :D
    I still have to configure the remote control and create and configure the buttons on the keyboard.
    I have noticed that it is not displaying the kHZ information to me. Anyone have an idea what this could be due to? Could the lack of a sd card affect this?

    I will immediately ask about the buttons on the keyboard, what are the best resistor values for the ladder? Someone may have a ready-made version that could be plugged in and customised for themselves?
    Assembled ESP32 Web Radio board with display and connected cables
  • #1744 21766842
    robgold
    Level 21  
    >>21766730 So now I am looking at the project of my colleague @dawidkosciesz and the question occurs to me did you disable the RGB LED on the ESP board ?
    The LED is on the same PINs as the SD card maybe this causes a conflict. Second thing, Chinese readers often have strange pull-ups, different resistors. Check the reader's wiring diagram carefully.

    @dawidkosciesza the audio information is sent by the audio library. The question is what version of the library do you have ? Take a look at the terminal, you should see there the information as below. The important thing is if this is exactly what it says or if you have without (Hz) in brackets.

    Code: C / C++
    Log in, to see the code
  • ADVERTISEMENT
  • #1745 21766993
    dawidkosciesza
    Level 3  
    @robgold I will check the library when I am home, I think I have ESP-audioI2S-master v3.4.2

    As for the sd card, I haven't put one in yet, I'll have to look somewhere in the junk for some old one. But good to know that you need to turn off the RGB diode.

    I'd like to put this radio into the casing from the Diora AS 502 radio, and I was thinking about changing these starting notes to the Diora logo. I guess that the image code needs to be changed. I just don't know what settings and in what to create it.

    I can also send a PCB to someone, I have 5pcs. Two I have to give away. If you have any questions, please ask priv.
  • ADVERTISEMENT
  • #1746 21767118
    DJCheester
    Level 26  
    Welcome

    Fellow Robgold should I use this Audio_i2s_commit08.11.2025 or the October one ???
    What gives the new one because I still have the old one substituted ??
  • #1747 21767146
    robgold
    Level 21  
    >>21767118 Yes, I at my place try to test regularly the LATEST set with all commits available on the author's GitHub (Wolle), sometimes I put up threads that something is not working, sometimes I also see my colleague @hevet there with interesting finds and bugs in the library.

    Version 3.4.2 can still output SampleRate info as:
    "info: ....... SampleRate: 44100"

    therefore the program gets lost. Generally 3.4.2 has some bugs, so I recommend to download 3.4.3 and unfortunately you have to manually delete compilation files (so called *.o) and change versions in files describing the library otherwise Arduino will think that there are no changes and will not recompile this new one (there is a mistake in library description and even though it is version 3.4.3 it is still signed as 3.4.2)
  • #1748 21767262
    DJCheester
    Level 26  
    dawidkosciesza wrote:
    Hello.
    I have assembled my first radio and it plays :D
    I still have to configure the remote control and create and configure the buttons on the keyboard.
    I have noticed that it is not displaying the kHZ information to me. Anyone have an idea what this could be due to? Could the lack of a sd card affect this?

    I will immediately ask about the buttons on the keyboard, what are the best resistor values for the ladder? Someone may have a ready-made version that could be plugged in and customised for themselves?
    Assembled ESP32 Web Radio board with display and connected cables


    Another satisfied colleague ;)

    Added after 24 [minutes]:

    Hello for me unfortunately this app does not work.

    I have from the phone the net shared for this reason also my browser did not work. Then kol Robgold corrected something and it worked. Maybe it is similar here.

    Internet radio and audio file player on ESP32-S3

    Greetings ...
  • #1749 21767317
    robgold
    Level 21  
    >>21767262 Unfortunately. As the phone works as a rotuer it at the same time does not work wifi in the client session. This is already a limitation of the phone.
  • #1750 21767332
    DJCheester
    Level 26  
    Well, it can't be done ;( pity, but there remains a website where everything works ;)
  • ADVERTISEMENT
  • #1751 21767339
    robgold
    Level 21  
    >>21767332 And does the site work for you on the same phone under adrrs ip cxy evoradio.local ? Because if the latter and mdns works then the app should work too. Click the home button at the top when you open it.
  • #1752 21767341
    DJCheester
    Level 26  
    Nothing this button does is the same
  • #1753 21767379
    dawidkosciesza
    Level 3  
    >>21766842

    I managed to read :
    info: ....... Channels: 2
    info: ....... SampleRate: 44100
    info: ....... BitsPerSample: 16
    info: ....... BitRate: 128000

    This is what it looks like. Where to get ESP32-audioI2S-master v3.4.3 from ?

    One more question. Does the power button only work when powered from the usb-c socket from the PCB?

    I have version v3.4.3 now I will try to upload it.
  • #1754 21767458
    robgold
    Level 21  
    >>21767379 Then you already have the answer, the firmware 3.19.xx looks up to the characters (Hz) and that is not there so you have 0.0Khz
    The library is on my GitHub but you can also download from the author: Link only from src directory not from official release.

    You copy the library here replacing the old files with these new ones:
    C:USERSAppDataLocalArduino15Arduino15AudioI2S-master src

    In addition, as I wrote you need to locate the sketch compilation file is somewhere here: C:USER NAMEAppDataLocalArduino sketches...............8BBC358Cthese numbers-letters will be different. Inside, delete the Audio library or preferably ALL after uploading the new library.

    Internet radio and audio file player on ESP32-S3

    The POWER button is actually the Encoder2 button and if you have it on, also the Encoder 1. You have to hold them down for about 4 seconds to do Power OFF and about 300ms to do Power ON. On the remote control it works immediately OFF and ON.
  • #1755 21767466
    dawidkosciesza
    Level 3  
    I think I did everything right. Except that in my case the libraries were in the location:
    C:user_nameDocumentsArduinolibraries

    I am now compiling and uploading. We'll see if it helps ;)

    21:55:51.389 -> info: ....... Channels: 2
    21:55:51.389 -> info: ....... SampleRate (Hz): 44100
    21:55:51.389 -> info: ....... BitsPerSample: 16

    Works, thanks very much for your help :)

    And that power switch connector on the board what is it for?
📢 Listen (AI):

Topic summary

The discussion centers on the development of an internet radio and audio file player based on the ESP32-S3-WROOM-1 module, featuring a custom-designed prototype PCB with OLED display and user controls including rotary encoders and buttons. Key challenges addressed include pin spacing discrepancies in the ESP32-S3 module footprint, integration of Wi-Fi connectivity with dynamic station list updates, and handling of Polish character encoding on the OLED display. The project uses Arduino IDE (version 2.3.2) with ESP-IDF support and requires enabling PSRAM. Audio playback supports MP3, AAC, and FLAC streams, with the ESP32-audioI2S library recommended over the incompatible Audio library. Users reported issues with SPI MISO pin assignment causing bootloader conflicts, resolved by reassigning MISO to pin 35. The project incorporates WiFiManager for network configuration, EEPROM and SD card storage for saving last played station and settings, and includes plans for tone control via an external KA2107 equalizer and a CS8673 amplifier module. Problems with encoder input stability and memory limitations for Bluetooth A2DP on ESP32-S3 were noted. The community suggested alternatives like KaRadio and ESP32-MiniWebRadio projects. Debugging tips include serial terminal logs for HTTP errors and flash memory erasure to resolve boot loops. The project is open-source on GitHub, encouraging forks and modifications. Additional features under development include browser-based updates, directory navigation, and potential audio recording to SD card.
Summary generated by the language model.
ADVERTISEMENT