logo elektroda
logo elektroda
X
logo elektroda

Internet radio and audio file player on ESP32-S3

MAJSTER XXL 172983 1951
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
📢 Listen (AI):
  • #1921 21778341
    DJCheester
    Level 27  
    Well, that's a price you put me out 😭
  • ADVERTISEMENT
  • #1922 21778362
    Bhpjean
    Level 13  
    DJCheester wrote:
    Well that's a price you put out on me 😭

    I've already put a few of these on the Sonya ...Green VFD PCB Noritake CU20029-UW1J with electronic components and label

    They are not cheap either ... But they look sensational .
  • ADVERTISEMENT
  • #1923 21778382
    simw
    Level 27  
    Bhpjean wrote:
    They are not cheap either .... But they look sensational .

    Echo I remember the times when there were such on allegro for 20 zł each. :)
    Still have a couple of pieces left at home for "future projects", but may sell them in a few years so there's :)
    Be interested in these:
    https://pl.aliexpress.com/item/1005010404082344.html
    https://pl.aliexpress.com/item/1005008341537543.html
    Simple to control, but a few voltages are needed, a little odd resolution, but with in radio design this is not a problem.
    There are ready-made "motherboards" that you can order yourself o myfriends. The projects are on EasyEDA.
  • #1924 21778393
    Bhpjean
    Level 13  
    simw wrote:
    Bhpjean wrote:
    They are not cheap either .... But they look sensational .

    Echo I remember the times when there were such on allegro for 20 zł each. :)
    Still have a couple of pieces left at home for "future projects", but may sell them in a few years so there's :)
    Be interested in these:
    https://pl.aliexpress.com/item/1005010404082344.html
    Simple to control, but a few voltages are needed, a little odd resolution, but with in radio design this is not a problem.
    There are ready-made "motherboards" that you can order yourself o myfriends. The projects are on EasyEDA.



    What do you get out of the lamp itself? for this you need a controller which will take care of the control and it is not likely to be easy :-)

    Voltages are not a problem ...


    here you have a similar lamp with driver :-) but also the price is different

    https://pl.aliexpress.com/item/1005008996053458.html?
  • ADVERTISEMENT
  • #1925 21778404
    simw
    Level 27  
    Bhpjean wrote:
    What do you get out of the lamp itself ??

    Like the lamp itself, after all this COG is :) SPI 3-wire control, libraries available for Arduino
    It is known that this is not a finished product, but the control is less than 50 zł/piece with PCB production
    It is known that you need to solder, but who does not know how to solder :)

    Bhpjean wrote:
    here you have a similar lamp with driver

    No, this is a completely different "lamp".

    Here it is with a driver, actually with a set of voltages ready to connect a microcontroller:
    https://pl.aliexpress.com/item/1005008341537543.html
    Edit, to be accurate, this auction is unfortunately rubbish, it's still just the "COG lamp" itself.
  • #1926 21778413
    Bhpjean
    Level 13  
    simw wrote:
    Bhpjean wrote:
    What do you get from the lamp itself ??

    Like the lamp itself, after all this COG is :) SPI 3-wire control, libraries available for Arduino
    It is known, that this is not a finished product, but the control is less than 50 zł/piece with PCB production
    It is known that you need to solder, but who does not know how to solder :)

    Bhpjean wrote:
    here you have a similar lamp with driver

    No, this is a completely different "lamp".

    Here it is with driver, actually with a set of voltages ready to connect the microcontroller:
    https://pl.aliexpress.com/item/1005008341537543.html
    Edit, to be precise, on this auction unfortunately there is a rubbish, it is still just the "COG lamp" itself.



    Well you have pleasantly surprised me mate ...
    i did not notice ...


    In that case you will have to throw :-) into the workshop
  • #1927 21778417
    robgold
    Level 22  
    >>21778413 Then why don't you join us here permanently and we'll work something out together with this VFD :)
  • #1928 21778423
    simw
    Level 27  
    robgold wrote:
    Then maybe you'll join us here permanently and we'll work something out together with this VFD

    A bit like between a vodka and a snack :) but here it's unlikely anything more needs to be done, details coming soon :)
    Code: C / C++
    Log in, to see the code


    Rendered PCB with USB-C, audio jacks, and STM32 microcontroller module

    PCB render with ESP32, DAC PCM5102A, connectors and buttons
  • #1930 21778435
    simw
    Level 27  
    robgold wrote:
    This is your design

    The base board for the VFD is a development of a design by the Chinese who sell these VFDs - EEI Technology ELEC Studio. The design is available on EasyEDA, while the hardware with ESP32 and PCM for the controller is mine.
    I will try to put it all together soon to describe, with details.
  • #1931 21778440
    robgold
    Level 22  
    >>21778435 Looks very interesting choc with this impedance matching of the paths to PCM is a bit of an exaggeration. Looking forward to it, unless you have already managed to run something on that VFD. What I'm curious about is how these inverters work and won't they be heard in the audio ? OLEDs both 2.08 and 3.12 can be heard unfortunately.
  • #1932 21778447
    simw
    Level 27  
    robgold wrote:
    impedance matching of paths to PCM

    I won't deny :) These were just trials with KiCad in drawing differential paths.
    Did it work, yes I already have it working with version 18 of the player.
    In further attempts, I was only hampered by the constant modification of the softwords to fit those missing pixels.
    I am of the opinion that some kind of structure would be useful, a template that would describe the xy position of specific data on the display, so that the display could be easily modified for different displays. This admittedly breaks the current design, as I understand it, but for the future I'm all for it. I've even approached this a couple of times, but unfortunately the structure of the project has held me back a lot in order to grasp it and put it together meaningfully.
  • #1933 21778449
    robgold
    Level 22  
    @simw The truth is that you'd have to sit down and tidy up the code a bit, although it was never developed with the idea that it would be like yoRadio, that you'd arrange it all by display as you wished. At first it was a bit of a hassle to refresh it all efficiently. Now it would probably be easier to do, although on the other hand the Evo supports one display size and with these VFDs there are only 14 pixels missing from what I understand, so in mode4 you raise the VU meter up and that's it. One line in the definitions because this is already set globally.
  • #1934 21778770
    Bhpjean
    Level 13  
    simw wrote:
    robgold wrote:
    Then why don't you join us here permanently and we'll work something out together with this VFD

    A bit like between a vodka and a snack , but here rather nothing more needs to be done, details coming soon



    Exactly... Drink up, I won't spoil the taste of the snack :-)
  • #1935 21778886
    kula350
    Level 10  
    Hello and greetings. I'm now getting the handles together for the radio. The display has just arrived. How is the display supposed to be set, on 3SPI or 4SPI, as I have on 80xx? 3.12 OLED display with jumpers R5–R8 and BS0–BS2 highlighted for interface setup
  • #1937 21779036
    kula350
    Level 10  
    Thanks. I had read in previous posts but wasn't 100% sure. Thanks lovely.
  • #1938 21779086
    DJCheester
    Level 27  
    >>21777347

    Hello ejcon regarding MOD2 does not want to compile

    Code: Text
    Log in, to see the code


    I have the latest commit from Robgold

    The previous version you modified 52 works and this one gives an error can you take a look ?

    Greetings ...
  • #1940 21779267
    DJCheester
    Level 27  
    Ok, no problem, I have your first version for the time being, which means that I understand you have changed something in this first version. Tomorrow morning, time permitting, I'll take a look and let you know.

    Regards....
  • #1942 21779790
    kula350
    Level 10  
    Hello, greetings. Is it possible to read from the CD file of the station bank? How to rig this up. Maybe there was already this on the forum? I've searched but haven't found it. What I mean is to read the bank from the card my favourite stations are on. Is it enough to uncomment it?
    {
    Serial.println("debug SD -> Bank file " + fileName + " already exists.");
    u8g2.setFont(spleen6x12PL);
    //u8g2.drawStr(147, 23, "SD card");
    if (useSD) {u8g2.print("SD Card");} else if (!useSD) {u8g2.print("SPIFFS");}
    u8g2.sendBuffer();
    readSDStations(); // If the bank file exists then we read it ONLY

    Emoji with a suspicious and impatient facial expression
  • #1943 21779818
    DJCheester
    Level 27  
    At Robgold's you can certainly bank one you can put a modified SPIFFS on the sd card or memory stick and the radio won't overwrite it for you, that's how I got my stations. At Majster's it downloads from Github every time. Greetings ...
  • ADVERTISEMENT
  • #1944 21779848
    robgold
    Level 22  
    @kula350 Every single MEMORY BANK if only its file on the SD card (or in SPIFFS memory) exists is read from the SD card (SPIFFS memory). It is only read from GitHub if the bank in question is missing or if the bank file exists it is on the user's government. This is how it works in Evo. If you create 16 banks of your own they will never be overwritten with those from GitHub without your knowledge.

    In the Majster project the banks are downloaded every time from GitHub.
  • #1945 21779857
    MAJSTER XXL
    Level 29  
    robgold wrote:
    In the Major project, the banks are downloaded from GitHub every time.


    And this gives another idea to make a 5th item in the SETTINGS menu (for radio mode, the player will have its settings). I'll make an option to enable / disable the download of stations from github, that is update or not update and then there will be an option to make your lists / modifications of existing ones on the card. Of course you can have your github account and link your banks in the code.
  • #1946 21779859
    DJCheester
    Level 27  
    MAJSTER XXL wrote:
    Of course you can have your account on github and link your banks in the code.


    Your banks would be useful, not everyone has a Github 😁

    I'm in favour 😁

    Greetings...
  • #1948 21779880
    robgold
    Level 22  
    >>21779866 If you have an Evo, this is already implemented in it. You don't have to change anything. The banks do not update themselves.

    Added after 2 [minutes]:

    >>21779857 @MAJSTER XXL comes to mind such a question sometimes.... when will the programming of the new features on such a radio be completed ? ;)
    Because sometimes I ask myself but there is always something to improve, enhance, change.
  • #1950 21779920
    robgold
    Level 22  
    >>21779910 In the sense of loading banks ? On the website you have the menu -> SD/ SPIFSS Explorer there you can add, delete, edit text files both on the SD card and in the SPIFSS memory. If you are using an SD card, you can upload them with a card reader. They are simple txt files, just with the right structure.
📢 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