logo elektroda
logo elektroda
X
logo elektroda

Internet radio and audio file player on ESP32-S3

MAJSTER XXL 113592 1263
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
📢 Listen (AI):
  • #1261 21614351
    lanq98
    Level 1  
    
    // U8G2_SSD1322_NHD_256X64_F_4W_HW_SPI u8g2(U8G2_R2, /* cs=*/CS_OLED, /* dc=*/DC_OLED, /* reset=*/RESET_OLED);  // Hardware SPI 3.12inch OLED
    U8G2_SH1122_256X64_F_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ CS_OLED, /* dc=*/ DC_OLED, /* reset=*/ RESET_OLED);      // Hardware SPI  2.08inch OLED
    //U8G2_SSD1363_256X128_F_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/CS_OLED, /* dc=*/DC_OLED, /* reset=*/RESET_OLED);  // Hardware SPI 3.12inch OLED
    
    .

    I am using sh1122 to control the OLED 2.08 screen and the code has been set to U8G2_SH1122. What is the cause of the image distortion after uploading the software?
    Please advise.
    Greetings.
  • ADVERTISEMENT
  • #1262 21615090
    hevet
    Level 16  
    I tested on Platformio library version 54.03.20 and it seems that FLAC plays correctly.

    But in general I guess these newer libraries are more demanding, in mode=1, the seconds in the clock every which way jump by two, in the older version 51.03.07, this does not occur, so I went back to the older version. In the case of Yoradio, it's said to run worse in the pilot on newer kernel versions.
  • ADVERTISEMENT
  • #1263 21615320
    Lechuuu
    Level 13  
    @hevet I've also noticed that with the new audioI2S library version 3.4.0 our radio freezes - e.g. VU freezes terribly. And regarding Yo, on core 2.x the remote control handling works perfectly, but on core 3.x the lag is terrible. Apparently espressif changed something in the timers in version 3.x, and the IRremoteESP8266 library is not updated to version 3.x.
  • #1264 21615375
    hevet
    Level 16  
    From probably version 3.3 onwards, PSRAM is required, it is possible that this needs to be implemented in code somehow.
📢 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