ESP32-Radio icon indicating copy to clipboard operation
ESP32-Radio copied to clipboard

Audio Transformer

Open Beppi4U opened this issue 2 years ago • 12 comments

Hi! Are these little audio transformers, on the PCB, connected between Mp3Module and amp or between amp and speaker(so i guessed)?! Happy new year and thanks!

Beppi4U avatar Jan 07 '23 16:01 Beppi4U

Hi Andy, look at the schematic attached, the transformers are between the MP3 Module ( VS_out in the schematic ) and the amplifieer ( PAM in the schematic ). VREF and Pin 2 of the PAM ( solid lines ) must not be connected! You don’t need the resistors, I used them to reduce the level by 50 %, my PAM was too sensitive! Happy New Year and good luck Rainer Von: AndiLübeckGesendet: Samstag, 7. Januar 2023 17:40An: Edzelf/ESP32-RadioCc: SubscribedBetreff: [Edzelf/ESP32-Radio] Audio Transformer (Issue #513) Hi! Are these little audio transformers connected between Mp3Module and amp or between amp and speaker(so i guessed)?!Happy new year and thanks for help!—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***> 

Rainer-G avatar Jan 07 '23 17:01 Rainer-G

Hi Andy, look at the schematic attached, the transformers are between the MP3 Module ( VS_out in the schematic ) and the amplifieer ( PAM in the schematic ). VREF and Pin 2 of the PAM ( solid lines ) must not be connected!

Hello @Rainer-G, where I can find the schematic? There is just a simple list of connections in the ESP32-radio.pdf file. Saying MP3 Module have you meant vs1053? I cannot find there VS_out pin. On the PAM 8403 (link) you mean pin 8 VRF and pin2 PGND? Is it necessary to break the existing connection?

Your assistance is very much appreciated. Cheers Peter

petervflocke avatar Jan 12 '23 10:01 petervflocke

Hi Piotr, the MP3 Module is the VS1053, I attached this extract of my Board layout for Andy:  The VS_Out Pins war named so on my circuit diagram, the VS1053 has a 3,5 mm jack without names, so if you plug in a cable, the ground wire is the Vref and the other two are analog right resp. Left. My PAM8610 also has a similar jack: So, if you have the same configuration and do not want to de-solder the jacks, simply cut a standard 3,5 to 3,5 mm audio cable in the middle and connect the open ends with the transformers as above. Good luckRainer Von: petervflockeGesendet: Donnerstag, 12. Januar 2023 11:48An: Edzelf/ESP32-RadioCc: Rainer-G; MentionBetreff: Re: [Edzelf/ESP32-Radio] Audio Transformer (Issue #513) Hi Andy, look at the schematic attached, the transformers are between the MP3 Module ( VS_out in the schematic ) and the amplifieer ( PAM in the schematic ). VREF and Pin 2 of the PAM ( solid lines ) must not be connected!Hello @Rainer-G, where I can find the schematic? There is just a simple list of connections in the ESP32-radio.pdf file.Saying MP3 Module have you meant vs1053? I cannot find there VS_out pin. On the PAM 8403 (link) you mean pin 8 VRF and pin2 PGND? Is it necessary to break the existing connection?Your assistance is very much appreciated.CheersPiotr—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***> 

Rainer-G avatar Jan 12 '23 12:01 Rainer-G

Hi Rainer, thanks for your quick response. I see you use the PAM8610 not the simple one PAM8403, that clarifies my doubt. You just separated with the transformer audio-out at MP3 with audio-in at the amplifier side, no additional filters or whatsoever.

As you answered via an email, I believe, github removes all attachments, that the reason we do not see any attachments.

Thanks and best regards P.

petervflocke avatar Jan 12 '23 12:01 petervflocke

Hallo! Sorry für die späte Rückmeldung! Ich versuchs mal auf Deutsch auch wenn das etwas gegen die Regeln ist! Ich habe an meinem mp3 modul den 3.5mm Ausgang auf der Rückseite der Platine mit kabeln angezapft! Da hab ich Gnd , linker und rechter Kanal. Meine Frage wäre wie ich die jetzt mit den Transformern verschalten muss?? Der Amp bekomt seine Spannung nicht vom esp32 hängt aber an der gleichen Quelle! Eventuell kommen die BrummStörungen schon vom Netzteil rüber.... Gruß Andi

Beppi4U avatar Jan 14 '23 09:01 Beppi4U

Als je een gescheiden voeding hebt voor de versterker, dan moet de GND van de versterker niet verbinden met de GND van de ESP32, maar met de common van de 3.5 aansluiting. Geen trafo's nodig dus.

Edzelf avatar Jan 14 '23 09:01 Edzelf

Der Amp bekomt seine Spannung nicht vom esp32 hängt aber an der gleichen Quelle! Eventuell kommen die BrummStörungen schon vom Netzteil rüber....

Hi Andi, If you have a common ground (GND) for MP3 and amplifier it does not make IMHO any sense to use transformers. You use them to isolate the grounds. See the documentation capitel "Amplifier and power circuit." there you have two power sources with a separated gnd during operations. The potential distortions may come not only from power supply but also from ESP and mp3.

petervflocke avatar Jan 14 '23 14:01 petervflocke

Just for the sake of clarity regarding grounding the output from the VS1053- see https://learn.sparkfun.com/tutorials/mp3-player-shield-hookup-guide-v15: To quote:

the signals coming from the VS1053 are DC coupled. This means that the alternating-current (AC) audio signals are riding on top of a 1.25 V DC offset.

In spite of the "G" in it's name, GBUF is not ground - in the pin descriptions, the datasheet specifically warns us "Common buffer for headphones, do NOT connect to ground!"

This may not be relevant in this particular case, but may be of value for anyone searching on whether the VS1053 output can be grounded. Rather, isolating transformers or capacitors should be used. I have a VS1053 board of the type commonly available from Internet vendors and have measured the voltage- 1.25V- between the DGND input pin and output jack sleeve, which might be expected to be grounded. The current VS1035 board made by Adafruit has isolating capacitors installed.

dheydeck avatar Jan 14 '23 17:01 dheydeck

Got the Audio Transformers in the Mail....so quick soldering a little board aaaaand! The result is much better than before! Have to reasemble my toaster radio and close holes! Will present a video when its done! Thanks everybody for helping me! Andi

20230117_181932.jpg

20230117_181922.jpg

20230117_181908.jpg

Beppi4U avatar Jan 17 '23 18:01 Beppi4U

I apologize this is off topic but what is the graphics on the display, looks like a equalizer graph?

garbo5005 avatar Jan 26 '23 20:01 garbo5005

Just go for searching ' lotfi spectrum analyzer ' or ' lotfi esp32 radio equalizer ' ....just a few lines of code to add on the original sketch! Greetings Andi

Beppi4U avatar Jan 28 '23 08:01 Beppi4U

@garbo5005: https://github.com/blotfi/ESP32-Radio-with-Spectrum-analyzer

petervflocke avatar Jan 28 '23 09:01 petervflocke