logo elektroda
logo elektroda
X
logo elektroda

Internet radio and audio file player on ESP32-S3

MAJSTER XXL 221949 2371
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
📢 Listen (AI):
  • #2341 21842953
    dawidkosciesza
    Level 9  
    Anybody have any idea why there is a volume setting in the Majster code that only starts at 3 and ends at 18? The range is up to 21 so why reduce it?
    Also the mute option doesn't work for me, anyone maybe know the reason? Does it only work for the mp3 player?
  • ADVERTISEMENT
  • #2342 21842990
    DJCheester
    Level 27  
    From one volume (I have this) there is an audible jump between levels. And why 18 maybe to avoid overdrive just narrowed down from top and bottom. In code it's very easy to change this to get the full range if you need it.

    Regards...

    Added after 1 [minute]:

    As for the mute I can't remember what it was like, other than that I'm missing two-digit dialing from the remote from the number buttons, and likewise two-digit MP3 dialing from the remote.

    Maybe the author will add these options at some point.

    Regards...
  • #2343 21843306
    Dziwny234
    Level 7  
    And can I have the schematic for this Robgold board please :

    Front and back of a green “ESP32 Web Radio” PCB with labeled footprints for modules and connectors

    or give you the values of the components.

    I found schematics in the attached archives, but of other versions.
    I have one board and would not like to mull something over.
    Greetings.
  • #2344 21843327
    DJCheester
    Level 27  
    There should be an HTML file with a list of the elements in the thermal transfer file. The schematic is missing from the head. It is based on a schematic by colleague Robgold from github.

    Look for the HTML file there is a listing for this project.

    Regards...
  • ADVERTISEMENT
  • #2346 21843336
    Dziwny234
    Level 7  
    Or I'm a gammon, but I can't find it in any way.
    I've searched through Robgold's github zips and thermal transfer zips
    and haven't found it. There is only the schematic for your first version,
    but it does not fit at all.
    Can I ask for this file ?

    Added after 44 [seconds]:

    In the meantime, Ejcon has uploaded a pic.
    Admittedly, it's the version with one encoder,
    but it probably doesn't matter.
    Thanks.
  • #2347 21843355
    slaslo
    Level 18  
    >>21843336
    C1 1nF CONDENSATOR-2.5MM-X-7.5MM Library
    C2 10nF CONDENSATOR-2.5MM-X-7.5MM Library
    C3 100nF CONDENSATOR-2.5MM-X-7.5MM Library
    C4 1nF CONDENSATOR-2.5MM-X-7.5MM Library
    C5 10nF CONDENSATOR-2.5MM-X-7.5MM Library
    C6 100nF CONDENSATOR-2.5MM-X-7.5MM Library
    C7 470uF/6.3V CONDENSATOR-ELECTROLIT-8MM Library
    C8 100nF CONDENSATOR-2.5MM-X-7.5MM Library
    C9 33nF CONDENSATOR-2.5MM-X-7.5MM Library
    C10 33nF CONDENSATOR-2.5MM-X-7.5MM Library
    C11 33nF CONDENSATOR-2.5MM-X-7.5MM Library
    C12 1000uF/16V CONDENSATOR-ELECTROLIT-10.5MM Library
    C13 33nF CONDENSATOR-2.5MM-X-7.5MM Library
    C14 220uF/16V CONDENSATOR-ELEKTROLIT-8MM Library
    C15 100nF CONDENSATOR-2.5MM-X-7.5MM Library
    C16 220uF/16V CONDENSATOR-ELEKTROLIT-8MM Library
    C17 33nF CONDENSATOR-2.5MM-X-7.5MM Library
    C18 100nF CONDENSATOR-2.5MM-X-7.5MM Library
    C19 4.7uF/16V CONDENSATOR-ELECTROLIT-6MM Library
    C20 33nF CONDENSATOR-2.5MM-X-7.5MM Library

    R1 10 REISTOR-10MM Library
    R2 10 REISTOR-10MM Library
    R3 10 REISTOR-10MM Library
    R8 10k REZYSTOR-10MM Library
    R9 220 REZYSTOR-10MM Library
    R12 330 REZYSTOR-10MM Library
  • #2348 21843407
    DJCheester
    Level 27  
    I'll see for myself soon I thought the files were for each version. For now, don't assemble from these. I'll fire up the comp right away then I'll send you the correct list. Best regards...

    Added after 11 [minutes]:

    Hello there is an html file in the folder in the version with two encoders is this one

    Windows Explorer screenshot showing “Radioodbiornik Internetowy ESP32‑S3” files in a Robogold folder

    Greetings ...

    Added after 10 [minutes]:

    I see you have provided a list ;)

    TSOP31238 receiver I will add to this.

    The jumpers you don't need to do are pulled on the top layer.
    The only jumper you need to put on if you want to use with the PAM8403 amplifier is the AMP jumper

    If you have any questions...

    Regards ...
  • #2349 21843558
    ejcon
    Level 16  
    SMALL IMPROVEMENTS TO SDPLAYER ADDED SYTL 8 as pictured
    Device display showing player UI: Artist, Title, Album and MP3 specs 192 kbps, 44.1 kHz, 16 bit

    Added support for rewind and fast forward pause stops playback after pressing ok play resumes playback from stop continues mute on all styles in the setlist menu we can choose which sdplayer styles to display when switching src

    https://github.com/Mario2054/EVO3_MOD2
  • #2350 21843682
    robgold
    Level 23  
    >>21843306 Perhaps that's why you can't find anything for this board on my GitHub because it's not my board ? ;)
    My version of the PCB is the one below:
    PCB render “ESP32 Web Radio” with ESP32‑S3 pin labels, OLED and SD connectors, and a PCM5102A module area

    It is fitted to the printed case (STL files are also made available on GitHub)
    The components with values are on the schematic. By the designators (C1, C2, C3 etc.) you are able to identify each component.
    In addition, I have uploaded the finished BOM (parts list with description) to GitHub https://github.com/dzikakuna/ESP32_radio_evo3/blob/main/BOM/Evo3-BOM_rev1.0.pdf [/url]

    Screenshot of the “ESP32 Radio Evo3” BOM table listing parts, values, and supplier links.


    Of course parts like OLEDs, encoders can also be ordered from Ali.... i've thrown in links to domestic suppliers if anyone wants to have them at home fairly quickly.
  • #2351 21843694
    Dziwny234
    Level 7  
    Thank you all for the comprehensive information :)
  • #2352 21843724
    pipikupi1979
    Level 10  
    Hello

    I wanted to ask about the possibility of swapping functions for the ADC keypad my chassis unfortunately doesn't have a numeric keypad so I rather don't need the functions of the numeric keys I'm more interested in e.g. timer off or the operation of channels and banks i.e. channel up channel down and bank up and bank down. In the words of my colleague Robgold from a few posts ago this keypad works very nicely for me for 16 keys. For my rafia I chose a star keyboard layout because in my opinion it is then easier to have control of resistor drift whether by temperature or normal component ageing as it only works with one component each time hence it is very easy to locate the "culprit" when something stops working. If posting a video on this forum is not welcome then please let me know and then I will remove it immediately. Regards



  • #2353 21843769
    hevet
    Level 18  
    >>21840458 strange, I've been listening on "3" so far, on the new version I have to set 10-11 to have the same volume. Also on github someone wrote about it being much quieter. Generally a lot of changes recently in the library.
  • #2354 21843839
    DJCheester
    Level 27  
    >>21843694

    Hi the tiles are my creation as Robgold wrote he has his official one on Github.

    My version coincides 99% with the original only it's on through-hole components and goldpinned modules (I've had my years and can't see the little crumbs).

    If you don't know something, I can help.
    The board was made based on the first version of the schematic and the radio about a year ago.

    The only thing not on the PCB is the GPIO9 output for the keyboard.

    Not many people have asked about it so far, and GPIO pins 16 and 17 for LED standby type tasks. One of these is output for two encoders.

    Regards...
  • ADVERTISEMENT
  • #2355 21843961
    robgold
    Level 23  
    >>21843724 In the ADC settings, you can assign yourself values. In the latest version, I have added all the remote control keys, i.e. also the arrow keys, which were missing on the ADC keyboard, and made some changes to the operation.

    Additionally, change the main pull-up resistor from 100k to 22-24k and add as C8 marked*C8 on the PCB 100nF as an integration filter on the ADC input.

    @hevet with this volume I don't see a difference but I always do the setup step on 21 or 42 at startup anyway. On the other hand I see two differences:
    VU on many stations tends to max out. As a result, I have definitely solved this problem of the indicators returning/rebounding to zero - which used to happen on some stations. On the other hand, this "clipping" is annoying.

    I have the impression that the new library causes the DSP to lag terribly. In addition, there are functions which I have done myself before, i.e. fade-in, fade-out when changing stations. It looks like Wolle has reviewed the code of Evo and the code of other yoRadio colleagues :) Adds things that people have previously added themselves "on foot"

    In the latest version I see that there will be spectrum analysis.
  • #2356 21844062
    pipikupi1979
    Level 10  
    In Evo 3.19.70 I have these keyboard configuration options it was from a bin file loaded. I made my keyboard in star and I have pull-up 10k and common resistor 100om on input to go out around 0.1v with first button because from my own experience I found out that below 0.1V and above 3.1V it is very different with linearity of ADC on ESP and 100n to ground on pin 9
    Screenshot of a table of keyboard thresholds: keyboardButtonThreshold entries with numeric values
  • #2357 21844098
    DJCheester
    Level 27  
    robgold wrote:
    In the latest version I see that there will be a spectrum analysis.


    Hi Robgold can you elaborate on the thought ? Is it the same as a spectrum analyser ? Like or similar to the one used by colleague Ejcon ?

    Greetings....
  • #2358 21844161
    robgold
    Level 23  
    >>21844062 The latest one means the one that is with me in development 3.20.01. Such a mental shortcut. In 3.19.70 there is not yet this ADC configuration :)

    @DJCheester It looks like Wolle (the library developer) is working on something in this area. We'll see how it comes out, because so far there is audio recording to WAV file officially supported by the library.
  • ADVERTISEMENT
  • #2359 21844183
    DJCheester
    Level 27  
    robgold wrote:
    We'll see how it goes, because so far there is audio recording to WAV file officially supported by the library


    Mayster has a capture to Mp3 that would be better if we are already going in that direction.

    Greetings...
  • #2360 21844321
    MAJSTER XXL
    Level 29  
    DJCheester wrote:
    What about the mute I can't remember what it was like, besides I'm missing two-digit dialing from the remote from the number buttons, and likewise two-digit MP3 dialing.


    Here I have to add that I have free numeric keypad dialling for radio stations, folders and files in the file player, this has been active in my v3 for a long time. Unfortunately I don't have the time to deal with this topic, but I listen to my radio every day and I don't see the need to add something else, the CPU already has something to do anyway, and supposedly it was only supposed to be suitable for the fridge....
    It's nice that we managed to get the topic going first on the electrode, then it has already found its way to social media, where there is also a lot of interest and many people have gone their way. I'm personally very pleased that the topic is very popular.
  • #2362 21844543
    pipikupi1979
    Level 10  
    >>21844161 Super generally I prefer to stay on the original version of the code without my own modifications because updates are simpler so know thanks a lot you are going towards my radio. Or maybe you can let the secret out and tell us more what we can expect from the upcoming version ?
  • #2363 21844560
    robgold
    Level 23  
    >>21844543 What do you mean when you write "original" version of the code ? Because as far as I can see you have Evo uploaded in this tuner.

    The most important change for 3.20.xx is to work on the new audio library where the equalizer adjustment range changes from -12 to +12dB and I added balance adjustment by the way. I've also thrown in those new VU indicators as screenMode 5 and the aforementioned support for "arrows" via the ADC keyboard because I need it for the conversion I'm doing.

    Plus a few cool features but I won't give away for now. Perhaps I will upload something already at the weekend.
  • #2364 21845304
    pipikupi1979
    Level 10  
    >>21844560 yes I have pure Evo3 software.
    I have a question about this pin 17 which was intended to support the stand by diode and now there is also an ir diode on this pin, so if I wanted to use this pin for a relay (generally I do not plan to do this in the near future when my Harman Kardon set works "the other way", that is, the amp fires the power supply to other segments of the set) but who knows what will happen so this is a purely hypothetical question. Regards
  • #2365 21845321
    supsak
    Level 12  
    Hi colleagues, this is my project of the "Robgold radio" with a lot of help from "DJCheester" in the housing of the car radio
    s dvuma encoder

    Open car radio housing with green-lit display and visible internal electronics
    Open car radio case with circuit boards and a green display, on a table next to bubble wrap
    Car stereo on a stool with a backlit display reading “Bohema Radio” and two control knobs
  • #2368 21845329
    DJCheester
    Level 27  
    Another happy radio owner 😀
    I only helped with the commissioning from my PCB.
    Tributes go to the developer of the software i.e. Robgold.

    Regards...
  • #2369 21845500
    gulson
    System Administrator
    @robgold request to send your details to the Parcel Machine, I'll have a small thank you. Thank you!
  • #2370 21845560
    robgold
    Level 23  
    >>21845304 This was the assumption at the beginning but, as we know, assumptions change over the life of a project. This was also the case with the standby LED. In the code itself, the IR (LED) and standby LED are separated from each other even though they are now assigned to one GPIO pin.

    #define STANDBY_LED 17 // LED to indicate standby mode
    #define IR_LED 17 // IR receiver activity LED

    Now in the new software I have made the Standby LED behave like the one in Denon's DNP streamers or Marantz. It flashes during startup, goes off when we get a connection and play a station, lights up when we are in Standby mode. In addition, it flashes quickly when the radio fails to connect to the WiFi network. Finally, the radio can be used without the OLED display, so we have some information about what the ESP is doing when it is powered up before the web server "gets up".

    @DJCheester Thanks for the kind words. In fact it was @MAJSTER XXL who started it all. he "woke up" in me again the desire to get back to building internet radio. Earlier attempts on the raspberryPi were successful but the start-up time of such a radio was far from what we have in Evo. And the greatest value for me is how much I remembered or learned from programming in C. As a flesh and blood electronics technician, however, hardware has always been closer to me than software.

    I recommend everyone to do an exercise like this, jump into someone else's code (which is the hardest part) and then rebuild it to your image/expectation. Choc basically everything in Evo has been rebuilt ;) It's also my first public project so it's all the more satisfying when I see you all enjoying it.

    @supsak Interesting concept. Basically in such a car radio we have everything such a radio needs on the panel, buttons, knobs, space for the display. I'll keep a little secret and say that you should be all the more interested in the latest version 3.20.0x which I'll upload to GitHub today or during the week.

    @gulson Thank you. I'll get back to you on priv.
📢 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