Differential output to Single ended input

i have ordered this product .i let you know the results after using it.

I've been working on an audio setup using an ESP32, a C1339 DAC module, a Class D 5V amplifier, and a 5V SMPS power supply. I tested different power configurations, but I'm facing some issues. When I power everything from the same 5V SMPS, the audio is not hearable at all. However, when I power the ESP32 and DAC from a PC USB while using a separate 5V mobile charger for the amplifier, the audio becomes hearable but introduces a high-frequency hissing noise. My goal is to power everything from a single 5V SMPS while maintaining clear audio. I’d appreciate any insights into why this is happening and any suggestions to eliminate the noise while using a single power source. Thanks in advance!

Please provide a schematic and data sheets for all the components you are using.

1 Like

I hope you can understand it. I am not good with electronics part .

  1. 5v 5amp smps
  2. ESP 32
  3. CJMCU-1334 DAC Module
  4. 5v Class D amplifier

Datasheet

  1. UDA1334A datasheet DAC
  2. ESP 32
  3. PAM8403 Amplifier

ON you diagram, show the names of the pins/terminals that you have the wires connected to.

For the power supply you use +V and -V, you do not connect to the GND pin.

Is the ESP32 set-up to output I2S audio?

Then pins are all the devices are powered by 5v smps .

Esp32 to DAC pins

  1. 25 -> Din
  2. 26 -> LRC( WS )
  3. 27 -> BCLCK

DAC to Amplifier

  1. Lout -> Lin
  2. GND -> GND
  3. Rout -> Rin

They all have common Power supply

Yes, if use Amplifier with different power source it can hear audio clearly . I earlier used it with Max98357 DAC module and tested with CJMCU-1334 DAC it works too.
But cant play it when they are all powered by same power supply.

Have you checked the output of the SMPS, is it 5V?

Did you try pressing the reset button on the ESP?
Do you have while (!Serial) anywhere in your code?

Yes i checked it with multimeter

Yes, nothing pretty much changed

Are you asking about while loop or serial output. in case loop i dont have while loop in my code .For serial, yes i have set in baud rate of 115200.

Do you have this in your code

while (!Serial){ }; 

or something similar?

It will prevent the code from starting when running on an external power supply

Are you using a stereo signal from the ESP?

Will your ESP run ANY program when it is powered by an external supply?

no

Yes

As it gets 5v , it will run

Right now, I'm out of suggestions. I don't see why it will not work on one power supply unless you have a bad connection somewhere.

Are you using a solderless breadboard for any of the connections?

they are all connected loose using wires thats all i havent even soldered it yet

That could be the problem.

i meant using connecter pins and power is shared using bread board .so data and power is connected using jumper cables like male and female header pins


Like this

That should be OK but having the AC power wires near sensitive analog/digital circuits is not a good idea.

ok but moving away the lines didnt solve solve my issue .what should i do .i dont know where the noise is coming from . When connection from DAc to amplifier or Esp32 to dac is removed noise goes .These are my findings till now in single power supply

I thought you said there was no sound when you powered everything from one power supply. Is that still true?

I think you misunderstood my point .I meant i cant hear the audio i am sending. For example if i send a notification tone i cant hear the notification tone. Instead i hear only noise .Something not pleasant to hear. When the device is powered a noise also starts with it i dont know whether it is high or low frequency but not pleasant to hear.
This noise is absent when i power with separate power supply thats what ia m trying to say