logo elektroda
logo elektroda
X
logo elektroda

Internet radio and audio file player on ESP32-S3

MAJSTER XXL 248331 2615
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
📢 Listen (AI):
  • #2611 21879926
    DJCheester
    Level 27  
    Theoretically as you write practically not necessarily.

    I have the grounds connected on the PCB and without the display the radio on the board plays perfectly zero hum noise interference.

    When I connect the OLED there is noise and crackling, the inverter is to blame.

    When I supply power to the display from another source, e.g. a second 5v charger, there is silence.

    I am thinking of using this to power the display.

    https://allegro.pl/oferta/przetwornica-separu...-dc-b0505s-1wr3-vout-5v-200ma-hlk-17476660801

    If it works as two power supplies it will be beautiful.

    I've already ordered one and we'll see how it arrives.

    Greetings....
  • ADVERTISEMENT
  • #2612 21880034
    kula350
    Level 12  
    I had the same problem with noise and hum. I separated the analogue grounds as I drew (poorly drawn). And all the noise is silent. Power supply one, feeds everything. 8.4V, split into 5v, digital track and the other 5v, analogue track, but the amplifier powered from 8.4v. Before voltage stabilisers electrolytes for digital 470uF, for analogue and amplifier 1000uF. And it plays ok, I don't hear anything buzzing. I mention that it plays in the harsh conditions of my wife's kitchen. And it's a terribly difficult test. But don't tell my wife that. Besides, I'm not going to shoot from it. The second one from @MAJSTER XXL has no problems with buzzing. So far it's playing on a spider and a power supply I have on hand. Quietly. And one more thing. Amplifiers of this type, below, have no buzz or noise problem. But it was too big for my wife's radio. When I plugged into it it was quiet. On the small analogue amp there was a problem. When I used the above solutions with the power supply, the hum on the analog went silent. I always try to de-noise what is noisy first. But what am I, a poor old beetle, going to ramble on here. Do what you want, but don't cry afterwards. ;)
    Internet radio and audio file player on ESP32-S3
    I would add that if I have interference, I isolate this device by connecting a twisted pair, lu UTP, packet cord, in such a way that I connect one wire from each pair together, the other as a signal wire. I connect the combined wires to the ground in the power supply. This even passes the test for further preamplifier-amplifier connections as signal wires. I used to connect my sound system this way.
  • ADVERTISEMENT
  • #2613 21881136
    robgold
    Level 23  
    >>21880034 Theories about correct ground routing I "buy" and agree with 100%. I don't buy the theory about the UTP cable because there is no differential signal from which to eliminate the "common" interference

    @ryba_82 Don't you have OLED flickering after adding the beads ? In my case, this operation caused the inverter to run at the end of its strength.
    Generally the source of the problems is the inverter (non-original) to boost the voltage for the display. Replacing it with an original from Microchip and changing the supply from 3.3 to 5V solves a lot of the problems. The Chinese replacement (what's on the PCB) can't handle a 5V power supply (I slaughtered one). The PCB layout is for these displays drawn "at the knee". The power supply to the inverter is drawn all the way through the PCB and at the end there is not even one capacitor at the inverter input. There is a second version of the PCB for these displays and the layout there is much better done.

    FMT signal is a design mistake. It was supposed to be XSMT (soft mute) so that the DAC could be muted via GPIO. Fortunately there is a series resistor that we don't mount so no ground loop will happen there. The SCK has a short enough connection that there won't be any drop and noise generation there either.

    SPI itself does not generate such fast signals and 10OHm resistors are sufficient. The easiest way to check this is to unplug the 14V inverter from the OLED and apply an external 12V-20V supply to this pin. There will be complete silence.
  • ADVERTISEMENT
  • #2614 21881470
    kula350
    Level 12  
    Interestingly, this "theory" worked for me and I have no problem with it. It runs smoothly.
  • #2615 21881513
    DJCheester
    Level 27  
    robgold wrote:
    Power supply to the inverter pulled all the way through the PCB and at the end there is not even one capacitor at the inverter input.


    And have you tried adding such a capacitor directly on the inverter legs ?

    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.
Generated by the language model.
ADVERTISEMENT