logo elektroda
logo elektroda
X
logo elektroda

Internet radio and audio file player on ESP32-S3

MAJSTER XXL 149058 1538
ADVERTISEMENT
This content has been translated flag-pl » flag-en View the original version here
📢 Listen (AI):
  • #1441 21735542
    DJCheester
    Level 26  
    From Robgold's Github you download the swap files and swap he in the original library folder in the SRC directory. In my case it works after swapping.

    Do you already have the libesp_netif and liblwip files swapped ?

    Greetings ...
  • ADVERTISEMENT
  • #1442 21735816
    Jarosław 1808
    Level 11  
    Thanks 👍 for your help.
    Everything won beautifully only stations from bank 16 basically can't be listened to terribly cuts despite super wifi signal.
    Any ideas?
  • #1443 21735835
    DJCheester
    Level 26  
    There are FLAC streams in bank 16

    DJCheester wrote:
    The libesp_netif and liblwip files you have already swapped ?


    I wrote above the question if the colleague has swapped these files ?

    They are for FLAC playback, the FLAC streams get cut on the original ones.

    Greetings ...
  • ADVERTISEMENT
  • #1444 21735865
    Jarosław 1808
    Level 11  
    Hello.
    Yes I have replaced the files.
  • #1445 21735868
    DJCheester
    Level 26  
    But in the right place you substituted ?

    C:\Users\user\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.4-2f7dcd86-v1\esp32s3\lib

    These you should replace here.

    Only instead of user is your computer name ?

    It plays fine with me after this swap.

    Regards....
  • #1446 21736084
    Jarosław 1808
    Level 11  
    Thanks a lot for the info I'll check it out tonight and let you know how it went for me.
  • #1447 21736486
    robgold
    Level 21  
    Welcome,

    i have uploaded to GitHub Dzikakuna version Evo 3.19.19
    Link

    What's new ?
    - improved bitrate reading for stations where the bitrate is calculated by the library (so-called estimated bitrate)
    - in displayMode 4 I added such a mini logo with information about the codec and bitrate
    - in the menu for displaying the list of stations, quick navigation has been added.
    Now, pressing the right and left arrows jumps by 5 stations. The up/down arrows switch by +/- one station as before.
    - the function of switching the radio on/off from the remote control, so called POWER OFF/ON, has appeared.
    In this mode, under the rcCmdRed button (eventually there will be a dedicated code rcCmdPwr) Pressing the button once, the radio goes into Standby mode, the ESP32 goes into light sleep mode minimising current consumption (on a mini USB meter it is 0.00mA). To wake up the radio press the rcCmdRed button (red handset on the RC-406) 2x at an interval of less than 0.5sec. The first pulse wakes up the ESP32 and the second pulse is only read correctly in the interrupts and the button code is checked. If the code is correct, the radio displays POWER ON and then performs a reset and starts. If the code is wrong the radio immediately goes to sleep without showing anything on the display. Eventually this will be linked to a standby LED and a transistor to cut off the card, display, PCMa, possibly other peripherals.

    ESP32 display showing Radio Linn Mix1 station and Joe Farnsworth track playing.
  • #1449 21736605
    DJCheester
    Level 26  
    Very good that there is a standby, it will certainly be useful for my final version of the radio in the Schneider tuner housing.

    I am already sitting down to upload the new version.

    This button you used for standby is it new - added to the list ? Or currently already in use ?

    Greetings ...
  • #1451 21736739
    robgold
    Level 21  
    @hevet This is the visualisation I came up with, The "cathode ray tube" animation can be turned off in the prePowerOff function.

    @DJCheester the "powerOff" function is assigned the "red handset" button from the Kenwood remote control.

    I've been browsing the remote control market a bit in general, what could be a better fit at little cost. I found these two interesting remotes:
    https://sklep.ferguson.pl/pl/p/Pilot-do-radia-i100s/2647
    https://sklep.ferguson.pl/pl/p/Pilot-do-radia-REGENT-i500s/2789
  • #1452 21736772
    DJCheester
    Level 26  
    This is how I fixed the button (I have a different remote so I had to change the codes for my remote)

    Cool this TV on standby ;)

    Greetings ....
  • #1453 21736776
    hevet
    Level 17  
    No, well I won't turn it off, I like it 😀 .
  • ADVERTISEMENT
  • #1454 21738396
    MAJSTER XXL
    Level 29  
    My colleague @hevet dropped me a prepared library with support for Polish characters in the FreeSans12pt7b font for testing. I've thrown this into my v3 version for now in the file player and the effect is as in the screens below. I also added display of the wav format. (Hardly anyone uses this these days). I took the liberty of uploading this file with Polish characters to my repo on github, thank you Fellow @hevet .

    LCD screen displaying WAV file information with correct Polish character support LCD display with audio player showing WAV file with Polish characters Audio player screen showing WAV file with Polish characters and audio details Color display showing an audio player with Polish characters and track metadata Player screen with MP3 file details and Polish characters in FreeSans12pt7b font Player screen with MP3 file details and Polish characters in FreeSans12pt7b font
  • ADVERTISEMENT
  • #1456 21740706
    DJCheester
    Level 26  
    Hello, the radio is developing beautifully, I mean both projects of kol. Robgold as well as the version in colour of kol. MajstraXXL ;)
    As I have been using the Robgold version of the radio for a long time, I wanted to put together a second receiver, this time in colour ;)

    I designed a PCB for the connections of coll. MajstraXXL according to the schematic he provides on his Github.
    The board is designed in my style i.e. on modules and in a through-hole version.

    PCB looks like this ;)

    3D render of a green PCB labeled for ESP32-S3, PCM5102A, and PAM8403 module installation
    3D render of a green single-sided PCB with through-holes and circuit traces

    And this is how the 3D render looks ;)

    3D render of a PCB with ESP32-S3, PCM5102A and optional PAM8403 modules
    Green PCB with visible traces and mounting holes, 3D rendering

    The PCB design includes the necessary modules i.e. ESP32-S3, PCM5102A, SD module, and optional PAM8403 amplifier module.

    Once the prototype version is up and running I will make the project files and gerber available to others ;)

    Regards ...

    Added after 6 [minutes]:

    I have already made prototypes

    Two green PCBs with copper traces placed side by side on a patterned carpet I have already made the prototypes

    Greetings....

    Added after 3 [minutes]:

    Aha the issue of the display.

    Is this the one ?

    https://pl.aliexpress.com/item/1005003033844928.html

    I need to purchase 😀

    Greetings...
  • #1457 21741768
    QALAB
    Level 11  
    I would like to ask the author and my friends who understand this subject, to which offset address should I load the ESP32_radio_evo3.19.17.bin file with the Flash loader for internet radio? I tried 0x0, it loads but the screen does not appear. When I compiled it with Arduino IDE 2.3.4 ESP32 Core 3.3.2 without any errors and uploaded it to the ESP32 S3 Module, I can see it as EVO-Radio from WiFi, but the screen remains black. I have an SSD1322 display, and the display works with yoRadio. My display connection pins are SCK-Pin38 SDA-Pin39 RST-Pin41 DC-Pin40 CS-Pin42, I kindly ask for your help in this matter. Best regards. My English is very bad, please excuse me.
    Arduino IDE with ESP32 project open and Wi-Fi networks list visible
  • #1458 21741972
    DJCheester
    Level 26  
    The pins are correct, if it's an OLED display 3.12 whole (that's the one I have) then there are several reasons.

    1. The 5v power supply and gnd are they connected to the display ?
    2. Is there the required voltage on the 5v pin ?
    3. Is the SPI interface set up correctly.

    These two resistors on the display should be soldered like this ?

    Close-up of OLED display back showing ribbon connector and resistors R9 and R10

    If everything is as it should be and it doesn't work then from attaching the photo maybe we can find out what is wrong ?

    Greetings ...

    Added after 51 [minutes]:

    Gentlemen someone once wrote (or it seemed to me)

    I've been thinking and thinking - I want to order an LCD display.

    Foreman XXL sent me a link to an LCD where he was buying

    https://sklep.msalamon.pl/produkt/wyswietlacz-tft-lcd-35%e2%80%b3-ili9488-320x480/

    There is an SD card reader on this display.

    Has anyone run it with our radio ?

    Because if so and it works I will add an optional JST connector in the PCB design for the SD_CS, SD_MOSI, SD_MISO, SD_SCK pins ?

    Then it will be possible to dispense with the microSD card module.

    Oh and a final issue MAJSTER is 3.5 inches in size, to this size in width I will adapt the board.

    There is also a 4 inch LCD

    https://pl.aliexpress.com/item/1005003033844928.html

    Will this larger one also work ?

    Greetings ...

    Added after 1 [hour] 40 [minutes]:

    I changed the PCB so that the size between the holes is 92mm. I found the dimensions of the 3.5 inch module on the internet.

    MajsterXXL just confirm to me how you can the dimension between the holes on the display board ??

    Greetings ...

    Added after 8 [minutes]:

    This is what it looks like now

    PCB layout with ESP32-S3, PAM8403 audio amp, and 98.04 x 87.25 mm dimensions

    And the dimensions of 3.5 inches (gleaned from the net)

    Dimension diagram of a 3.5-inch LCD module with hole and connector positions marked.

    Greetings...
  • #1459 21743155
    DJCheester
    Level 26  
    hevet wrote:
    @MAJSTER XXL I've already embraced, got the card working on the display, but had to remove three resistors on the lines from the card.


    @hevet does this LCD reader work stably after removing these resistors ?

    Greetings ...
  • #1460 21743357
    hevet
    Level 17  
    For the time I used it, it worked without a problem, now I no longer have the reader, I use SPIFFS memory.
  • #1461 21743602
    DJCheester
    Level 26  
    Well, I have improved the design - adding a connector for an SD card placed on the display.

    PCB design with ESP32-S3, SD card connector, LCD, and audio output components

    Tomorrow I'll check the connections to make sure I didn't screw up when making the PCB and make a gerber.

    Greetings ...

    Added after 2 [hours] 35 [minutes]:

    Well done ;)

    Checked connections ;)

    I added the numbers next to the JST connectors corresponding to the display pins.

    This is how it looks ;)

    Blue ESP32 PCB design labeled with SD slot and LCD outputs on wood surface
    Single-sided blue PCB with light blue tracks and multiple through-holes for component mounting

    I also bought the missing components today - I'm assembling the PCB tomorrow, I have the modules, the display from Salamon is already on its way to me.

    So there will be a launch soon, and if it goes well I will post a gerber for those who are interested.

    Greetings ...
  • #1462 21743781
    wieh76
    Level 12  
    I have assembled this internet radio, it plays beautifully. I used the software from robgold version 3.18.21.
    Today I wanted to upload the newer version 3.19 so I installed the recommended libraries via robgold. I just can't add the Audio_i2s library from github because the error shown in the picture appears. Is this library added differently?
    Library install error: multiple files found in ZIP file top level directory
  • #1463 21743794
    DJCheester
    Level 26  
    The libraries are in the user name userDocumentsArduinolibraries and there is a directory "ESP32-audioI@S-master" where you need to replace the SRC content. You download the corrected files from kol.Robgold's Github.

    Regards...
  • #1464 21743860
    wieh76
    Level 12  
    DJCheester thanks for the help. Soft uploaded and working.
    By the way a big thanks to Robgold and Majster XXL for their work.
    Below the radio during testing:

    Internet radio player with display showing stream details and open electronics

    Regards
  • #1465 21743925
    QALAB
    Level 11  
    Big thanks to Robgold and Majster XXL for their work my Evo Radio.



  • #1466 21744223
    robgold
    Level 21  
    >>21743925 Super that you managed to get it working. Looking at the wires and display colours isn't that your FB post ?
    It would be nice if you would provide a link to the authors of this radio, to this forum and correct that this is not yoRadio.

    Two electronic displays labeled Mega Radio with VU meter graphics

    Added after 2 [minutes]:

    @wieh76 I am impressed with the case. Beautiful workmanship. Will you upload any details ?
  • #1467 21744493
    QALAB
    Level 11  
    Thank you for the project. Since it looks like a radio, I shared it on that forum and added your Github link.
  • #1468 21744617
    wieh76
    Level 12  
    @robgold I would like to make the case like this😀. Case bought from modushop.co.uk specifically Link . Front panel + plexiglass for the holes for the display and IR receiver made on cnc also in this shop (they also do custom machining). I drew the panel in eagle including the lettering (which they burn out with a laser) and emailed it to them. Cost approx. 365 PLN (enclosure + processing) is a bit painful, but if it is to look good, it is worth paying. As you can see with me there are two encoders because originally there was supposed to be a soft XXL from the master, but he offered me yours and so it stayed. The second one will now be for decoration😀. A couple of pictures of my creations:
    Black electronics enclosure with visible internal circuitry and wiring.
    Interior view of electronic device housing with wires and RCA connectors
    Close-up of black audio device front panel with encoder and VOL/MODE label
    Corner of a black electronic device case with encoder and visible wiring.
    Interior of a hand-built electronic device with PCB, wiring, and components

    Greetings
  • #1469 21744650
    Jarosław 1808
    Level 11  
    robgold wrote:
    >>21743925 Super that it worked. Looking at the wires and display colours isn't that your FB post ?
    It would be nice if you would provide a link to the authors of this radio, to this forum and correct that this is not yoRadio.

    Two electronic displays labeled Mega Radio with VU meter graphics

    Added after 2 [minutes]:

    @wieh76 I am impressed with the case. Beautiful workmanship. Will you upload any details ?


    I've already done it so there's no doubt who the author is 🀗👍
  • #1470 21744723
    robgold
    Level 21  
    @wieh76 It came out very nicely. I for one am a believer that it's better to have something you enjoy than to save up and then be upset that it's not. It came out SUPER. I'd get that second encoder in the software and make it into two: Volume on one, stations and banks on the other. I wonder if I should go back to such an option in the Evo so that someone who wants a version with two decoders could configure it that way.

    Are you planning to share the file for the CNC front end ? Question how is the display mounted/glued ?
    What do you have a small arduino for in this project ?
📢 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