logo elektroda
logo elektroda
X
logo elektroda

Internet radio and audio file player on ESP32-S3

MAJSTER XXL 123984 1301
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
📢 Listen (AI):
  • #1291 21654977
    MAJSTER XXL
    Level 29  
    A small step forward, for now just the ILI9488 screen + ESP32 S3 dev module + PCM5102A + IR receiver.
    The screen is capacious, size 3.5 inches , so it holds everything. I have a little trouble with it, because I think something is not working on the SPI bus (and there is also a card reader running) and it can crash after some time and there is only white backlight.
    I haven't managed to fire this screen up with some ready-made library for it and I have all the init and control in the main sketch file under the Arduino IDE and there I'm sure I'm getting errors or missing some parameters to send. Maybe someone can throw up some battle tested code to control it?

    https://github.com/sarunia/ESP32_internet_radio_v3



    ESP32 S3 module with ILI9488 display showing internet radio interface 3.5-inch display showing internet radio interface with station and audio info 3.5-inch ILI9488 screen displaying radio track info and audio parameters. .


    3.5-inch color LCD showing internet radio interface with playback data ILI9488 display showing internet radio interface with sound and sensor data .
  • ADVERTISEMENT
  • #1292 21656180
    MAJSTER XXL
    Level 29  
    I've added a calendar card, the layout of the on-screen content is not final and I'll see what else I can add here, there will certainly be no VU metre-style water features, emoticons etc. For me the on-screen content is enough, and I have the radio on my computer desk so I often glance at it. What needs to be improved is the optimisation of the screen control code, but I'll try something next week at the weekend.

    In the meantime, this is how it looks today:



    .

    All code uploaded to github in the link above, for now only operating from the remote control the radio itself in a basic way including switching banks and volume control.
  • ADVERTISEMENT
  • #1293 21656449
    DJCheester
    Level 26  
    Majster and in terms of the MP3 player, will you be modifying anything in the software ?

    I have uploaded your software on one of my radios with my changes and I miss for example the option to save to memory the number of the last song played so that after switching on the player reads from the file and plays from the same song at which it ended.

    Another cool option would be if you could set the play mode like in the old CD players, i.e. normal repeat1 repeat all random

    Greetings....
  • #1295 21656944
    DJCheester
    Level 26  
    Hi I haven't seen anywhere on the subject that anyone has used this, it looks to me like the ESP32S3 leads and power supply have been goldpinned so it should work.

    Alternatively order a PCB in China e.g. from my gerber you have everything connected and checked. This is under one encoder soft mate Robgold and OLED display 3.12 whole.

    Greetings....
  • ADVERTISEMENT
  • #1297 21657118
    DJCheester
    Level 26  
    Well now you have the necessary stuff.

    The radio itself will play with an ESP32S3, a DAC and an OLED display.

    Only you need to compile yourself Robgold's softwares in SPIFFS version and not as SD because I don't see a uSD card reader

    Regards...

    Added after 1 [minute]:

    You can use the USB type C found on the ESP module as a power supply you don't need the power supply of the one on the contact board.

    Well unless you want to plug everything into the contact board.

    Regards...
  • #1298 21657247
    pepepe1
    Level 13  
    A colleague Robgold is making .bin files available on github. I don't know if it's legit, but after uploading the file to the module (Esp flasher) the radio fired up, sees the SD card, saves banks etc.

    Second thing: the display needs to be set up under 4SPI:
    Close-up of a PCB with R5 and R8 resistor positions circled for 4SPI setting. .
  • #1299 21657376
    DJCheester
    Level 26  
    Correct the display as you write and accordingly the pcm module with jumpers underneath the module.

    DAC module with PCM5100/5101/5102 chips and pin headers .

    As for the software in bin format, of course it provides and it works, but a uSD card is required mate amrowek in the pictures of the module that the memory card slot does not have. If he uploads the bin soft the radio will not start without the card.

    In order to run the radio without the card, the user has to recompile the code by replacing the SD card with SPIFFS.

    Regards....
  • ADVERTISEMENT
  • #1300 21657397
    robgold
    Level 20  
    >>21654977 Hey Major,

    autumn is coming I see we are both back on topic :)
    How do you have this display connected did you solder the wires or on the godpins and those contact wires ?
    With me, even with this SSD1322 as I was using the godpins on the "contact wire" there were such situations of loss of communication. Solder this SPI to the display and see if you then have such problems.

    I ordered such an IPS 170x320 ST7789 and I am tempted to convert a new version of the radio under it with a delicate use of colours Link .
  • #1302 21657404
    DJCheester
    Level 26  
    And you will elegantly have operation from the remote control.

    Robgold this colour display is after SCL SDA I wonder how with the refresh rate, it is about uvmeter ?

    Greetings ...

    Added after 10 [minutes]:

    As for the screen in my opinion you have refined the soft for that Oled what you bought, now wanting a colour LCD you have to choose which final soft you will load because Majster fired up the 3.5 inch one and Robgold will combine with 1.9 inch.

    Greetings...
📢 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