logo elektroda
logo elektroda
X
logo elektroda

Internet radio and audio file player on ESP32-S3

MAJSTER XXL 167382 1835
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
📢 Listen (AI):
  • #1771 21769292
    ejcon
    Level 15  
    >>21769281 Try uploading the entire bin via the website and you should have everything
  • ADVERTISEMENT
  • #1772 21769331
    dawidkosciesza
    Level 8  
    >>21769292 What do you mean by writing whole bin? :O
  • #1773 21769347
    robgold
    Level 21  
    >>21769281 This means you have an old audio library not from the Wolle repository but from the Arduino, This is a typical station problem with AAC streaming.

    OTA is implemented in the Evo. You go to Menu, click OTA (Over The Air Update), point to the BIN file (it's on GitHub) and it loads all the soft pre-compiled by me. Everything should work.

    Added after 18 [minutes]:

    @gaborbalint919, @DJCheester

    In the latest version 3.19.50, when a logo file is placed on the SD card or in SPIFFS memory, the radio itself will display it instead of the notes. Details on the next soft release.
  • #1774 21769377
    dawidkosciesza
    Level 8  
    >>21769347

    This couldn't have been mentioned to me before :O and I already uploaded the whole arduino and all libraries from scratch XD
    Well nothing, it's always some experience :D

    I gave up, despite re-uploading everything from scratch the stations still didn't work and the radio would hang.

    After uploading the .bin file everything works :)

    But I didn't give up, I noticed that I didn't upload some files and despite uploading the bin I recompiled my sketch again, uploaded it and it works :D
    And I care about the possibility of modifying the code, because I would like to polish a few words for the father-in-law ;) apparently there is not much in English, but even the calendar itself if it will be in Polish it will be pleasing to the eye :D
  • #1775 21769468
    DJCheester
    Level 27  
    Hi do as per the instructions me everything works except that changes will be necessary in the code regarding the keyboard you are going to make. So it won't pass you by anyway....

    I am specifically listening to station 12 Radio 357 right now and it plays flawlessly.
  • #1776 21769673
    robgold
    Level 21  
    Welcome

    BANK UPDATE

    As promised, there has been an update of all memory banks on GitHub for the Evo version. All previous banks are in the "arch" directory.
    I have cleaned up a lot of stations, quite a few were deleted due to either not working or duplication of the same station in several banks.

    Information for new colleagues
    Radio Evo downloads a given memory bank only once on first start-up. It is then stored on the SD card or in SPIFFS memory (according to configuration). To update a given bank from the network, press the button assigned to the DIRECT/OK function in the Bank selection menu. The display will show "NETWORK UPDATE", after pressing OK the given bank will be downloaded from GitHub again and overwritten on the SD card. This is how you should proceed with each of the 16 banks. There is a 'lazy man' option, you can delete all bank01.txt to bank16.txt files from the card then the radio will download it from GitHub when switching to a given bank. Thanks to the selective update of each bank separately, you can e.g.: download only the Rock, Christmas themed banks and leave Bank01 with your favourite stations.

    Bank layout:
    Bank 1 - this is the kind of collection of stations I listen to most often, everyone can set it up for themselves. These are my "favourites".
    Bank 2 - Mix of stations
    Bank 3 - Local stations, mainly large cities
    Bank 4 - The 181.FM group
    Bank 5 - RMF group
    Bank 6 - Blues, Jazz, Chill, Smooth and Relax stations
    Bank 7 - Polish Radio, stations with classical music - here a lot of PR stations are not broadcasting even though the Icecast server is working. I left these stations, we will see how the situation develops
    Bank 8 - Mix of stations plus ZET group
    Bank 9 - Mix of stations
    Bank 10 - Mix of stations
    Bank 11 - Mix of stations
    Bank 12 - Rock
    Bank 13 - Mix of stations, mainly foreign
    Bank 14 - Mix of stations plus the FluxFM group
    Bank 15 - Stations with Christmas music, on the occasion of the upcoming holidays, maybe someone will feel like listening to them
    Bank 16 - Mix of stations - CD Quality FLAC format, 16bit, up to 1500kbps

    There was an idea to add more banks to the radio (17, 18...etc.) but after doing an "inventory" it turned out to be so empty in some banks that we even managed to dedicate one bank - Bank 15 - to Christmas themed music. If you have any stations worth adding then please post I will be happy to add them.

    Important information
    Bank 15 is organised in a new style. There is no station number, no bank number in the name of the station itself. See if such a format would not be more convenient. At the same time, this is the only bank that cannot be edited by the Bank Editor.

    There is also something like the Bank Editor available in Evo, it allows you to read a bank from the radio or from GitHub, edit the station in question or rearrange the order and send it back to the radio.

    Enjoy listening !
  • #1777 21769779
    hevet
    Level 17  
    @robgold thematic stations of Polish radio are unlikely to return, they have not been working for several weeks, on the Polish radio website, the link to the online stations redirects to the homepage.
  • #1778 21769800
    efi222
    Level 20  
    One wonders what purpose such changes are supposed to serve....
  • ADVERTISEMENT
  • #1779 21769814
    DJCheester
    Level 27  
    For some time now (without getting into politics because this is not the forum for that) we have been observing strange and incomprehensible movements of Polish TV stations as well as radio stations I am talking about TVP and KRRiT. So it doesn't surprise me that something out of the blue has been and gone.

    Greetings ...
  • ADVERTISEMENT
  • #1781 21769820
    DJCheester
    Level 27  
    That's why I didn't write anything else 😁
  • #1782 21769828
    robgold
    Level 21  
    Interesting fact about Polskie Radio: I don't know if I haven't noticed or if they have actually changed the bitrate of Channel 2. Because they often have classical music there, they now broadcast at 320kbps, whereas I think it was 192, just like Jedynka and Trójka.
  • #1783 21769832
    hevet
    Level 17  
    In AAC it's 320, in MP3 it's 192, it's the same in PR Chopin.
  • #1784 21769835
    robgold
    Level 21  
    >>21769832 And do you have a link to the AAC of One and Three for 320kbps ? I tried according to the scheme for Two but it didn't work.
  • #1785 21769837
    hevet
    Level 17  
    Only Two and Chopin have AAC in 320. Unless it's in HLS, there's a high bitrate there, although I can see that they've probably trimmed it down because it's not over 200, and yes it was over 300.
  • #1786 21770297
    amrowek
    Level 12  
    Eh gentlemen, is it possible to buy this board with the components already soldered on, because when I do it myself.... ties are flying....
  • ADVERTISEMENT
  • #1787 21770352
    wieh76
    Level 12  
    @robgold I've noticed today that the dial indicator bars on stations with high signal levels at max are suddenly receding.
    It looks strange. Below is the video:



    Greetings
  • #1788 21770472
    DJCheester
    Level 27  
    dawidkosciesza wrote:
    And have you tried simply typing the address:
    http://evoradio.local


    Unfortunately it does not work by IP yes and by address no

    Browser error: This site can’t be reached – evoradio.local

    So the app won't work for me?
  • #1789 21770530
    robgold
    Level 21  
    >>21770472 Unfortunately phones in hotspot mode very often block /isolate the network and do not broadcast multicast so mDNS gets nothing. The app relies on the name from mDNS because it's a regular browser (trying to open http://evoradio.local) . Will test if something can be done with it e.g. local DNS as we are on a hotspot. At the moment it will not work.

    @wieh76 And that's interesting for you with this clipping.... i'll have to look into it whether it's a bug in the audio library or in the VU code.
  • #1790 21770532
    DJCheester
    Level 27  
    Cool, the important thing is that it works under a normal browser.

    Best regards...
  • #1791 21770993
    gaborbalint919
    Level 3  
    Hi, I uploaded the latest evo 3.19.48 to the esp32. How can I disable the rgb led on the esp panel??
  • #1792 21771183
    DJCheester
    Level 27  
    The best way is to solder out the 0 ohm resistor the one next to the 😁 diode
    This is what I did.
    Greetings...
  • #1793 21771318
    dawidkosciesza
    Level 8  
    I bought a remote control but it turned out to be in the RC-5 system and not the NEC.
    Question is it possible to change to RC-5 alone? Is it a lot of work and does it involve replacing the IR receiver?
  • #1794 21771326
    ejcon
    Level 15  
    In the new circuits with ESP32S3 N16R8 there is a special jumper to cut and the problem is over .
  • #1795 21771362
    robgold
    Level 21  
    >>21771318 This cannot be easily changed because it jwst written on foot in an interrupt without using any libraries.
  • #1798 21772418
    dawidkosciesza
    Level 8  
    To which pin do we connect the keyboard? And how exactly do we set it up? :D
  • #1800 21772459
    dawidkosciesza
    Level 8  
    I've read all this and I've got it all done. Only I couldn't get it to work, I changed the settings in the code etc. By accident I found the ADC keyboard option in the settings and it finally works :D
📢 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